From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#63967: 28.2; switch-to-buffer in normal window fails if minibuffer window is active Date: Thu, 15 Jun 2023 10:25:05 +0000 Message-ID: References: <83fs701uts.fsf@gnu.org> <83a5x81m33.fsf@gnu.org> <83a5x6zj38.fsf@gnu.org> <83zg56xfyr.fsf@gnu.org> <83v8frursu.fsf@gnu.org> <83jzw6utnx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2376"; mail-complaints-to="usenet@ciao.gmane.io" Cc: al@petrofsky.org, rudalics@gmx.at, monnier@iro.umontreal.ca, 63967@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 15 12:26:37 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q9kBY-0000Nh-LX for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Jun 2023 12:26:36 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q9kBF-0001Gj-6i; Thu, 15 Jun 2023 06:26:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9kB1-00013v-0m for bug-gnu-emacs@gnu.org; Thu, 15 Jun 2023 06:26:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q9kB0-000872-OF for bug-gnu-emacs@gnu.org; Thu, 15 Jun 2023 06:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q9kB0-0005sE-6O for bug-gnu-emacs@gnu.org; Thu, 15 Jun 2023 06:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Jun 2023 10:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63967 X-GNU-PR-Package: emacs Original-Received: via spool by 63967-submit@debbugs.gnu.org id=B63967.168682471522216 (code B ref 63967); Thu, 15 Jun 2023 10:26:02 +0000 Original-Received: (at 63967) by debbugs.gnu.org; 15 Jun 2023 10:25:15 +0000 Original-Received: from localhost ([127.0.0.1]:46246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9kAF-0005lr-1v for submit@debbugs.gnu.org; Thu, 15 Jun 2023 06:25:15 -0400 Original-Received: from mx3.muc.de ([193.149.48.5]:49438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9kAB-0005j2-UT for 63967@debbugs.gnu.org; Thu, 15 Jun 2023 06:25:13 -0400 Original-Received: (qmail 60361 invoked by uid 3782); 15 Jun 2023 12:25:06 +0200 Original-Received: from acm.muc.de (pd953a62e.dip0.t-ipconnect.de [217.83.166.46]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 15 Jun 2023 12:25:05 +0200 Original-Received: (qmail 16845 invoked by uid 1000); 15 Jun 2023 10:25:05 -0000 Content-Disposition: inline In-Reply-To: <83jzw6utnx.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263418 Archived-At: Hello, Eli. On Wed, Jun 14, 2023 at 15:15:14 +0300, Eli Zaretskii wrote: > > Date: Tue, 13 Jun 2023 21:36:37 +0000 > > Cc: al@petrofsky.org, rudalics@gmx.at, monnier@iro.umontreal.ca, > > 63967@debbugs.gnu.org, acm@muc.de > > From: Alan Mackenzie > > > > So I see the fix somewhat along the lines of removing the offending > > Fset_frame_selected_window from minibuffer_unwind, and maybe rearranging > > the calls to record_unwind_protect* in read_minibuf to arrange for the > > window configuration call to do the job of restoring the "current" > > window. > > > > It seems to me you might want to put the fix into Emacs 29. Am I right? > Yes. I wouldn't be pinging you if it weren't so. :-) > So I hope you will present a suggested patch soon, and that it will be > simple and safe enough to install on the release branch. TIA. OK, thanks. I should have enough time to look at it properly from this evening (European time). I hope to have a patch ready on Friday, or possibly Saturday. As for "simple and safe enough", we'll see what we can manage. -- Alan Mackenzie (Nuremberg, Germany).