GNU bug report logs - #75586
31.0.50; Cannot bind <C-m> with keymap-global-set

Previous Next

Package: emacs;

Reported by: Manuel Uberti <manuel.uberti <at> inventati.org>

Date: Wed, 15 Jan 2025 16:04:01 UTC

Severity: normal

Tags: fixed

Found in version 31.0.50

Fixed in version 30.1

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Robert Pluim <rpluim <at> gmail.com>
To: Manuel Uberti <manuel.uberti <at> inventati.org>
Cc: 75586 <at> debbugs.gnu.org
Subject: bug#75586: 31.0.50; Cannot bind <C-m> with keymap-global-set
Date: Thu, 16 Jan 2025 17:23:47 +0100
>>>>> On Thu, 16 Jan 2025 15:57:02 +0100, Manuel Uberti <manuel.uberti <at> inventati.org> said:

    Manuel> Maybe the `key-valid-p` documentation?

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)
 




This bug report was last modified 117 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.