Hello,

I found what appears to be an Org bug involving agenda navigation when the
element cache is disabled.

Environment:

   -

   Emacs 30.2 on Windows
   -

   Built-in Org 9.7.11

I can reproduce this in a minimal session, including with emacs -Q.

Steps to reproduce:

   1.

   Start Emacs with emacs -Q
   2.

   Evaluate:
   (setq org-element-use-cache nil)
   3.

   Create or open a simple Org file with a scheduled item, for example:

   #+CATEGORY: SCH

   * Test
   SCHEDULED: <2026-03-24 Tue>
   4.

   Add that file to org-agenda-files
   5.

   Run M-x org-agenda
   6.

   Press a to open the default agenda
   7.

   Run M-x org-agenda-later (or invoke the key bound to it)

Expected result:
The agenda should move to the next day.

Actual result:
An error is signaled. In my fuller testing the error is:

invalid-function org-element-with-disabled-cache

I also found related behavior:

   -

   Calling org-agenda interactively and then selecting commands from the
   dispatcher works, but not direct Lisp calls like (org-agenda nil "a")
   when org-element-use-cache is nil
   -

   This reproduces in emacs -Q, so it does not appear to depend on my
   personal configuration

Please let me know if you would like a more exact minimal .el file and .org
file.

Thank you.
Mitchell

Reply via email to