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: Sun, 13 Dec 2020 08:26:34 +0100 Message-ID: <35666a8a-6888-972c-4e20-bf05cf09d764@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> <877dpqzx3o.fsf@mail.linkov.net> <57c673d0-e6e7-120d-8893-92b02ab1530e@gmx.at> <87wnxqxdx5.fsf@mail.linkov.net> <73e2a032-d3e9-bc94-2f72-246096ce03cb@gmx.at> <87pn3e697i.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="5419"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, Jean Louis , 45072@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 13 08:28: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 1koLnl-0001Iv-1G for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Dec 2020 08:28:17 +0100 Original-Received: from localhost ([::1]:54420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koLnk-0000NS-41 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Dec 2020 02:28:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koLnW-0000NK-5x for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 02:28:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35808) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koLnV-0007Jh-VI for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 02:28:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koLnV-0007pe-QS for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 02:28:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Dec 2020 07:28:01 +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.160784443630005 (code B ref 45072); Sun, 13 Dec 2020 07:28:01 +0000 Original-Received: (at 45072) by debbugs.gnu.org; 13 Dec 2020 07:27:16 +0000 Original-Received: from localhost ([127.0.0.1]:47354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koLmm-0007nt-5f for submit@debbugs.gnu.org; Sun, 13 Dec 2020 02:27:16 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:47531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koLmk-0007nU-5u for 45072@debbugs.gnu.org; Sun, 13 Dec 2020 02:27:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607844396; bh=zn3F2YwELI5sGBEgo8TRvXLQMJqbN70xpbDnZMsk9Qw=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=BVjodZzE3Fa7//QsPqEhelc/4ueYo2oojkl55TP2pBlH8ANFjhYkA/GunysgFpse5 KBP4uR+FnzUpNdolxgXGqkGV1wvRurl0GgmmYAeIDlWwsnoTOPlizlkUFJCqPyXcdh DrAu6NUMbR6cYoJf1kKkbkBsZnGTnXcoG/d2ST10= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.100] ([212.95.5.101]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MeU4y-1kDv5s0mma-00aUgN; Sun, 13 Dec 2020 08:26:36 +0100 In-Reply-To: <87pn3e697i.fsf@mail.linkov.net> Content-Language: en-US X-Provags-ID: V03:K1:IOKR4bsRTnNrSfHJato+1VhKW64dd+CjYX/HNkXcNZ2eUNy0mJS M5jXWdgDt54eeIt5b702XNSTqEB1oORfLRPo/YbBQs23E7KWnQszjw4BNwqVs34caPsopjn 6V9kP0p0QueyM4W+DFOdRbVCi259lLgNVUaIWkD+//0kOCaCsB+L1pscvqaGsr1fkewUH1F eKBE+VI0KAccknB7ltSLQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:663LiHweLnk=:Ic+TqpcPNdFLy9xpzzbe7H JKSQizWCQuPqBij2G8RcRwXOZC0J22kxgXzcpBhMuaZ7jzRab1bSPPXrS6Uv68hfzs48OofXg OjFv4PWb5CJZkkW8DnIhZJzp3NQvUFahzyGVo6zT2Sffxw0Rcx2GbM+ugnElNlBLkZj3APJCE V8U9kWiknVSKnbIKw6/A5/tQzBIpyMzCydRs0QeEcLQxuoOmkiU6uLoyGZIm3LtiaOTIJlWbN 8AUdeCS/TdHUxYddlAxNl1jeoxUOK1av/GlzlzhM8fWyHSRWYeR4/JQT2TXpvxgLAFYChs2oS wLv+ExaroWY2a+N9/EMWjdvOOCkPbgHEJ4HIZbjbDTcY17iTfm/Xh0P+Pmr25+iAH6O4yCnqt nl/jqOv63puDz++kTS25sfGCLQ+hm7FDx7tAulcGIVOOO1X57DAGC2dWfFQSGahw1mlubW961 r/AJzw7xgr7ed7dOQcLFrFf2XABAwS60rljhkbP6Ii37DxJk7vj9P3osw1DoMw/dwLYY/MOZC cHR1C4AbFL76YtYZ+34jiyxMdD4HmCAliAsXG2RGF/6ijR/L4tduaS5eBCzVo9jZ3VDv01bKW +JlOo+0z1dT0W0jqpQ7VrlfcDHlM9yUUDHM0jR2WiLEqarZ3+iCSOZLRySOGUpVwyIZd+I/c6 3y5uDg//dyWPJ8GgGfOdQzwqTiD3tja++WA4zOjV+SBdIqNhoMpCjQAYkiJnwFIBG1+/Og/78 b2gLHRZZYyEysxkUYOm0E1HWFnizbt9l4SfIGpPps5TPw0Nlx7WcZLWHgbxNdtynh509mq4A 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:195935 Archived-At: > I tried to add it to 'exit-minibuffer', and it seems working fine > with non-nil read-from-minibuffer-restore-windows, and I know no other > place that could call minibuffer-hide-completions: But 'minibuffer-hide-completions' uses 'bury-buffer' which would delete the completions window unconditionally even when it was only reused for showing completions. IMO 'bury-buffer' is practically always the wrong choice for Lisp functions to call. martin