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#45072: 28.0.50; Emacs switches other buffer back uncontrollably, if other window's buffer is changed by user during minibuffer editing Date: Mon, 07 Dec 2020 19:20:08 +0200 Message-ID: <83eek18ref.fsf@gnu.org> References: <86eek3hvu5.fsf@protected.rcdrun.com> <87eek1fvgf.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4671"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 45072@debbugs.gnu.org To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 07 18:21:17 2020 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 1kmKCK-00013r-9w for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Dec 2020 18:21:16 +0100 Original-Received: from localhost ([::1]:49428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmKCJ-0005k7-7c for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Dec 2020 12:21:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45160) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmKC7-0005ij-84 for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2020 12:21:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43827) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmKC7-0006Xr-0s for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2020 12:21:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kmKC6-0004ve-T3 for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2020 12:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Dec 2020 17:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45072 X-GNU-PR-Package: emacs Original-Received: via spool by 45072-submit@debbugs.gnu.org id=B45072.160736162918864 (code B ref 45072); Mon, 07 Dec 2020 17:21:02 +0000 Original-Received: (at 45072) by debbugs.gnu.org; 7 Dec 2020 17:20:29 +0000 Original-Received: from localhost ([127.0.0.1]:55370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmKBZ-0004uC-J5 for submit@debbugs.gnu.org; Mon, 07 Dec 2020 12:20:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmKBW-0004tw-4C for 45072@debbugs.gnu.org; Mon, 07 Dec 2020 12:20:28 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59983) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmKBQ-0006Ni-NG; Mon, 07 Dec 2020 12:20:20 -0500 Original-Received: from [176.228.60.248] (port=3750 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kmKBP-0006mO-UK; Mon, 07 Dec 2020 12:20:20 -0500 In-Reply-To: (message from Jean Louis on Mon, 7 Dec 2020 19:42:45 +0300) 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:195265 Archived-At: > Date: Mon, 7 Dec 2020 19:42:45 +0300 > From: Jean Louis > Cc: 45072@debbugs.gnu.org > > Why is that default there? Because minibuffer input can easily create one or more additional windows, e.g. to show the completion candidates, and we don't want that to be left on display when you exit the minibuffer. My recommendation is not to "abuse" the recursive editing; the ELisp manual rightfully warns against that, albeit indirectly. If you frequently need ti switch away of the minibuffer without exiting it, I suggest to use a separate frame for your excursions: when exiting the minibuffer, Emacs only restores the windows on the frame where you entered the minibuffer (assuming you aren't using minibuffer-only frames).