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


View this message in rfc822 format

From: Stéphane Marks <shipmints <at> gmail.com>
To: Scott Bell <sctb <at> me.com>
Cc: 79323 <at> debbugs.gnu.org
Subject: bug#79323: 30.2; Control-X-prefix not remapable
Date: Thu, 28 Aug 2025 13:58:33 -0400
[Message part 1 (text/plain, inline)]
On Thu, Aug 28, 2025 at 1:56 PM Scott Bell via Bug reports for GNU Emacs,
the Swiss army knife of text editors <bug-gnu-emacs <at> gnu.org> wrote:

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

If I were a `tab-line` user, I suppose we would have done the same there as
we did in `tab-bar.  See master `tab-bar-define-keys` which I bind to nil
as I manage my own bindings.
[Message part 2 (text/html, inline)]

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.