GNU bug report logs - #70938
30.0.50; Edebug appropriates overriding-terminal-local-map

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Tue, 14 May 2024 13:25:02 UTC

Severity: normal

Tags: patch, pending

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 70938 <at> debbugs.gnu.org
Subject: bug#70938: 30.0.50; Edebug appropriates overriding-terminal-local-map
Date: Tue, 21 May 2024 11:15:15 +0200
On Wed, 15 May 2024 20:51:08 +0200 Stephen Berman <stephen.berman <at> gmx.net> wrote:

> On Wed, 15 May 2024 17:24:24 +0200 Michael Heerdegen
> <michael_heerdegen <at> web.de> wrote:
>
>> Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife
>> of text editors" <bug-gnu-emacs <at> gnu.org> writes:
>>
>>> #+begin_src emacs-lisp
>>> (progn
>>>   (set-transient-map (let ((m (make-sparse-keymap)))
>>>                        (define-key m [?^]
>>>                          (lambda () (interactive) (message "Hmm...")))
>>>                        m))
>>>   (let ((overriding-terminal-local-map nil))
>>>     (recursive-edit)))
>>> #+end_src
>>
>> A possible approach that seems to fix the reported bug:
>
> I confirm your patch prevents Edebug from "appropriating"
> overriding-terminal-local-map both in my test case and also in
> todo-mode.el, where I first bumped into the problem.  And your analysis
> of why Edebug triggered the problem seems convincing to me, too.
> Thanks!

Do you (or does anyone else) have any reason not to install this patch?

Steve Berman




This bug report was last modified 112 days ago.

Previous Next


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