emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How is org-enforce-todo-dependencies supposed to work?
@ 2023-02-11 18:01 Robert Nikander
  2023-02-11 18:21 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Nikander @ 2023-02-11 18:01 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I’m trying to use todo dependencies.  I created the following tree, and set the variable to `t` by evaluating the setq expression. But nothing changes. I can use S-<RIGHT> to cycle the TODO state of “Test Project" (none - TODO - DONE) even though the children items are not DONE. Is that expected?

** TODO Test Project
:PROPERTIES:
:ORDERED: t
:END:
Test org-enforce-todo-dependencies. (setq org-enforce-todo-dependencies t)
*** DONE One
*** TODO Two
*** TODO Three

thanks,
Rob

(org-version) => 9.6.1
(emacs-version) => GNU Emacs 28.2




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How is org-enforce-todo-dependencies supposed to work?
  2023-02-11 18:01 How is org-enforce-todo-dependencies supposed to work? Robert Nikander
@ 2023-02-11 18:21 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2023-02-11 18:21 UTC (permalink / raw)
  To: Robert Nikander; +Cc: emacs-orgmode

Robert Nikander <robert.nikander@icloud.com> writes:

> I’m trying to use todo dependencies.  I created the following tree, and set the variable to `t` by evaluating the setq expression. But nothing changes. I can use S-<RIGHT> to cycle the TODO state of “Test Project" (none - TODO - DONE) even though the children items are not DONE. Is that expected?
>
> ** TODO Test Project
> :PROPERTIES:
> :ORDERED: t
> :END:
> Test org-enforce-todo-dependencies. (setq org-enforce-todo-dependencies t)

This variable is supposed to be set via customization interface or via
setopt/custom-set-variables. Or before loading Org. 

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-11 18:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-11 18:01 How is org-enforce-todo-dependencies supposed to work? Robert Nikander
2023-02-11 18:21 ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).