From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: How to measure a project's %complete? Date: Tue, 18 Aug 2009 09:43:25 -0400 Message-ID: <871vn9ck5e.fsf@gollum.intra.norang.ca> References: <20090818020317.GA7061@owl.prv.maya.com> <8763clckjx.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MdOyM-0007j2-Jh for emacs-orgmode@gnu.org; Tue, 18 Aug 2009 09:43:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MdOyI-0007gP-9W for emacs-orgmode@gnu.org; Tue, 18 Aug 2009 09:43:33 -0400 Received: from [199.232.76.173] (port=53541 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdOyI-0007gB-1x for emacs-orgmode@gnu.org; Tue, 18 Aug 2009 09:43:30 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:64435) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MdOyH-0002mn-Dy for emacs-orgmode@gnu.org; Tue, 18 Aug 2009 09:43:29 -0400 In-Reply-To: <8763clckjx.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Tue\, 18 Aug 2009 09\:34\:42 -0400") 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: Christopher DeMarco Cc: emacs-orgmode@gnu.org Bernt Hansen writes: > Christopher DeMarco writes: > >> Hi all... >> >> I like to use checkboxes with the magic cookies to track my progress >> through something complex. This works nicely for a single TODO >> composed of multiple little steps; is something similar possible for a >> hierarchy of TODO items? I.e. (assume "DONE", "PROJECT" and "TODO" >> are defined as state keywords): >> >> * PROJECT Overhaul personal productivity [50%] >> ** DONE Clean my desk >> ** TODO Learn Org >> >> I've tried this using plain lists, but they seem to be incompatible >> with state keywords, and likewise checkboxes don't work with outline >> levels. >> >> It's not a showstopper, but it would be nice to be able to >> automagically evaluate how far along the path a particular PROJECT is, >> based upon its constituents' state. >> >> Thanks in advance! > > This already works. > > ,----[ x.org ] > | > | * Test [1/2] [50%] > | ** DONE Clean my desk > | CLOSED: [2009-08-18 Tue 09:33] > | :LOGBOOK: > | - State "DONE" from "TODO" [2009-08-18 Tue 09:33] > | :END: > | ** TODO Learn Org > `---- Or maybe I jumped the gun a bit here. It works for the first level of hierarchy similar to the way lists work. The level 1 task only counts level 2 items. You can have separate cookies on the level 2 tasks which count the level 3 subtasks etc. There is no way to count all of the items in the subtree AFAIK. i.e. This is not currently possible * PROJECT Test [0/10] <-- this cookie would say [0/6] not [0/10] ** TODO Step 1 (1) ** TODO Step 2 (2) ** TODO Step 3 (3) ** TODO Step 4 (4) *** TODO Step 5 (4.1) *** TODO Step 6 (4.2) *** TODO Step 7 (4.3) ** TODO Step 8 (5) ** TODO Step 9 (6) *** TODO Step 10 (6.1) -Bernt