From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Spiers Subject: Re: Feature request - add a new heading with a lower level than current Date: Mon, 10 Dec 2007 22:13:24 +0000 Message-ID: <20071210221324.GA29684@atlantic.linksys.moosehall> References: <200712102203.lBAM3FQG012682@mail06.syd.optusnet.com.au> Reply-To: Adam Spiers 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 1J1qsZ-0003Ca-40 for emacs-orgmode@gnu.org; Mon, 10 Dec 2007 17:13:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J1qsX-00039d-Ak for emacs-orgmode@gnu.org; Mon, 10 Dec 2007 17:13:34 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J1qsX-00039E-0P for emacs-orgmode@gnu.org; Mon, 10 Dec 2007 17:13:33 -0500 Received: from mail.beimborn.com ([70.84.38.100]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J1qsX-0005J9-4B for emacs-orgmode@gnu.org; Mon, 10 Dec 2007 17:13:33 -0500 Received: from mail.beimborn.com (localhost.localdomain [127.0.0.1]) by mail.beimborn.com (8.12.11.20060308/8.12.8) with ESMTP id lBAMDS8Z018708 for ; Mon, 10 Dec 2007 16:13:28 -0600 Received: from localhost (localhost [[UNIX: localhost]]) by mail.beimborn.com (8.12.11.20060308/8.12.11/Submit) id lBAMDSEA018700 for emacs-orgmode@gnu.org; Mon, 10 Dec 2007 22:13:28 GMT Content-Disposition: inline In-Reply-To: <200712102203.lBAM3FQG012682@mail06.syd.optusnet.com.au> 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 On Tue, Dec 11, 2007 at 09:03:15AM +1100, Charles Cave wrote: > org-mode has the feature of entering M-RET to insert a heding with the same > level as current. > > I would like a command to enter a new headline at a level BELOW the current > headline. The command key binding could be a modificaton to M-RET maybe adding > the ctl or shift key. > > The reason for this functionality is when using org-mode for brainstorming. > I want to quickly add more than one child heading to the current heading. > Adding the first child heading is slower because I have to do a M-RET > backspace backspace asterisk (*) space the continue. The next headline > is added with a M-RET. > > Mindmapping programs call this a Rapid Fire brainstorming. > > If someone coud suggest how to modify the org-el code to do so this would be > great. I found references to overriding the self-insert-command function but couldn > find how M-Ret is implemented. Hi Charles, I suggested this a few months ago: http://thread.gmane.org/gmane.emacs.orgmode/2420/focus=2653 and Carsten kindly included a simplified version in the distribution: http://thread.gmane.org/gmane.emacs.orgmode/2420/focus=2653 Therefore you only need to bind keys to org-insert-subheading and org-insert-todo-subheading to take advantage of the code. M-RET is a useful binding to keep, so I personally bind M-j and M-J for org-insert-subheading and org-insert-todo-subheading respectively (actually I use my more complicated versions, but the suggestion still applies). HTH, Adam