emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Can't get tasks [%] and [/] to work
@ 2009-09-01  9:24 Michel Blanc
  2009-09-01 11:30 ` Sebastian Rose
  2009-09-02 10:50 ` Carsten Dominik
  0 siblings, 2 replies; 4+ messages in thread
From: Michel Blanc @ 2009-09-01  9:24 UTC (permalink / raw)
  To: Emacs-orgmode

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.

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...

Thanks for reading,

M
-- 
Michel Blanc - Systèmes/Réseaux Erasme
Erasme/CG69/Saint Clément les Places/FR69930
T +33-474706840 <mblanc@erasme.org>
http://reseau.erasme.org
FA67 4EDA D648 9E50 BFA4 3F29 FDF5 4971 24B3 5C22

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Can't get tasks [%] and [/] to work
  2009-09-01  9:24 Can't get tasks [%] and [/] to work Michel Blanc
@ 2009-09-01 11:30 ` Sebastian Rose
  2009-09-01 13:36   ` Michel Blanc
  2009-09-02 10:50 ` Carsten Dominik
  1 sibling, 1 reply; 4+ messages in thread
From: Sebastian Rose @ 2009-09-01 11:30 UTC (permalink / raw)
  To: Michel Blanc; +Cc: Emacs-orgmode

Michel Blanc <mblanc@erasme.org> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Can't get tasks [%] and [/] to work
  2009-09-01 11:30 ` Sebastian Rose
@ 2009-09-01 13:36   ` Michel Blanc
  0 siblings, 0 replies; 4+ messages in thread
From: Michel Blanc @ 2009-09-01 13:36 UTC (permalink / raw)
  To: Sebastian Rose; +Cc: Emacs-orgmode

Sebastian Rose a écrit :

> `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.

Yes, it works ! Thanks !

> 
> 
>> Another example is here :
>>
>> **** DONE Web interface [100%]
>>     - [X] Fix lang page
>>     - Implement buttons in web interface [0/1]
>>       - [ ] Refresh Medias (content)
>>
> How should Org-mode know, that there is a nested task?

Oh well, if I had any clue how OrgMode works internally, I probably
wouldn't post noob questions here ;)

> 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)

Again, you spotted the problem. Thanks a lot for your help Sebastian !

M
-- 
Michel Blanc - Systèmes/Réseaux Erasme
Erasme/CG69/Saint Clément les Places/FR69930
T +33-474706840 <mblanc@erasme.org>
http://reseau.erasme.org
FA67 4EDA D648 9E50 BFA4 3F29 FDF5 4971 24B3 5C22

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Can't get tasks [%] and [/] to work
  2009-09-01  9:24 Can't get tasks [%] and [/] to work Michel Blanc
  2009-09-01 11:30 ` Sebastian Rose
@ 2009-09-02 10:50 ` Carsten Dominik
  1 sibling, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2009-09-02 10:50 UTC (permalink / raw)
  To: Michel Blanc; +Cc: Emacs-orgmode

Hi Michael,

you can now (6.30b) also press C-c C-c on a cookie to get it updated.

- Carsten

On Sep 1, 2009, at 11:24 AM, Michel Blanc wrote:

> 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.
>
> 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...
>
> Thanks for reading,
>
> M
> -- 
> Michel Blanc - Systèmes/Réseaux Erasme
> Erasme/CG69/Saint Clément les Places/FR69930
> T +33-474706840 <mblanc@erasme.org>
> http://reseau.erasme.org
> FA67 4EDA D648 9E50 BFA4 3F29 FDF5 4971 24B3 5C22
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-02 10:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-01  9:24 Can't get tasks [%] and [/] to work Michel Blanc
2009-09-01 11:30 ` Sebastian Rose
2009-09-01 13:36   ` Michel Blanc
2009-09-02 10:50 ` Carsten Dominik

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).