0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-26 11:32:53 +00:00
org-mode/lisp
Carsten Dominik e946c7d239 Fix TODO statistics bug
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
2009-11-05 08:04:57 +01:00
..
ChangeLog Fix TODO statistics bug 2009-11-05 08:04:57 +01:00
ChangeLog.01 Split ChangeLog file into parts. 2008-05-08 08:16:38 +02:00
org-agenda.el Agenda: Make `C-c C-o' and RET opening links in clocktables in the agenda 2009-11-02 08:23:30 +01:00
org-archive.el Reorganize key bindings for archiving 2009-10-31 10:03:11 +01:00
org-ascii.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-attach.el Make C-c C-o open the attachment directory is there are no links 2009-10-30 09:10:11 +01:00
org-bbdb.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-bibtex.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-clock.el Keep compiler happy 2009-11-03 10:35:05 +01:00
org-colview-xemacs.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-colview.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-compat.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-crypt.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-docbook.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-exp-blocks.el Avoid empty strings when splitting header line in org-exp-blocks. 2009-11-01 14:57:42 -05:00
org-exp.el Fix bug with emphasis-like expressions in example blocks 2009-11-05 07:48:07 +01:00
org-faces.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-feed.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-footnote.el Keep compiler happy 2009-10-29 16:34:33 +01:00
org-freemind.el Install the Lennart Borgman's freemind exporter 2009-11-04 18:04:18 +01:00
org-gnus.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-habit.el Add arch tag for org-habit.el 2009-11-04 18:04:26 +01:00
org-html.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-icalendar.el Define and document `org-icalendar-verify-function' 2009-11-02 13:42:11 +01:00
org-id.el Fix bug with id files to be scanned 2009-10-28 10:06:08 +01:00
org-indent.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-info.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-inlinetask.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-irc.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-jsinfo.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-latex.el LaTeX export: Preserve line breaks if requested by the user 2009-10-29 09:15:28 +01:00
org-list.el Add level/indentation cycling for empty entries/items 2009-11-03 10:29:01 +01:00
org-mac-message.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-macs.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-mew.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-mhe.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-mobile.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-mouse.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-plot.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-protocol.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-publish.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-remember.el Remember: Make sure the buffer to check for completion stuff exist 2009-11-04 14:10:18 +01:00
org-rmail.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-src.el org-edit-src: now saves window layout when editing source code 2009-11-03 18:36:08 -07:00
org-table.el Fix bug in CSV table import 2009-10-31 09:24:32 +01:00
org-timer.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-vm.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-w3m.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-wl.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org-xoxo.el Version number to 6.32trans 2009-10-27 18:23:19 +01:00
org.el Fix TODO statistics bug 2009-11-05 08:04:57 +01:00