From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Stop frames stealing eachothers' minibuffers! Date: Fri, 27 Nov 2020 11:30:38 +0000 Message-ID: References: <53833023-d959-07af-7611-aa2e0bdcc1bc@gmx.at> <0d14bfc4-8e8e-d3b9-e0e1-ee4bf2e6449d@gmx.at> <20201125210947.GB8228@ACM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26892"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Andrii Kolomoiets , emacs-devel@gnu.org, enometh@meer.net, Stefan Monnier , Gregory Heytings , Eli Zaretskii To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 27 12:31:43 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kibyZ-0006rV-GX for ged-emacs-devel@m.gmane-mx.org; Fri, 27 Nov 2020 12:31:43 +0100 Original-Received: from localhost ([::1]:60690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kibyY-00080U-IS for ged-emacs-devel@m.gmane-mx.org; Fri, 27 Nov 2020 06:31:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kibxd-0007Ye-2H for emacs-devel@gnu.org; Fri, 27 Nov 2020 06:30:45 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:10721 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.90_1) (envelope-from ) id 1kibxZ-0007zI-WE for emacs-devel@gnu.org; Fri, 27 Nov 2020 06:30:44 -0500 Original-Received: (qmail 6691 invoked by uid 3782); 27 Nov 2020 11:30:39 -0000 Original-Received: from acm.muc.de (p4fe15c16.dip0.t-ipconnect.de [79.225.92.22]) by localhost.muc.de (tmda-ofmipd) with ESMTP; Fri, 27 Nov 2020 12:30:38 +0100 Original-Received: (qmail 6073 invoked by uid 1000); 27 Nov 2020 11:30:38 -0000 Content-Disposition: inline In-Reply-To: X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.1; envelope-from=acm@muc.de; helo=mail.muc.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:259871 Archived-At: Hello, Martin. On Fri, Nov 27, 2020 at 11:36:47 +0100, martin rudalics wrote: > >> If, with Emacs 28, I set 'minibuffer-follows-selected-frame' to non-nil, > > Do you mean "to nil", here? That variable is non-nil by default. > Right. I meant "to nil" here. > >> the behavior does not entirely match that of Emacs 27 because the second > >> RET must be typed in the first frame. So if some application relies on > >> the exact replication of the behavior of Emacs 27, we have a regression. > > Well the new behaviour is explicitly not wholly compatible with the old. > > I'm not sure that counts as a regression. > Having a customizable variable like 'minibuffer-follows-selected-frame' > whose purpose is to get back the old behavior, should also provide that > old behavior as faithfully as possible IMHO. That is not the purpose of the variable. The purpose is to be able to chose between mental models of a minibuffer in a frame. Eli's mental model is that the MB represents the action which should be performed next. Mine is that a MB is part of the frame it is opened in. So Eli gets to leave m-f-s-f at t, I get to set it to nil. The old behaviour was chaotic and unsystematic, and Eli and I agreed this earlier on in the thread. The recent changes were an attempt to bring the behaviour back, at least partially, to something systematic. The new variable m-f-s-f should enable a user to set the behaviour she wants. Maybe there's something missing (aside from bugs which still need fixing). > martin -- Alan Mackenzie (Nuremberg, Germany).