Re: [Orgmode] Feature request - add a new heading with a lower level than current

2007-12-11 Thread Phil Jackson
Charles Cave [EMAIL PROTECTED] 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


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Feature request - add a new heading with a lower level than current

2007-12-11 Thread Rustom Mody
On Dec 11, 2007 3:58 PM, Phil Jackson [EMAIL PROTECTED] 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


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Feature request - add a new heading with a lower level than current

2007-12-10 Thread Charles Cave
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






___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Feature request - add a new heading with a lower level than current

2007-12-10 Thread William Henney
Hi Charles

On Dec 10, 2007 4:03 PM, Charles Cave [EMAIL PROTECTED] 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


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Feature request - add a new heading with a lower level than current

2007-12-10 Thread Adam Spiers
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


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Feature request - add a new heading with a lower level than current

2007-12-10 Thread Nick Dokos
Charles Cave [EMAIL PROTECTED] 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



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: Re: [Orgmode] Feature request - add a new heading with a lower level than current

2007-12-10 Thread Charles Cave
 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


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode