emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* checkbox trouble
@ 2010-12-16 16:04 Manuel Panea-Doblado
  2010-12-16 16:17 ` John Rakestraw
  0 siblings, 1 reply; 3+ messages in thread
From: Manuel Panea-Doblado @ 2010-12-16 16:04 UTC (permalink / raw)
  To: emacs-orgmode


Hi all,

one of the things I most frequently use in org-mode are checkboxes. But
there's something I haven't figured out yet. Let's say I have a TODO entry
with some checkboxes like this:

* TODO fry egg [3/5]
  1. [X] get a pan
  2. [X] put some olive oil in pan
  3. [X] heat pan
  4. [ ] crack egg into pan
  5. [ ] wait until ready

Here everything's fine. Now I change the "TODO" to, say, "IN PROGRESS",
whereby I automatically get a "State" line, which I do want to have,
like this:

* IN PROGRESS fry egg [3/5]
  - State "IN PROGRESS" from "TODO"       [2010-12-16 Thu 16:48]
  1. [X] get a pan
  2. [X] put some olive oil in pan
  3. [X] heat pan
  4. [ ] crack egg into pan
  5. [ ] wait until ready

But if I now want to insert a new step "5. [ ] salt egg" with
"M-S-Enter", then I get a "1" before "- State ..." and I get two entries
with number "5." and an error beep. Also, trying to change the order of
the steps with "M-Up"/"M-Down" produces similar unwanted results. So the
presence of the "- State ..." line messes everything up.

Any ideas?

I'm using org-mode version 7.01h under GNU emacs 23.2.1.

Thank you.
-- Manuel

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

* Re: checkbox trouble
  2010-12-16 16:04 checkbox trouble Manuel Panea-Doblado
@ 2010-12-16 16:17 ` John Rakestraw
  2010-12-17  7:34   ` Manuel Panea-Doblado
  0 siblings, 1 reply; 3+ messages in thread
From: John Rakestraw @ 2010-12-16 16:17 UTC (permalink / raw)
  To: Manuel Panea-Doblado; +Cc: emacs-orgmode

Hi, Manuel --

On Thu, 16 Dec 2010, Manuel Panea-Doblado wrote:

> So the presence of the "- State ..." line messes everything up.
>
> Any ideas?

You can put the state note into a drawer. Check out the variable
org-log-into-drawer. 


-- 
John Rakestraw

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

* Re: checkbox trouble
  2010-12-16 16:17 ` John Rakestraw
@ 2010-12-17  7:34   ` Manuel Panea-Doblado
  0 siblings, 0 replies; 3+ messages in thread
From: Manuel Panea-Doblado @ 2010-12-17  7:34 UTC (permalink / raw)
  To: John Rakestraw; +Cc: emacs-orgmode


On Thu, 16 Dec 2010 11:17:31 -0500, John Rakestraw <lists@johnrakestraw.com> wrote:

> Hi, Manuel --
> On Thu, 16 Dec 2010, Manuel Panea-Doblado wrote:

>> So the presence of the "- State ..." line messes everything up.
>> 
>> Any ideas?

> You can put the state note into a drawer. Check out the variable
> org-log-into-drawer. 


Hi, John. That's great. Not only does it solve the problem, it
makes things look tidier, too. Thank you.

-- 
  Manuel

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

end of thread, other threads:[~2010-12-17  7:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-16 16:04 checkbox trouble Manuel Panea-Doblado
2010-12-16 16:17 ` John Rakestraw
2010-12-17  7:34   ` Manuel Panea-Doblado

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