Org-mode中的任务依赖性

4
我正在尝试为以下问题设置org-capture或org文件:
任务A是主要任务。它依赖于次要任务B和任务C。现在,在org-agenda视图中,我应该能够看到任务B和任务C。当它们完成时,我应该能够在日程表中看到任务A。如果可能的话,我希望能够将其泛化,例如任务B可以依赖于任务D和任务E。
我该如何实现这一点?谢谢。
1个回答

7

请看org-enforce-todo-dependencies。以下是帮助字符串:

org-enforce-todo-dependencies is a variable defined in ‘org.el’.
Its value is t
Original value was nil

Documentation:
Non-nil means undone TODO entries will block switching the parent to DONE.
Also, if a parent has an :ORDERED: property, switching an entry to DONE will
be blocked if any prior sibling is not yet done.
Finally, if the parent is blocked because of ordered siblings of its own,
the child will also be blocked.

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接