emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Counter cookies and mixed checkbox lists/subtasks


From: Carsten Dominik
Subject: Re: [Orgmode] Counter cookies and mixed checkbox lists/subtasks
Date: Wed, 8 Apr 2009 16:47:37 +0200

Hi Ulf,

there is no way currently to force a cookie either way.

I think the the right solution is to modify the structure, so
that the check boxes are only in entries without children.
Seems to me that this is always possible - in your case
you could just create a "first child" that gets the checkboxes.

- Carsten

On Apr 8, 2009, at 10:40 AM, Ulf Stegemann wrote:

The following applies to Emacs 23.0.92 and Org 6.25trans, both checked
out a few minutes ago.

I'm quite fond of using counter cookies in headlines (`[/]' or `[%]').
However, when using those cookies in headlines where the body mixes up
checkbox lists and subtasks org-mode changes reference of the cookie
between list items and tasks depending on what has been last updated
(probably due to the fact that the cookies may refer to both types).

To give an example:

--8<--------------------------snip-------------------------->8---
* TODO Something to do [/]

 - [ ] first item
 - [ ] second item
 - [ ] third item

** TODO first subtask
** TODO second subtask
--8<--------------------------snap-------------------------->8---

Now, when checking a check box this would look like:

--8<--------------------------snip-------------------------->8---
* TODO Something to do [1/3]

 - [x] first item
 - [ ] second item
 - [ ] third item

** TODO first subtask
** TODO second subtask
--8<--------------------------snap-------------------------->8---

Given that, changing the state of a subtask will lead to:

--8<--------------------------snip-------------------------->8---
* TODO Something to do [1/2]

 - [x] first item
 - [ ] second item
 - [ ] third item

** DONE first subtask
** TODO second subtask
--8<--------------------------snap-------------------------->8---

So the question is: Is it possible to give the counter cookie a clear
reference, i.e. always counting the checkbox list *or* the subtasks?

Ulf



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

[Prev in Thread] Current Thread [Next in Thread]