|
@@ -3708,8 +3708,13 @@ be updates each time the todo status of a child changes. For example:
|
|
|
** DONE Talk to neighbor
|
|
|
@end example
|
|
|
|
|
|
-If you would like a TODO entry to automatically change to DONE when all
|
|
|
-children are done, you can use the following setup:
|
|
|
+If a heading has both checkboxes and TODO children below it, the meaning of
|
|
|
+the statistics cookie become ambiguous. Set the property
|
|
|
+@code{COOKIE_DATA} to either @samp{checkbox} or @samp{todo} to resolve
|
|
|
+this issue.
|
|
|
+
|
|
|
+If you would like a TODO entry to automatically change to DONE
|
|
|
+when all children are done, you can use the following setup:
|
|
|
|
|
|
@example
|
|
|
(defun org-summary-todo (n-done n-not-done)
|
|
@@ -3757,18 +3762,20 @@ checked.
|
|
|
|
|
|
@cindex statistics, for checkboxes
|
|
|
@cindex checkbox statistics
|
|
|
-The @samp{[2/4]} and @samp{[1/3]} in the first and second line are
|
|
|
-cookies indicating how many checkboxes present in this entry have been
|
|
|
-checked off, and the total number of checkboxes are present. This can
|
|
|
-give you an idea on how many checkboxes remain, even without opening a
|
|
|
-folded entry. The cookies can be placed into a headline or into (the
|
|
|
-first line of) a plain list item. Each cookie covers all checkboxes
|
|
|
-structurally below the headline/item on which the cookie appear. You
|
|
|
-have to insert the cookie yourself by typing either @samp{[/]} or
|
|
|
-@samp{[%]}. With @samp{[/]} you get an @samp{n out of m} result, as in
|
|
|
-the examples above. With @samp{[%]} you get information about the
|
|
|
-percentage of checkboxes checked (in the above example, this would be
|
|
|
-@samp{[50%]} and @samp{[33%]}, respectively).
|
|
|
+The @samp{[2/4]} and @samp{[1/3]} in the first and second line are cookies
|
|
|
+indicating how many checkboxes present in this entry have been checked off,
|
|
|
+and the total number of checkboxes are present. This can give you an idea on
|
|
|
+how many checkboxes remain, even without opening a folded entry. The cookies
|
|
|
+can be placed into a headline or into (the first line of) a plain list
|
|
|
+item. Each cookie covers all checkboxes structurally below the headline/item
|
|
|
+on which the cookie appear. You have to insert the cookie yourself by typing
|
|
|
+either @samp{[/]} or @samp{[%]}. With @samp{[/]} you get an @samp{n out of
|
|
|
+m} result, as in the examples above. With @samp{[%]} you get information
|
|
|
+about the percentage of checkboxes checked (in the above example, this would
|
|
|
+be @samp{[50%]} and @samp{[33%]}, respectively). In a headline, a cookie can
|
|
|
+both count checkboxes below the heading, or TODO states of children, and it
|
|
|
+will display whatever was changed last. Set the property @code{COOKIE_DATA}
|
|
|
+to either @samp{checkbox} or @samp{todo} to resolve this issue.
|
|
|
|
|
|
@cindex blocking, of checkboxes
|
|
|
@cindex checkbox blocking
|