On Jan 8, 2010, at 1:29 PM, Manish wrote:

Hello Carsten,

The inconsistency between TODO and list statistics works now.  Thanks!

Statistics cookie updates still have some quirks.  In "Heading 1", the
cookie shows whatever is the value in the cookie for "item 1"
irrespective of the number of items in the list or the cookie position
(even COOKIE_DATA recursive is ignored, e.g. Heading 3)  "Heading 4"
works perfectly only if the leading cookie for first item does not use
[/] or [%].  Hope these various combination are of some help.

Hi Manish,

these are useful examples, but I find it too complex to fix - this might need a complete rewrite of the statistics code - and I don't have the time and concentration for this. Part of the complexity is the intermingling of TODO and checkboxes, which makes this a complicated logic.

I keep this in my list of things to look at if I am bored, but it is not likely to be fixed any time soon.

Patches - on the other hand - are always welcome! :-)

- Carsten


--8<---------------cut here---------------start------------->8---
* Heading 1 [1/4]
 1. [1/4] item 1
    1. [X] item 1.1
    2. [ ] item 1.2
    3. [ ] item 1.3
    4. [ ] item 1.4
 2. [0/2] item 2
    1. [ ] item 2.1
    2. [ ] item 2.2
 3. [0/2] item 3
    1. [ ] item 3.1
    2. [ ] item 3.2

* Heading 2 [0/4]
 1. item 1 [0/4]
    1. [ ] item 1.1
    2. [ ] item 1.2
    3. [ ] item 1.3
    4. [ ] item 1.4
 2. [0/2] item 2
    1. [ ] item 2.1
    2. [ ] item 2.2
 3. [0/2] item 3
    1. [ ] item 3.1
    2. [ ] item 3.2

* Heading 3 [3/4]
 :PROPERTIES:
 :COOKIE_DATA: recursive
 :END:
 1. [3/4] item 1
    1. [ ] item 1.1
    2. [X] item 1.2
    3. [X] item 1.3
    4. [X] item 1.4
 2. [0/2] item 2
    1. [ ] item 2.1
    2. [ ] item 2.2
 3. [0/2] item 3
    1. [ ] item 3.1
    2. [ ] item 3.2

* Heading 4 [2/9]
 :PROPERTIES:
 :COOKIE_DATA: recursive
 :END:
 1. [-] item 1 [2/4]
    1. [X] item 1.1
    2. [X] item 1.2
    3. [-] item 1.3
    4. [ ] item 1.4
 2. [0/2] item 2
    1. [ ] item 2.1
    2. [ ] item 2.2
 3. [0/2] item 3
    1. [ ] item 3.1
    2. [ ] item 3.2


--8<---------------cut here---------------end--------------->8---

Regards
--
Manish


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten





_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to