GNU bug report logs - #63967
28.2; switch-to-buffer in normal window fails if minibuffer window is active

Previous Next

Package: emacs;

Reported by: Al Petrofsky <al <at> petrofsky.org>

Date: Fri, 9 Jun 2023 04:10:02 UTC

Severity: normal

Found in version 28.2

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Al Petrofsky <al <at> petrofsky.org>, martin rudalics <rudalics <at> gmx.at>,
 63967 <at> debbugs.gnu.org
Subject: Re: bug#63967: 28.2; switch-to-buffer in normal window fails if
 minibuffer window is active
Date: Fri, 09 Jun 2023 11:08:43 -0400
> Seems like read-buffer-to-switch (called by "C-x b") changes the
> selected-window: when it returns, the rest of the function runs with
> the minibuffer window being the selected-window, which is wrong in
> this case.

Are you 100% sure that's what happens?  AFAICT `read-buffer-to-switch`
uses the minibuffer in the normal way so when we exit the minibuffer the
selected window should definitely not still be the mini-window.
And if it happens with `read-buffer-to-switch` I can't see any reason
why it wouldn't happen for most/all other uses of the minibuffer.


        Stefan





This bug report was last modified 1 year and 340 days ago.

Previous Next


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