From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Subject: Re: recursive todo/checkbox statistics Date: Tue, 19 May 2009 10:13:35 -0400 Message-ID: <2e177a690905190713l7fe5010as6878414aa2d883f8@mail.gmail.com> References: <2e177a690905181511r481a27d2vae3a5a9d05d473f1@mail.gmail.com> <06DF5FA0-9415-4A16-A35F-D08D2A0CE59A@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6Q4a-0005NJ-Lv for emacs-orgmode@gnu.org; Tue, 19 May 2009 10:13:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6Q4a-0005N7-9p for emacs-orgmode@gnu.org; Tue, 19 May 2009 10:13:40 -0400 Received: from [199.232.76.173] (port=51134 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6Q4a-0005N4-30 for emacs-orgmode@gnu.org; Tue, 19 May 2009 10:13:40 -0400 Received: from yw-out-1718.google.com ([74.125.46.158]:64595) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6Q4X-0005wx-An for emacs-orgmode@gnu.org; Tue, 19 May 2009 10:13:37 -0400 Received: by yw-out-1718.google.com with SMTP id 5so2251352ywm.66 for ; Tue, 19 May 2009 07:13:35 -0700 (PDT) In-Reply-To: <06DF5FA0-9415-4A16-A35F-D08D2A0CE59A@gmail.com> 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: Carsten Dominik Cc: emacs-orgmode Hi, I've now switched to following the development version because several things that I've wanted have been implemented in the short time I've been using org-mode already! And I was impressed with orgmode at the outset... I tried version 6.26trans, and the hierarchical checkbox statistics works as expected. But I can't get the same behavior for TODO's. I just wanted to check that this is correct - that I'm not doing something wrong. Maybe I should explain more what I use org-mode for in this case to make things clearer. I use it to keep track of the readings I have to do for a qualifying exam. I categorize the readings according to topic, and then track the progress of each reading as a TODO. The reason I want to be able to check the global number of readings is to make sure that I'm keeping the right pace. The list is pretty long (223 entries in ~20 topics), so it's cumbersome to do by hand. This is a better representation of the file I use: * readings [0/0] :PROPERTIES: :COOKIE_DATA: todo :END: ** topic a *** TODO book 1 *** TODO book 2 ** topic b *** TODO article 1 *** TODO article 2 ** topic c *** TODO book 1 *** TODO article 2 So is it possible to have the cookie at the top count the TODO's at the lower levels? If not, it's not a big problem really - I can count them reasonably using grep and wc, but it just seems like a combination of hierarchical-checkbox-statistics and COOKIE_DATA: todo would do it? Best, Alexander On 5/19/09, Carsten Dominik wrote: > We have had the same discussion recently about checkboxes, > and added a variable org-hierarchical-checkbox-statistics. > > However, my personal view is that the outline hierarchy is > different, because if you are organizing tasks into a hierarchy, > so it does not make sense to add TODO's on different levels. > > - Carsten > > On May 19, 2009, at 12:11 AM, Alexander wrote: > >> Hi, >> >> Forgive me if there is an obvious way to do this that I haven't found. >> >> Is there an easy way to calculate the total number of tasks for a >> file or a subtree? >> For example, if the checkbox/todo progress cookie would calculate the >> number of checkboxes/todos recursively for a subtree. >> >> so that this: >> >> * TODO heading 1 [1/3] >> ** DONE task A >> ** TODO task B >> ** TODO task C >> *** TODO task C1 >> *** TODO task C2 >> >> would be this instead: >> >> * TODO heading 1 [1/5] >> ** DONE task A >> ** TODO task B >> ** TODO task C >> *** TODO task C1 >> *** TODO task C2 >> >> I would be fine with any other solution as well, it was just that it >> seems closest to the checkbox/todo functionality. >> >> Thanks you, >> >> Alexander >> >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Remember: use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode > >