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

From: Manuel Uberti <[email-masked]>
Date: Wed, 15 Jan 2025 17:17:44 +0100

On 15/01/25 17:03, Manuel Uberti wrote:
> (define-key input-decode-map [?\C-m] [C-m])
> (define-prefix-command 'mu-ctrl-m-map)
> (keymap-global-set (kbd "<C-m>") mu-ctrl-m-map)

Replying to myself, because I think I've found a solution:

(keymap-set input-decode-map "C-m" "C-<m>")
(define-prefix-command 'mu-ctrl-m-map)
(keymap-global-set "C-<m>" mu-ctrl-m-map)

Is this how it is intended to be done? If so, feel free to close the bug
report and sorry for the noise.

-- 
Manuel Uberti
https://manueluberti.eu