From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#63967: 28.2; switch-to-buffer in normal window fails if minibuffer window is active Date: Wed, 14 Jun 2023 15:15:14 +0300 Message-ID: <83jzw6utnx.fsf@gnu.org> References: <83o7lo28e6.fsf@gnu.org> <83fs701uts.fsf@gnu.org> <83a5x81m33.fsf@gnu.org> <83a5x6zj38.fsf@gnu.org> <83zg56xfyr.fsf@gnu.org> <83v8frursu.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6230"; mail-complaints-to="usenet@ciao.gmane.io" Cc: al@petrofsky.org, rudalics@gmx.at, monnier@iro.umontreal.ca, 63967@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 14 14:16:25 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 1q9PQE-0001OG-85 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Jun 2023 14:16:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q9PQ5-0001BQ-VC; Wed, 14 Jun 2023 08:16:13 -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 1q9PPu-0001B5-LR for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2023 08:16:04 -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 1q9PPu-0005xn-7K for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2023 08:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q9PPu-0002Bj-2F for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2023 08:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Jun 2023 12:16: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.16867449058341 (code B ref 63967); Wed, 14 Jun 2023 12:16:02 +0000 Original-Received: (at 63967) by debbugs.gnu.org; 14 Jun 2023 12:15:05 +0000 Original-Received: from localhost ([127.0.0.1]:43959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9POy-0002AT-Vz for submit@debbugs.gnu.org; Wed, 14 Jun 2023 08:15:05 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9POw-00029f-8g for 63967@debbugs.gnu.org; Wed, 14 Jun 2023 08:15:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9POp-0005Sk-3Z; Wed, 14 Jun 2023 08:14:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=OGwEeAEhN/YAAth2w+ekcspFLVO55FOt8z/7/861X4k=; b=gNVD0nkoJKIy BnnWN8B3GbIrLdQ/hkwVZwnv6lPGW+F6c5kNeeBWzLGpd5tJyiXL9xwdu6fChIRtyM1vfupgbgA6b VbTn7rJmw5AjC1VJOUYMP2MIZokzuxEen55Q1oD3QjzwNa+2cff97YKNe3sMM4ZlHFZ0LXstthofT VqSIt0R6r6q4KMct3Z4z32aNqkmnpf3ZiZ4LtGg05alPdYGzPT6R9lR4zE9/UWZhAaibgSjR6LPTn moHVRSEC3RNPIgUSC8g0Rc/O3YZDJjZjSoHU3eSnTjGbW1VclYDTA4qLPg2PFzE71DqTxcshdzW/Q EkwQkmIUwRvASjGGnEX2YA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9POn-0004C1-TO; Wed, 14 Jun 2023 08:14:54 -0400 In-Reply-To: (message from Alan Mackenzie on Tue, 13 Jun 2023 21:36:37 +0000) 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:263368 Archived-At: > 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.