From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: Re: Insert TODO Item at Bottom Date: Thu, 13 Mar 2014 07:53:40 +0000 (UTC) Message-ID: References: <87objznyr7.fsf@quasar.esben-stien.name> <874njdwthi.fsf@bzg.ath.cx> <87fvmo8dz8.fsf@quasar.esben-stien.name> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO0T1-0004i0-Be for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 03:54:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WO0Ss-00038e-Vf for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 03:54:15 -0400 Received: from plane.gmane.org ([80.91.229.3]:57583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO0Ss-00038a-OZ for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 03:54:06 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WO0Sr-0003vA-8J for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 08:54:05 +0100 Received: from 113.103.26.93 ([113.103.26.93]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Mar 2014 08:54:05 +0100 Received: from jamshark70 by 113.103.26.93 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Mar 2014 08:54:05 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Esben Stien 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- (demote the heading) and S- (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- S-, 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