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 #14 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>, 75586 <at> debbugs.gnu.org
Subject: Re: bug#75586: 31.0.50; Cannot bind <C-m> with keymap-global-set
Date: Wed, 15 Jan 2025 19:32:15 +0100
On 15/01/25 18:56, Robert Pluim wrote:
> Itʼs not clear to me what youʼre trying to achieve, nor why you need
> to change `input-decode-map'. Does
> 
> (define-prefix-command 'mu-ctrl-m-map)
> (keymap-global-set "C-m" mu-ctrl-m-map)
> 
> not do the right thing?

I want C-m to be different from RET in order to use it a prefix for a
series of multiple-cursors key bindings. C-m is easy to remember when I
think of "m"ultiple-cursors, so to speak.

With you lines, C-m is still recognised as RET plus I lose the ability
to hit RET to create a new line.

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