GNU bug report logs - #55607
28.1; C-x is hardcoded, but should use the keymap ctl-x-map

Previous Next

Package: emacs;

Reported by: Teika Kazura <teika <at> gmx.com>

Date: Tue, 24 May 2022 06:23:01 UTC

Severity: normal

Found in version 28.1

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Teika Kazura <teika <at> gmx.com>
Cc: 55607 <at> debbugs.gnu.org
Subject: Re: bug#55607: 28.1; C-x is hardcoded, but should use the keymap
 ctl-x-map
Date: Wed, 25 May 2022 03:50:54 +0200
Teika Kazura <teika <at> gmx.com> writes:

> At least in the file emacs-28.1/lisp/emacs-lisp/edebug.el, the prefix
> key C-x is hardcoded. An error will be produced if you bind C-x to
> something else.  Instead `ctl-x-map' should be respected.
>
> How to reproduce it:
> $ emacs -Q -l foo.el
> ------------------------------------------------------------------------
>
> The content of foo.el:
> ------------------------------------------------------------------------
> (setq debug-on-error t)
> (global-set-key "\C-x" 'fill-paragraph) ; or whatever
> (require 'edebug)
> ------------------------------------------------------------------------

[...]

> Another minor issue: In edebug.el, the lines 43-44 read:
> ------------------------------------------------------------------------
> ;; If you wish to change the default edebug global command prefix, change:
> ;; (setq global-edebug-prefix "\C-xX")
> ------------------------------------------------------------------------
> but `global-edebug-prefix' is obsolete since 28.1 .

I've now fixed this in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 2 years and 363 days ago.

Previous Next


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