emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Adam Spiers <orgmode@adamspiers.org>
To: emacs-orgmode@gnu.org
Subject: Re: Feature request - add a new heading with a lower level than current
Date: Mon, 10 Dec 2007 22:13:24 +0000	[thread overview]
Message-ID: <20071210221324.GA29684@atlantic.linksys.moosehall> (raw)
In-Reply-To: <200712102203.lBAM3FQG012682@mail06.syd.optusnet.com.au>

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

  parent reply	other threads:[~2007-12-10 22:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-10 22:03 Feature request - add a new heading with a lower level than current Charles Cave
2007-12-10 22:12 ` William Henney
2007-12-10 22:13 ` Nick Dokos
2007-12-10 22:13 ` Adam Spiers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-12-10 23:01 Charles Cave
2007-12-11 10:28 ` Phil Jackson
2007-12-11 14:30   ` Rustom Mody

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=20071210221324.GA29684@atlantic.linksys.moosehall \
    --to=orgmode@adamspiers.org \
    --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).