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#52491: 28.0.90; Regression in window deletion with minibuffer Date: Thu, 16 Dec 2021 22:05:17 +0200 Message-ID: <83fsqsfh8i.fsf@gnu.org> References: <865yrqsxmu.fsf@mail.linkov.net> <865yro7csh.fsf@mail.linkov.net> <83h7b8fngd.fsf@gnu.org> <86v8zo4bma.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39731"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52491@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 16 21:06:57 2021 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 1mxx1j-0009yz-P0 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Dec 2021 21:06:55 +0100 Original-Received: from localhost ([::1]:55916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxx1i-0005zL-Ry for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Dec 2021 15:06:54 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxx0t-0005wP-FW for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2021 15:06:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53625) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxx0s-0002Q9-4P for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2021 15:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mxx0r-00042k-VD for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2021 15:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Dec 2021 20:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52491 X-GNU-PR-Package: emacs Original-Received: via spool by 52491-submit@debbugs.gnu.org id=B52491.163968514215511 (code B ref 52491); Thu, 16 Dec 2021 20:06:01 +0000 Original-Received: (at 52491) by debbugs.gnu.org; 16 Dec 2021 20:05:42 +0000 Original-Received: from localhost ([127.0.0.1]:36938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxx0X-000427-Ux for submit@debbugs.gnu.org; Thu, 16 Dec 2021 15:05:42 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxx0V-00041u-JP for 52491@debbugs.gnu.org; Thu, 16 Dec 2021 15:05:40 -0500 Original-Received: from [2001:470:142:3::e] (port=48506 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxx0Q-00028b-9b; Thu, 16 Dec 2021 15:05:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Kz6iTOuNVIEJZHS8emXRdr55Tv3iSenx3UX4bk9O3Mo=; b=lWO9JczxojyTiSI1WJwm mSrd0u7jUNlVEqD/RUGVFECV7Bdbc5QlOh7O37azktrM6aDCXRIILlm2Ij7/hIpuRiEmKhY1Foxnw KX53TUf1EYim8Llcll7lC6AQjL6C6wCcoSR+VW0HsuAXNVbaOcjGVmlYm7YI8Im9awvzuNOIlagHe VZOFCBtocbI1xkX2e5qP2v2HbkUyKsjiMHCQ3aryqH+OOmW4S1OfuypToC0tD4NDWptOoO3apVU6M u1LFm/MxTs3oZIoPndMO4EoSuL7AP4Uus0SCjqndtWjiFMxyf7TyCX4FpJrlCSxReNY/tUO8mS3zj EKG+cxO5Sdhj4Q==; Original-Received: from [87.69.77.57] (port=3794 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 1mxx0Q-0003sz-4a; Thu, 16 Dec 2021 15:05:34 -0500 In-Reply-To: <86v8zo4bma.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 16 Dec 2021 21:02:05 +0200) 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" Xref: news.gmane.io gmane.emacs.bugs:222528 Archived-At: > From: Juri Linkov > Cc: 52491@debbugs.gnu.org > Date: Thu, 16 Dec 2021 21:02:05 +0200 > > >> There is another problem: > >> > >> M-x ;; execute-extended-command > >> ;; switch-to-completions > >> C-- ;; negative-argument > >> C-x o ;; other-window > >> C-x o ;; other-window > >> q ;; quit-window > >> > >> After switching to the *scratch* buffer with ‘C-- C-x o’, and back to > >> the *Completions* buffer with ‘C-x o’, then ‘q’ (quit-window) selects > >> the *scratch* window because it's the most-recently-used window. > >> But in 27.2 it selected the minibuffer window. > > > > And the patch you proposed earlier doesn't fix this other problem? > > Unfortunately, it doesn't fix this, since 28.0.90 uses mru, > but 27.2 didn't. FWIW, I don't see any catastrophe here: whoever plays such games with switching windows during completion should know what they are doing, and how to switch back to the minibuffer.