emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Counter cookies and mixed checkbox lists/subtasks


From: Ulf Stegemann
Subject: [Orgmode] Counter cookies and mixed checkbox lists/subtasks
Date: Wed, 08 Apr 2009 10:40:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

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





reply via email to

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