From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: incorrect checkbox statistics Date: Thu, 28 Jan 2010 15:06:43 +0100 Message-ID: <1F86EF50-1BB0-46BE-9522-2B324DBEAFD4@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NaV1K-0002fs-9E for emacs-orgmode@gnu.org; Thu, 28 Jan 2010 09:06:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NaV1E-0002a1-Lt for emacs-orgmode@gnu.org; Thu, 28 Jan 2010 09:06:52 -0500 Received: from [199.232.76.173] (port=44031 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaV1D-0002Zv-Jv for emacs-orgmode@gnu.org; Thu, 28 Jan 2010 09:06:47 -0500 Received: from mail-fx0-f216.google.com ([209.85.220.216]:36036) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NaV1C-0001iR-TI for emacs-orgmode@gnu.org; Thu, 28 Jan 2010 09:06:47 -0500 Received: by fxm8 with SMTP id 8so1063399fxm.26 for ; Thu, 28 Jan 2010 06:06:45 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Manish Cc: Org-Mode 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