From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics 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: Wed, 9 Dec 2020 16:16:39 +0100 Message-ID: <532737ad-8326-8f07-766f-780838a4718e@gmx.at> References: <86eek3hvu5.fsf@protected.rcdrun.com> <87eek1fvgf.fsf@gnus.org> <83eek18ref.fsf@gnu.org> <835z5d8lhc.fsf@gnu.org> <87pn3k87tx.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38293"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Juri Linkov , 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 Wed Dec 09 16:18:13 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 1kn1EL-0009kS-4x for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Dec 2020 16:18:13 +0100 Original-Received: from localhost ([::1]:52812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kn1EK-0005fy-3u for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Dec 2020 10:18:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34674) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kn1EB-0005eT-32 for bug-gnu-emacs@gnu.org; Wed, 09 Dec 2020 10:18:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52411) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kn1EA-0005GO-SQ for bug-gnu-emacs@gnu.org; Wed, 09 Dec 2020 10:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kn1EA-0008P5-O0 for bug-gnu-emacs@gnu.org; Wed, 09 Dec 2020 10:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Dec 2020 15:18: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.160752704031371 (code B ref 45072); Wed, 09 Dec 2020 15:18:02 +0000 Original-Received: (at 45072) by debbugs.gnu.org; 9 Dec 2020 15:17:20 +0000 Original-Received: from localhost ([127.0.0.1]:35717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kn1DT-00089f-Pf for submit@debbugs.gnu.org; Wed, 09 Dec 2020 10:17:19 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:59559) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kn1DS-00084D-8y for 45072@debbugs.gnu.org; Wed, 09 Dec 2020 10:17:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607527000; bh=BWOiQp8tICIGUd8fltIokc6ooP/Xhozq2azEmQqheGs=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=AKtc6nzkOQp3tn9oRC3org01J47yRqP80LEZTnFv7pW29pfIoJ74pc/rGGaPHI/71 GHuDAaJqnJ1s/ezc9CvvLb5g7O3916m41E6Cu4Rl5o/sWxpDyVgZ7qyPpQ3/1M1i9B /8GwzDkL7UWEEA/aeKN/ozPoYMTph/0c1skWbiz8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.100] ([212.95.5.220]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M6UZv-1kl6SP2Vyb-006v3d; Wed, 09 Dec 2020 16:16:40 +0100 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K1:WzIGgSicst0Nm9BpQibMiov2o+gBYfhk4/8DV0wu0yAG3hAXjpv AXyv0sQqtz148HmXzOj35lEWi5IECKvyA2rkwotCT4tDMBrPHjpLDcdIoH4esSz4fxeUfHz O/r5Bb0+t6atLl3IKGoCsUaOfIaq0VHWTmGGNz0UEpC3/GPMC25QxKEWiUPl2HEKT6Kyy+Q rySK6/YnSsTDzNOML/HAQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:QnuEGnC89KM=:Pw6Kvd9zUAO8n0J6O5OXSq fCdDO0oua4no7rtx4hn3DmnyeGGUIG11hSjEnVEQZzaVXA6p5XU9g/UimV7BTpiEKDhKdCf7K t/q5+BXnHHFYaxqROB8OXXiKRU7vuJmH/kwlg04iD/ufZu7thQRnpigHyGhRm2tQv8hVvvuUW cMmOAYj2uW+/I0hQREzWZlDCrZWi5opZAmPg56oUfetoZMtMFtW9ivcuz8Xy2RZ0CWpbc0aWx fSAtN/Uv5akQ9CC73GI1I7bzCWCrJ2mVEMsMwK3gEiV3juaF+9M4bXbIXGiBllvXDtX7iblN1 u1gqqVy6yvud7S1PFh9zGU+CAG6Qa2K3T/mUQEnoJEf1fbRLnxbk7ZLzsIdzRe3/mXiEcSO4z Oxn2/9i/jlUD3p46dQRa4QSCSJVN6/4LQOsw5Dx/xBePH2t0iPsDuXZ4iENDuNoPGq1RlK5C9 pmx+9nhA4kX5mPb40907btJidQq/Mk5vrjBTHINOzqaA6loNxIBYWZDOh6IS81HZ0hkgjf25v eCHOG6hsNi0iul0C0sGVwxGqNq0sYnxjUb/0UcTBxhmnTJLYZx1xZkVgM3/o+Qr0BXZV3Bpiz /bgXr1bBHyFvcVctNT7pEKdkdnWK5XhKmpJNv361sI49s4fFOIuOO2qoq/7/t4wxK8klgmyMY iZ0q0JItiTSXXdjqEVXGo5YYwKMjFyzU6sxS3Lj5/9x+TQ6+PlWvIRHW8EGVlpUAkNBreCsSQ ge+eV4AaUZyN7N4apaexZ6zHYxGpsYeqR5PFUbPdmHccFIB8HLsidO44IAKdTRW490Ngcya8 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:195521 Archived-At: >> Such windows must be removed by the mechanism that created them. I >> hardly ever see such windows here because I'm apparently using some >> arcane completions mechanism that always puts them in place right away. >> But if I'm not mistaken, several such windows may pop up during one and >> the same minibuffer input operation and IMO all of them should pop down >> automatically as soon as they served their purpose. > > I am not sure if my case was understood, let me use artist-mode: > > +----------------------------+ > | | > | I was changing this | > | during minibuffer edit | > +----------------------------+ > | I was also changing this | > | during minibuffer editd | - > | | > +----------------------------+ > +----------------------------+ > > If I would have larger screen I would put all necessary buffers around > and use them to get references for minibuffer input. Instead I was > switching buffers in upper windows during minibuffer edit. It is not > related to shrinking or completions. My minibuffer was not completing > rather just reading string. During editing I would go up and switch to > one image or other. I was in the loop of minibuffer editing of > multiple coordinates. Upon each editing the already set images in > upper windows would switch back where minibuffer was invoked > initially. > > That forces me to use outside program to keep pictures on screen when > required and makes editing less useful. Have you tried my latest patch? The problem Juri raised is that Emacs itself might pop up or reuse other windows in order to display text related to the minibuffer interaction and I think that such windows should be deleted or get their buffer restored by the interaction itself (using 'quit-window' probably). martin