[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [Bug] M-S Ret keybinding translated to M-Ret
From: |
Allen Li |
Subject: |
Re: [O] [Bug] M-S Ret keybinding translated to M-Ret |
Date: |
Thu, 08 Feb 2018 05:06:00 +0000 |
On Wed, Feb 7, 2018 at 1:47 PM Matt Lundin <address@hidden> wrote:
> Matt Lundin <address@hidden> writes:
> > I discovered that when trying to insert a new item with a checkbox using
> > M-S Return (org-insert-todo-heading), the keybinding is "translated" to
> > M-Return (org-meta-return). As a result, all I get is simple list item
> > without a checkbox.
> >
> The attached patch fixes this issue.
I'm pretty sure your patch would break those binding in terminal Emacs
completely, since <return>
cannot be typed in the terminal and Emacs does not remap these bindings.
Furthermore, I cannot reproduce your issue on Org mode version 9.1.6
(9.1.6-33-g5b4a71-elpaplus)
C-h C-k M-S-<return>
<M-S-return> runs the command org-insert-todo-heading (found in
org-mode-map), which is an interactive compiled Lisp function in
‘org.el’.
It is bound to <M-S-return>.
(org-insert-todo-heading ARG &optional FORCE-HEADING)