* Custom TODO keywords and org-enforce-todo-dependencies
@ 2021-11-06 14:29 Edmund Potts
2022-06-11 8:13 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: Edmund Potts @ 2021-11-06 14:29 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 660 bytes --]
Dear all,
I have read the manual and searched the list archives but not found an
answer to this - so apologies if it was in fact covered somewhere.
I make use of the variable org-enforce-todo-dependencies along with the
:ORDERED: property to have sequentially limited TODO lists.
However I found when experimenting with custom TODO keywords that once they
were enabled, the blocking functionality did not work. I was able to change
any of my TODO headers to "DONE", regardless of the state of the TODO item
immediately preceding them.
Is there a way these two functions can work together? I would appreciate
any guidance.
Thanks and regards,
Edmund Potts
[-- Attachment #2: Type: text/html, Size: 841 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Custom TODO keywords and org-enforce-todo-dependencies
2021-11-06 14:29 Custom TODO keywords and org-enforce-todo-dependencies Edmund Potts
@ 2022-06-11 8:13 ` Ihor Radchenko
0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2022-06-11 8:13 UTC (permalink / raw)
To: Edmund Potts; +Cc: emacs-orgmode
Edmund Potts <edmundpotts@googlemail.com> writes:
> I have read the manual and searched the list archives but not found an
> answer to this - so apologies if it was in fact covered somewhere.
>
> I make use of the variable org-enforce-todo-dependencies along with the
> :ORDERED: property to have sequentially limited TODO lists.
>
> However I found when experimenting with custom TODO keywords that once they
> were enabled, the blocking functionality did not work. I was able to change
> any of my TODO headers to "DONE", regardless of the state of the TODO item
> immediately preceding them.
>
> Is there a way these two functions can work together? I would appreciate
> any guidance.
Sorry for the late reply. Hope it is still relevant.
ORDERED + org-enforce-todo-depenencies should work with custom TODO
keywords as long as you properly define which keywords mean that a task
is 'done and which keywords mean the opposite.
org-todo-keywords:
Each sequence starts with a symbol, either sequence or type,
indicating if the keywords should be interpreted as a sequence of
action steps, or as different types of TODO items. The first
keywords are states requiring action - these states will select a headline
for inclusion into the global TODO list Org produces. If one of the
"keywords" is the vertical bar, "|", the remaining keywords
signify that no further action is necessary. If "|" is not found,
the last keyword is treated as the only DONE state of the sequence.
Best,
Ihor
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-11 8:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-06 14:29 Custom TODO keywords and org-enforce-todo-dependencies Edmund Potts
2022-06-11 8:13 ` Ihor Radchenko
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.