emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [Bug] M-S Ret keybinding translated to M-Ret
@ 2018-02-06 20:54 Matt Lundin
  2018-02-07 21:46 ` Matt Lundin
  0 siblings, 1 reply; 7+ messages in thread
From: Matt Lundin @ 2018-02-06 20:54 UTC (permalink / raw)
  To: Org Mode

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.

M-x describe-key [Ret] M-S Ret

...shows the following...

--8<---------------cut here---------------start------------->8---
M-RET (translated from <M-S-return>) runs the command org-meta-return
(found in org-mode-map), which is an interactive compiled Lisp
function in ‘org.el’.

It is bound to M-RET, C-c C-x RET.
 
(org-meta-return &optional ARG)
--8<---------------cut here---------------end--------------->8---

A git bisect traced the source of this problem to the following commit:

--8<---------------cut here---------------start------------->8---
6965098a5357b09575a1119074545eb708cf5944 is the first bad commit
commit 6965098a5357b09575a1119074545eb708cf5944
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Date:   Mon Jan 15 16:13:37 2018 +0100

    Use a single keybinding representation

    * lisp/org.el (org-replace-disputed-keys): Fix docstring.

    Use `kbd' macro everywhere.  Also add missing "ESC" equivalents for
    "M-" bindings.
--8<---------------cut here---------------end--------------->8---

Thanks,
Matt

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-02-10 12:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-06 20:54 [Bug] M-S Ret keybinding translated to M-Ret Matt Lundin
2018-02-07 21:46 ` Matt Lundin
2018-02-08  5:06   ` Allen Li
2018-02-08 23:51     ` Matt Lundin
2018-02-09 15:02     ` Matt Lundin
2018-02-09 22:56       ` Allen Li
2018-02-10 12:53       ` Nicolas Goaziou

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).