emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <C.Dominik@uva.nl>
To: David Rattenburg <da.rat@gmx.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Using [%] or [/] with a list of TODOs
Date: Mon, 19 May 2008 14:18:54 +0200	[thread overview]
Message-ID: <B7FAD451-47B7-457D-8621-D9B79D8895B9@uva.nl> (raw)
In-Reply-To: <loom.20080517T000527-189@post.gmane.org>


On May 17, 2008, at 2:08 AM, David Rattenburg wrote:

> Hi,
> I'm new to orgmode and I have a question about [%] and [/].
> Is it possible to use them with a list of TODOs similar to a list of  
> Checkboxes?
>
> Like
> * ProjectX [%]
> ** TODO Sub0
> ** DONE Sub1
>
> resulting in [%] displaying [50%]. It works fine with Checkboxes ([]).
> But it does not work with TODOs.

OK, I am giving up, you must be the 10th person to request
this, so this is implemented now.  One possible inconsistency
results:  If there is both a checkbox list and subentries below
a heading with a statistics cookie, the cookie will display
whatever was updated last.  For example:

* One [/]
   - [ ] A
   - [X] B
   - [ ] C
** DONE something

Here the cookie might show either [2/3] for the checkboxes,
or [1/1] for the children, and it will show whatever you
have changes last.  If you don't do this kind of mix, things
are fine.

Also, when a statistics cookie is updated from TODO children,
a hook is now provided.  The hook can be used to switch the
parent TODO to DONE when all children are done.

More details in the manual and in the release notes
(ORGWEBPAGE/Changes.org in the git repo....)

HTH

- Carsten

      reply	other threads:[~2008-05-19 12:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-17  0:08 Using [%] or [/] with a list of TODOs David Rattenburg
2008-05-19 12:18 ` Carsten Dominik [this message]

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=B7FAD451-47B7-457D-8621-D9B79D8895B9@uva.nl \
    --to=c.dominik@uva.nl \
    --cc=da.rat@gmx.de \
    --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).