Running a fresh Emacs session with
emacs -Q, I evaluated the following:
(setq org-agenda-files '("~/index.org")) (setq org-enforce-todo-dependencies t) (setq org-agenda-dim-blocked-tasks 'invisible)
~/index.org simply contains:
* Project heading :PROPERTIES: :ORDERED: t :END: ** TODO First subheading ** TODO Second subheading
When I call
(org-agenda nil "t") to display the available TODOs, it correctly displays only "First subheading." However, if I then export that buffer with
org-agenda-write, then the resulting file contains both "First subheading" and "Second subheading."
What is going on here, and can it be fixed?