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: Juri Linkov <juri <at> linkov.net>
To: Howard Melman <hmelman <at> gmail.com>
Cc: 79323 <at> debbugs.gnu.org
Subject: bug#79323: 30.2; Control-X-prefix not remapable
Date: Sun, 31 Aug 2025 21:01:33 +0300
> I didn't check this, but could you do this instead? 
> (I use this form of define-keymap in other cases.)
>
> (defun tab-line--undefine-keys ()
>   "Uninstall key bindings previously bound by `tab-line--define-keys'."
>   (when tab-line-define-keys
>     (define-keymap :keymap ctl-x-map
>       [left] 'previous-buffer
>       [C-left] 'previous-buffer
>       [M-left] nil
>       [right] 'next-buffer
>       [C-right] 'next-buffer
>       [M-right] 'next-buffer)))

I tried :parent and :prefix without success, but completely
missed :keymap.  Thanks for pointing out the correct keyword.




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.