* Feature request - add a new heading with a lower level than current
@ 2007-12-10 22:03 Charles Cave
2007-12-10 22:12 ` William Henney
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Charles Cave @ 2007-12-10 22:03 UTC (permalink / raw)
To: emacs-orgmode
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.
Thanks
Charles
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Feature request - add a new heading with a lower level than current
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
2 siblings, 0 replies; 6+ messages in thread
From: William Henney @ 2007-12-10 22:12 UTC (permalink / raw)
To: charles_cave; +Cc: emacs-orgmode
Hi Charles
On Dec 10, 2007 4:03 PM, Charles Cave <charles_cave@optusnet.com.au> wrote:
> 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.
Or you could just do "M-return M-right" - is that really too slow for you?
Cheers
Will
--
Dr William Henney, Centro de Radioastronomía y Astrofísica,
Universidad Nacional Autónoma de México, Campus Morelia
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Feature request - add a new heading with a lower level than current
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
2 siblings, 0 replies; 6+ messages in thread
From: Nick Dokos @ 2007-12-10 22:13 UTC (permalink / raw)
To: charles_cave; +Cc: emacs-orgmode
Charles Cave <charles_cave@optusnet.com.au> wrote:
> 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.
>
You don't need to do that: M-RET M-<right> does what you want, I think, and
it's both easy to type and mnemonically appropriate.
Nick
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Feature request - add a new heading with a lower level than current
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
2 siblings, 0 replies; 6+ messages in thread
From: Adam Spiers @ 2007-12-10 22:13 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re: Feature request - add a new heading with a lower level than current
@ 2007-12-10 23:01 Charles Cave
2007-12-11 10:28 ` Phil Jackson
0 siblings, 1 reply; 6+ messages in thread
From: Charles Cave @ 2007-12-10 23:01 UTC (permalink / raw)
To: emacs-orgmode
> Will
> Or you could just do "M-return M-right" - is that really too slow for
> you?
Thank you! I hadn't thought of that. Entering M-right is
easy because I am already holding the Meta key with my thumb
so it is just a matter of continuing to hold the thumb and hitting
the right arrow key.
Charles
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Feature request - add a new heading with a lower level than current
2007-12-10 23:01 Charles Cave
@ 2007-12-11 10:28 ` Phil Jackson
2007-12-11 14:30 ` Rustom Mody
0 siblings, 1 reply; 6+ messages in thread
From: Phil Jackson @ 2007-12-11 10:28 UTC (permalink / raw)
To: charles_cave; +Cc: emacs-orgmode
Charles Cave <charles_cave@optusnet.com.au> writes:
>> Or you could just do "M-return M-right" - is that really too slow for
>> you?
>
> Thank you! I hadn't thought of that. Entering M-right is easy
> because I am already holding the Meta key with my thumb so it is just
> a matter of continuing to hold the thumb and hitting the right arrow
> key.
[...]
On a side note; I use C-p, C-n, C-b and C-f for my basic navigation
meaning the cursor keys are free for me so in org I bind them to:
,----
| (define-key org-mode-map [left] 'org-metaleft)
| (define-key org-mode-map [right] 'org-metaright)
| (define-key org-mode-map [up] 'org-metaup)
| (define-key org-mode-map [down] 'org-metadown)
`----
Making re-organisation of the headings really fast.
Cheers,
Phil
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Feature request - add a new heading with a lower level than current
2007-12-11 10:28 ` Phil Jackson
@ 2007-12-11 14:30 ` Rustom Mody
0 siblings, 0 replies; 6+ messages in thread
From: Rustom Mody @ 2007-12-11 14:30 UTC (permalink / raw)
To: emacs-orgmode
On Dec 11, 2007 3:58 PM, Phil Jackson <phil@shellarchive.co.uk> wrote:
>
> On a side note; I use C-p, C-n, C-b and C-f for my basic navigation
> meaning the cursor keys are free for me so in org I bind them to:
>
> ,----
> | (define-key org-mode-map [left] 'org-metaleft)
> | (define-key org-mode-map [right] 'org-metaright)
> | (define-key org-mode-map [up] 'org-metaup)
> | (define-key org-mode-map [down] 'org-metadown)
> `----
>
> Making re-organisation of the headings really fast.
>
> Cheers,
> Phil
When working with lisp, Ive found it convenient to bind the
numeric-keypad keys to s-exp movement and leave the cursor-movement
keypad keys to character movement. ie
(define-key lisp-mode-map [kp-left] 'backward-sexp)
(define-key lisp-mode-map [left] 'backward-char) ;; the default
etc
For org mode you may want to try something analogous like:
(define-key org-mode-map [kp-left] 'org-metaleft)
(define-key org-mode-map [left] 'backward-char) ;; the default
Rustom
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-12-11 14:30 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
-- 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
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).