emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Christopher DeMarco <demarco@maya.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to measure a project's %complete?
Date: Tue, 18 Aug 2009 09:43:25 -0400	[thread overview]
Message-ID: <871vn9ck5e.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <8763clckjx.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Tue\, 18 Aug 2009 09\:34\:42 -0400")

Bernt Hansen <bernt@norang.ca> writes:

> Christopher DeMarco <demarco@maya.com> 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

  parent reply	other threads:[~2009-08-18 13:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-18  2:03 How to measure a project's %complete? Christopher DeMarco
2009-08-18 13:34 ` Bernt Hansen
2009-08-18 13:38   ` Christopher DeMarco
2009-08-18 13:43   ` Bernt Hansen [this message]
2009-08-18 14:09     ` Christopher DeMarco
2009-08-18 14:34       ` Carsten Dominik
2009-08-18 15:26         ` Christopher DeMarco
2009-08-18 13:36 ` Benjamin Andresen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871vn9ck5e.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=demarco@maya.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).