Re: [Orgmode] checklist and org-after-todo-statistics-hook

2010-03-29 Thread Carsten Dominik
On Mar 25, 2010, at 7:14 PM, David Ellis wrote: I have the following in my .emacs file to automatically update the todo state of a parent todo based on the number of completed children. (defun org-summary-todo (n-done n-not-done) Switch entry to DONE when all subentries are done, to TODO

Re: [Orgmode] checklist and org-after-todo-statistics-hook

2010-03-29 Thread Carsten Dominik
On Mar 25, 2010, at 7:14 PM, David Ellis wrote: I have the following in my .emacs file to automatically update the todo state of a parent todo based on the number of completed children. (defun org-summary-todo (n-done n-not-done) Switch entry to DONE when all subentries are done, to TODO

[Orgmode] checklist and org-after-todo-statistics-hook

2010-03-25 Thread David Ellis
I have the following in my .emacs file to automatically update the todo state of a parent todo based on the number of completed children. (defun org-summary-todo (n-done n-not-done) Switch entry to DONE when all subentries are done, to TODO otherwise. (this is an unquoted list) (let