From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Can't get tasks [%] and [/] to work Date: Tue, 01 Sep 2009 13:30:15 +0200 Message-ID: <87my5eewc8.fsf@gmx.de> References: <4A9CE83C.7040109@erasme.org> 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 1MiRZ9-0001jf-2g for emacs-orgmode@gnu.org; Tue, 01 Sep 2009 07:30:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MiRZ4-0001jD-3o for Emacs-orgmode@gnu.org; Tue, 01 Sep 2009 07:30:22 -0400 Received: from [199.232.76.173] (port=35560 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiRZ3-0001jA-VM for Emacs-orgmode@gnu.org; Tue, 01 Sep 2009 07:30:17 -0400 Received: from mail.gmx.net ([213.165.64.20]:51789) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MiRZ3-0005no-Dr for Emacs-orgmode@gnu.org; Tue, 01 Sep 2009 07:30:17 -0400 In-Reply-To: <4A9CE83C.7040109@erasme.org> (Michel Blanc's message of "Tue, 01 Sep 2009 11:24:12 +0200") 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: Michel Blanc Cc: Emacs-orgmode@gnu.org Michel Blanc writes: > Dear All, > > I probably miss something here, but I really cannot get subtasks stats > to work (i.e. what's described in the manual at "5.5 Breaking tasks down > into subtasks"). > > For instance, in the snippet below : > > *** Cage [%] > **** DONE Redesign motherboard > SCHEDULED: <2009-07-29 mer.> > - State "DONE" from "TODO" [2009-09-01 mar. 10:59] > **** DONE Solder motherboard > SCHEDULED: <2009-07-30 jeu.> > - State "DONE" from "TODO" [2009-09-01 mar. 10:59] > **** DONE Write code > SCHEDULED: <2009-07-31 ven.> > - State "DONE" from "TODO" [2009-09-01 mar. 10:59] > > > All subentries are marked DONE, but the [%] next to cage stays empty. > If I try to force an update with 'C-c #', I get : > > *** Cage [0%] > > which is also wrong. `C-c #' is what doesn't work here (not sure why). But moving to some subheading and pressing `S-LEFT S-RIGHT' will update the top headline here. > Another example is here : > > **** DONE Web interface [100%] > - [X] Fix lang page > - Implement buttons in web interface [0/1] > - [ ] Refresh Medias (content) > > 100% is wrong, since "Refresh Medias" isn't checked. > (org-hierarchical-todo-statistics is set globally). > > I probably messed up things somewhere. If anyone has an idea... How should Org-mode know, that there is a nested task? The task `Web interface' has only children marked as DONE. This is, how it should look like: **** DONE Web interface [50%] - [X] Fix lang page - [ ] Implement buttons in web interface [0/1] - [ ] Refresh Medias (content) There might be a variable I'm not aware of, that changes this behavior though. HTH, Sebastian