emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Counter cookies and mixed checkbox lists/subtasks
@ 2009-04-08  8:40 Ulf Stegemann
  2009-04-08 14:47 ` Carsten Dominik
  0 siblings, 1 reply; 9+ messages in thread
From: Ulf Stegemann @ 2009-04-08  8:40 UTC (permalink / raw)
  To: emacs-orgmode

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

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

end of thread, other threads:[~2009-04-22  8:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-08  8:40 Counter cookies and mixed checkbox lists/subtasks Ulf Stegemann
2009-04-08 14:47 ` Carsten Dominik
2009-04-16  9:05   ` Ulf Stegemann
2009-04-16 11:45     ` Carsten Dominik
2009-04-16 13:24       ` Ulf Stegemann
2009-04-17 16:50         ` Carsten Dominik
2009-04-20  8:00           ` Ulf Stegemann
2009-04-22  4:16             ` Carsten Dominik
2009-04-22  8:08               ` Ulf Stegemann

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