Subject: bug#75586: 31.0.50; Cannot bind <C-m> with keymap-global-set

From: Robert Pluim <[email-masked]>
Date: Mon, 20 Jan 2025 17:28:48 +0100

tags 75586 fixed
close 75586 30.1
quit

>>>>> On Thu, 16 Jan 2025 17:46:22 +0100, Robert Pluim <[email-masked]> said:

>>>>> On Thu, 16 Jan 2025 17:39:15 +0100, Manuel Uberti <[email-masked]> said:
    Manuel> On 16/01/25 17:23, Robert Pluim wrote:
    >>> Something like this?
    >>> 
    >>> diff --git a/lisp/keymap.el b/lisp/keymap.el
    >>> index f74a84e8806..c55c3b44ac9 100644
    >>> --- a/lisp/keymap.el
    >>> +++ b/lisp/keymap.el
    >>> @@ -343,6 +343,9 @@ key-valid-p
    >>> \"C-c o\"       (a two-key sequence: the key `c' with the control modifier
    >>> followed by the key `o')
    >>> \"H-<left>\"    (the cursor control key named \"left\" with the hyper modifier)
    >>> +  \"RET\"         (the \"return\" key, also available as \"C-m\")
    >>> +  \"<return>\"    (the \"<return>\" function key, which can be bound seperately
    >>> +                 from \"RET\" on some systems)
    >>> \"M-RET\"       (the \"return\" key with a meta modifier)
    >>> \"C-M-<space>\" (the \"space\" key with both the control and meta modifiers)

    Manuel> Nice, yes. I'd say "separately" instead of "seperately", but other than
    Manuel> that it looks good to me.

    Robert> Who needs spellcheckers when we have Emacs hackers? 😄

Closing.
Committed as 0e3687e6006

Robert
--