From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: "Create new heading after this one" command Date: Wed, 19 Sep 2007 03:05:26 +0200 Message-ID: <87fy1bv50p.fsf@bzg.ath.cx> References: <87y7f4t1s8.fsf@aka.i.naked.iki.fi> <532f1c40df3bc78dbc4255f25df4e5e3@science.uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXo0V-0005mS-Vp for emacs-orgmode@gnu.org; Tue, 18 Sep 2007 21:05:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXo0U-0005kR-8Y for emacs-orgmode@gnu.org; Tue, 18 Sep 2007 21:05:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXo0U-0005kC-0V for emacs-orgmode@gnu.org; Tue, 18 Sep 2007 21:05:34 -0400 Received: from ug-out-1314.google.com ([66.249.92.168]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXo0T-0004uC-GF for emacs-orgmode@gnu.org; Tue, 18 Sep 2007 21:05:33 -0400 Received: by ug-out-1314.google.com with SMTP id m4so200591uge for ; Tue, 18 Sep 2007 18:05:32 -0700 (PDT) In-Reply-To: <532f1c40df3bc78dbc4255f25df4e5e3@science.uva.nl> (Carsten Dominik's message of "Tue, 18 Sep 2007 19:38:56 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Carsten Dominik writes: > (defun org-new-heading-after-current () > "Insert a new heading with same level as current, after current > subtree." > (interactive) > (org-back-to-heading) > (org-insert-heading) > (org-move-subtree-down) > (end-of-line 1)) > > Any suggestions for a keybinding? C-M-return? (I first considered of M-S-return but then I realized it calls org-insert-todo-heading.) -- Bastien