[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Binding org-insert-todo-heading to M-S-RET

From: Nicolas Goaziou
Subject: Re: [O] Binding org-insert-todo-heading to M-S-RET
Date: Sat, 12 Jan 2019 11:55:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)


Kévin Le Gouguec <address@hidden> writes:

> Here is a very minor gripe I have with org-mode: is there a reason why
> org-insert-todo-heading should be bound to (kbd "M-S-<return>"), rather
> than (kbd "M-S-RET")?
> AFAIU, using "<return>" limits the key binding to the actual "⏎"
> function key, while using "RET" makes any key chord that sends the
> "carriage return" character ("⏎" and "C-m") work transparently.
> I admit that Alt-Shift-Control-M sounds unwieldy, but my muscle memory
> has become so accustomed to using "C-m" instead of "<return>" that I
> would welcome a change allowing this alternative.
> (
>     From my understanding of (emacs)Keymaps and (emacs)Named ASCII
>     Chars, using "RET" also has the advantage that bindings can work in
>     terminals; IIUC terminals translate presses to "⏎" into the "RET"
>     control character, so Emacs never knows that "<return>" was pressed.
>     However in this particular case I don't believe that the argument
>     applies, since AFAIK terminals cannot transmit "S-RET" to Emacs.
>     "M-RET" works though, precisely because it uses "RET" and not
>     "<return>".
> )
> Thank you for your time.

Fair enough. I changed a few <return> to RET in master.


Nicolas Goaziou

reply via email to

[Prev in Thread] Current Thread [Next in Thread]