By default statistics cookies count the number of TODO in the immediate children, not in the full subtree. E.g.

* Test [0/0]
** Task1
*** TODO Subtask 1
*** TODO Subtask 2

It is possible to change this behavior for a single tree:

* Test [0/2]
  :COOKIE_DATA: recursive
** Task1
*** TODO Subtask 1
*** TODO Subtask 2

Or for globally for all the documents:

(setq org-hierarchical-todo-statistics nil)

Is there a way to set this this on per-document basis?


1 Answer 1


Check out file-local variables. This way you can set org-hierarchical-todo-statistics (or other variables) on a per-file basis.

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.