From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis 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: Thu, 10 Dec 2020 15:07:42 +0300 Message-ID: References: <835z5d8lhc.fsf@gnu.org> <87pn3k87tx.fsf@mail.linkov.net> <877dpqzx3o.fsf@mail.linkov.net> <57c673d0-e6e7-120d-8893-92b02ab1530e@gmx.at> <8f775254-65d2-6f3d-4c71-b6f10bb2b278@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3579"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Cc: Juri Linkov , larsi@gnus.org, 45072@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 10 13:52:32 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 1knLQu-0000of-8b for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Dec 2020 13:52:32 +0100 Original-Received: from localhost ([::1]:55834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knLQt-0002QM-8p for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Dec 2020 07:52:31 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knLJe-0003kp-Lv for bug-gnu-emacs@gnu.org; Thu, 10 Dec 2020 07:45:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53875) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knLJe-0007mV-Ds for bug-gnu-emacs@gnu.org; Thu, 10 Dec 2020 07:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1knLJe-0002rl-BV for bug-gnu-emacs@gnu.org; Thu, 10 Dec 2020 07:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Dec 2020 12:45: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.160760425610939 (code B ref 45072); Thu, 10 Dec 2020 12:45:02 +0000 Original-Received: (at 45072) by debbugs.gnu.org; 10 Dec 2020 12:44:16 +0000 Original-Received: from localhost ([127.0.0.1]:37186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knLIu-0002qN-Jc for submit@debbugs.gnu.org; Thu, 10 Dec 2020 07:44:16 -0500 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:44481) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knLIr-0002q2-C5 for 45072@debbugs.gnu.org; Thu, 10 Dec 2020 07:44:15 -0500 Original-Received: from localhost ([::ffff:41.202.241.31]) (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000001E527.000000005FD21814.00002977; Thu, 10 Dec 2020 05:44:04 -0700 Content-Disposition: inline In-Reply-To: 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:195644 Archived-At: * martin rudalics [2020-12-10 14:52]: > >> All these scenarios are with customizations. I'm not experienced enough > >> to tell whether they (can) happen in practice. > > > > Do you refer to standard completion in minibuffer that it may be > > customized to replace a present window with the completion instead of > > opening new windows? > > > > That would be nice as I would like to avoid those jerks when there are > > 2 horizontal windows and then third one appears for completion jerking > > both of them up and narrowing those visible windows to almost > > invisible rendering both of them unusable. > > Doesn't it do that already? Note that here and elsewhere I'm purely > speculating how application writers and users might tweak things. That is what I am pointing to, it does not do that what you described, so descriptions misses the point. They don't apply. When I have this window: +---------------------+ | | | | | | | | +---------------------+ | | | | | | | | |---------------------| +--------------------+ Then upon completion it becomes this: +---------------------+ | | +---------------------+ | | +---------------------+ | | | completion here | | | | | | | | | |---------------------| +---------------------+ So the third window appears there. It is not replacement. I would rather prefer replacement than third window jerking other two up and rendering them not usable. But that is not subject of this bug report. > These should be already addressed by my earlier patch. But Juri meant > that we have to handle completions windows separately since otherwise > they may persist. Thank you, I will try but not ready. My version is days old, need to upgrade to new version to test the patch.