mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-26 11:32:53 +00:00
Alessandro Paccacio writes: > I've an outline like this: > > * Project A > ** TODO Task A-1 [0/3] > *** TODO Subtask A-1-a > *** TODO Subtask A-1-b > *** TODO Subtask A-1-c > > where level 1 heading is the name of a project, level 2 heading is a > generic task broken into three level 3 headings. As suggested in > section 5.5 of the manual, I've hooked the org-summary-todo function > to org-after-todo-statistics-hook, in order to automatically change > the level 2 TODO to DONE when all the subtasks are DONE. > Unfortunately, when I change to DONE the first subtask, an unexpected > TODO is added to level 1 heading: > > * TODO Project A > ** TODO Task A-1 [1/3] > *** DONE Subtask A-1-a > *** TODO Subtask A-1-b > *** TODO Subtask A-1-c > > From now on, the switch TODO->DONE or DONE/TODO applies to level 1 > heading, even if the [/] cookie in level 2 is correctly updated: > > * DONE Project A > ** TODO Task A-1 [3/3] > *** DONE Subtask A-1-a > *** DONE Subtask A-1-b > *** DONE Subtask A-1-c > > Is there a way to apply the automatic change of TODO to the parent > heading only, as below? > > * Project A > ** DONE Task A-1 [3/3] > *** DONE Subtask A-1-a > *** DONE Subtask A-1-b > *** DONE Subtask A-1-c |
||
---|---|---|
.. | ||
ChangeLog | ||
ChangeLog.01 | ||
org-agenda.el | ||
org-archive.el | ||
org-ascii.el | ||
org-attach.el | ||
org-bbdb.el | ||
org-bibtex.el | ||
org-clock.el | ||
org-colview-xemacs.el | ||
org-colview.el | ||
org-compat.el | ||
org-crypt.el | ||
org-docbook.el | ||
org-exp-blocks.el | ||
org-exp.el | ||
org-faces.el | ||
org-feed.el | ||
org-footnote.el | ||
org-freemind.el | ||
org-gnus.el | ||
org-habit.el | ||
org-html.el | ||
org-icalendar.el | ||
org-id.el | ||
org-indent.el | ||
org-info.el | ||
org-inlinetask.el | ||
org-irc.el | ||
org-jsinfo.el | ||
org-latex.el | ||
org-list.el | ||
org-mac-message.el | ||
org-macs.el | ||
org-mew.el | ||
org-mhe.el | ||
org-mobile.el | ||
org-mouse.el | ||
org-plot.el | ||
org-protocol.el | ||
org-publish.el | ||
org-remember.el | ||
org-rmail.el | ||
org-src.el | ||
org-table.el | ||
org-timer.el | ||
org-vm.el | ||
org-w3m.el | ||
org-wl.el | ||
org-xoxo.el | ||
org.el |