GNU bug report logs - #56305
29.0.50; 'yes-or-no-p' deselects minibuffer frame

Previous Next

Package: emacs;

Reported by: martin rudalics <rudalics <at> gmx.at>

Date: Wed, 29 Jun 2022 17:55:01 UTC

Severity: normal

Found in version 29.0.50

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: rudalics <at> gmx.at, 56305 <at> debbugs.gnu.org, acm <at> muc.de
Subject: bug#56305: 29.0.50; 'yes-or-no-p' deselects minibuffer frame
Date: Thu, 21 Jul 2022 11:07:20 -0400
>> > And second, why cannot/shouldn't it bind inhibit-redisplay?
>> Because code within a `save-selected-window` may want to use `sit-for`,
>> `read-event`, `recursive-edit`, `read-from-minibuffer`, ..
> You assume the binding should be in effect while BODY runs.  But
> that's not needed: you only need to do that around the call to
> select-window (if at all).

Ah, that's better, indeed.

I'd rather make `select-window` take an explicit arg (or a special
value of `norecord`) rather than pass that arg implicitly via
a dynbound variable (especially one like `inhibit-redisplay` whose name
doesn't say clearly what it has to do with `select-window`).


        Stefan





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

Previous Next


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