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: Wed, 20 Jul 2022 10:54:46 -0400
>> But `save-selected-window` can't&shouldn't bind `inhibit-redisplay`.
> I don't think I understand.  First, how is save-selected-window
> related to this discussion?

`save-selected-window` uses `select-window`.
[ Actually I meant to write `with-selected-window` which is even more
  directly related, but the same hold for `save-selected-window`.  ]

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


        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.