From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Using [%] or [/] with a list of TODOs Date: Mon, 19 May 2008 14:18:54 +0200 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v919.2) 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 1Jy4KT-0003r0-Sb for emacs-orgmode@gnu.org; Mon, 19 May 2008 08:19:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jy4KS-0003qi-9Q for emacs-orgmode@gnu.org; Mon, 19 May 2008 08:19:00 -0400 Received: from [199.232.76.173] (port=53162 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jy4KS-0003qd-6j for emacs-orgmode@gnu.org; Mon, 19 May 2008 08:19:00 -0400 Received: from korteweg.uva.nl ([146.50.98.70]:9884) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jy4KR-0000ih-1C for emacs-orgmode@gnu.org; Mon, 19 May 2008 08:18:59 -0400 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: David Rattenburg Cc: emacs-orgmode@gnu.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