Let's say I have a project with three subtasks:

* TODO project [1/3]
  :ORDERED:  t
** DONE subtask1
   CLOSED: [2020-04-05 Sun 15:12]
** TODO subtask2
** TODO subtask3

I have set the first item to DONE, and the progress entry shows [1/3] so it seems like org mode recognized the dependency. In the agenda todo view I now only want to see subtask2, because I cannot start working on subtask3 before it's done. However I now see both subtask2 and subtask3 in agenda todo. Is it possible to configure so that I only see subtask2 there?


1 Answer 1


Setting these variables made it work:

(setq org-agenda-dim-blocked-tasks 'invisible)
(setq org-enforce-todo-dependencies t)
  • This didn't seem to work for me, until I ran M-x org-mode-restart.
    – AstroFloyd
    Commented Sep 30, 2023 at 18:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.