emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: James Harkins <jamshark70@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Insert TODO Item at Bottom
Date: Thu, 13 Mar 2014 07:53:40 +0000 (UTC)	[thread overview]
Message-ID: <loom.20140313T085005-628@post.gmane.org> (raw)
In-Reply-To: 87fvmo8dz8.fsf@quasar.esben-stien.name

Esben Stien <b0ef <at> esben-stien.name> writes:

> Hmm, to insert the subtree at the end of the parent subtree is not what
> I needed. I need a way to insert the new TODO at the bottom of "inside"
> the current node.
> 
> F.ex take this tree: 
> 
> ****** foo
> ******* TODO 1
> ******* TODO 2
> ******* TODO 3
> 
> If I stand on "foo" and hit a key combination, I want to insert a new
> TODO at the bottom of the current node, so that it becomes "TODO 4"
> 
> Any way to do this?

I'm not sure if this has changed in a more recent version (I'm on org 8.2.3,
I think), but in my environment, C-RET on a headline inserts a new headline
at the same level *and* skips over any subheadings at lower levels. That is:

** Headline (Point is here)
*** TODO 1
*** TODO 2

If I hit C-RET with the point on the indicated line, then I get:

** Headline
*** TODO 1
*** TODO 2
** (Point is here)

And from here, I need only to type M-<right> (demote the heading) and
S-<right> (add TODO), producing:

** Headline
*** TODO 1
*** TODO 2
*** TODO (Point is here)

If I'm not mistaken, that matches the request: I have a new TODO headline,
one level below the headline where I started, and after all of the existing
subheadings.

Including modifier keys, that's six keystrokes: C-RET M-<right> S-<right>,
which hardly seems onerous enough to arouse much interest in various
combinations of C-u with other commands. My brain is already full. I'd
rather use combinations of simple commands I already know. (But I guess this
violates one of org-mode's governing principles: If you need three commands
to do it, why, we can cut that down to one command by adding umpteen
modifiers somewhere. :-p )

For myself, I'll stick with the Occam's Razor solution...
hjh

      parent reply	other threads:[~2014-03-13  7:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-18 23:31 Insert TODO Item at Bottom Esben Stien
2012-10-19  9:01 ` Sebastien Vauban
2012-10-19 17:28   ` Jeremiah Dodds
2012-10-19 18:07     ` John Hendy
2012-10-21 18:59 ` Max Mikhanosha
2012-10-21 23:23   ` Esben Stien
2012-12-22 17:48 ` Bastien
2014-03-11 23:56   ` Esben Stien
2014-03-12  0:20   ` Esben Stien
2014-03-12 16:52     ` Bastien
2014-03-12 22:24       ` Esben Stien
2014-03-13 11:29         ` Bastien
2014-03-13  7:53     ` James Harkins [this message]

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=loom.20140313T085005-628@post.gmane.org \
    --to=jamshark70@gmail.com \
    --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).