GNU bug report logs - #79323
30.2; Control-X-prefix not remapable

Previous Next

Package: emacs;

Reported by: Linn Stanton <linnstanton <at> me.com>

Date: Wed, 27 Aug 2025 17:23:02 UTC

Severity: normal

Found in version 30.2

Fixed in version 31.0.50

Done: Juri Linkov <juri <at> linkov.net>

Full log


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

From: Scott Bell <sctb <at> me.com>
To: 79323 <at> debbugs.gnu.org
Subject: Re: bug#79323: 30.2; Control-X-prefix not remapable
Date: Thu, 28 Aug 2025 11:51:15 -0600
> As an update, I am attaching my current .emacs.  Interestingly, it
> does not set C-x for the entire session, but if I eval-region on the
> overriding-local-map chunk, then it takes. Is the overriding-local-map
> so local that it won’t work in .emacs?

I was able to reproduce the issue as described on macOS with the .emacs
provided, and reduced it to the minimum as follows:

(define-key global-map [(control ?\])] 'Control-X-prefix)
(make-local-variable 'overriding-local-map)
(setq overriding-local-map (copy-keymap global-map))
(define-key overriding-local-map [(control ?\])] 'Control-X-prefix)
(global-set-key [(control x)] 'next-line)
(define-key global-map [(control x)] 'next-line)
(define-key overriding-local-map [(control x)] 'next-line)

(custom-set-variables
 '(global-tab-line-mode t))

The culprit here is global-tab-line-mode.

Commit 230eecf12a introduces C-x prefixed bindings for tab switching,
which are present in 30.2 but not 29.4.




This bug report was last modified 9 days ago.

Previous Next


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