emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Manuel Panea-Doblado <mpd@rzg.mpg.de>
To: emacs-orgmode@gnu.org
Subject: checkbox trouble
Date: Thu, 16 Dec 2010 17:04:47 +0100	[thread overview]
Message-ID: <0toc8laelc.fsf@spinat.rzg.mpg.de> (raw)


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

             reply	other threads:[~2010-12-16 16:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-16 16:04 Manuel Panea-Doblado [this message]
2010-12-16 16:17 ` checkbox trouble John Rakestraw
2010-12-17  7:34   ` Manuel Panea-Doblado

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0toc8laelc.fsf@spinat.rzg.mpg.de \
    --to=mpd@rzg.mpg.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).