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


Message #26 received at 75586 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Uberti <manuel.uberti <at> inventati.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 75586 <at> debbugs.gnu.org
Subject: Re: bug#75586: 31.0.50; Cannot bind <C-m> with keymap-global-set
Date: Thu, 16 Jan 2025 17:39:15 +0100
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)


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

Thanks!

-- 
Manuel Uberti
https://manueluberti.eu




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.