From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier 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, 19 Apr 2021 09:54:12 -0400 Message-ID: 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> <35666a8a-6888-972c-4e20-bf05cf09d764@gmx.at> <87tuso16qn.fsf@mail.linkov.net> <87pn26y3uj.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24175"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) 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 Mon Apr 19 15:55:10 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 1lYUMo-00068u-15 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Apr 2021 15:55:10 +0200 Original-Received: from localhost ([::1]:42698 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYUMn-0007t8-4a for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Apr 2021 09:55:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYUMg-0007sq-6z for bug-gnu-emacs@gnu.org; Mon, 19 Apr 2021 09:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37373) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYUMf-0003ax-W3 for bug-gnu-emacs@gnu.org; Mon, 19 Apr 2021 09:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYUMf-0004LK-St for bug-gnu-emacs@gnu.org; Mon, 19 Apr 2021 09:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Apr 2021 13:55: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.161884046316640 (code B ref 45072); Mon, 19 Apr 2021 13:55:01 +0000 Original-Received: (at 45072) by debbugs.gnu.org; 19 Apr 2021 13:54:23 +0000 Original-Received: from localhost ([127.0.0.1]:48913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYUM3-0004KJ-0D for submit@debbugs.gnu.org; Mon, 19 Apr 2021 09:54:23 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:30385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYULz-0004Jz-Lz for 45072@debbugs.gnu.org; Mon, 19 Apr 2021 09:54:20 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 56BB080A77; Mon, 19 Apr 2021 09:54:14 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 15AB8805D6; Mon, 19 Apr 2021 09:54:13 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1618840453; bh=jiv8KkUHw3pVpghpNsSdhfKU8LlEsGdBx0kF6bZHVGI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=AfL11R65zGgdkdlVwcRop7EwY7PImkbCtu5ZZVmyo/JFnR0G4vsFQCBnSsZer7LtF TgL5xhh4BC9yN4/rS6kqCgc5P0wTgWJ0e5OHVOz5G+Qq5pTOoOup0cmt1YL90Xf0Ea SN3RMFbd2yOIKk1ufIA0MmzcVWLrqqD1jnhmd/xMBlJEFr675ZYzpVCwYDdenaXqbt lLeNbilRXU2lwbtAHtBJsy2DPlUs5p9PJCmiNZAVW+8KARNnhoji6N8KBlIBt5Crrg MIi8tsjwvljiz86JaDBFKsAUOASNYWVhA3AOBOXy3yztQCtTwsC7El6z0sbdkP50Aa /7gaMwADd5aTg== Original-Received: from alfajor (104-222-126-84.cpe.teksavvy.com [104.222.126.84]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id C798612018F; Mon, 19 Apr 2021 09:54:12 -0400 (EDT) In-Reply-To: <87pn26y3uj.fsf@mail.linkov.net> (Juri Linkov's message of "Fri, 15 Jan 2021 10:57:40 +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:204455 Archived-At: > It seems that problem is that read_minibuf messes up the windows so much, > that at the end currently the only way to fix this mess is by restoring > the previous window configuration. This means that there is a need > to fix read_minibuf to restore all previous window states without using > restore_window_configuration. Only then it will be possible to add > a user option to disable using restore_window_configuration. But without such an option, it's hard to find and fix the problems, because they're hidden by the `restore_window_configuration`. So maybe we should introduce such an option, and then force ourselves to live with it and then fix the problems we encounter. Stefan