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: Thu, 19 Nov 2020 10:40:35 +0000 Message-ID: <20201119104035.GB6259@ACM> References: <83v9ed3nbw.fsf@gnu.org> 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="1682"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org, Stefan Monnier , enometh@meer.net To: Andrii Kolomoiets Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 19 11:42:31 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 1kfhOZ-0000Gw-02 for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Nov 2020 11:42:31 +0100 Original-Received: from localhost ([::1]:54806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfhOX-0001q7-On for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Nov 2020 05:42:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfhMp-0000ZX-SO for emacs-devel@gnu.org; Thu, 19 Nov 2020 05:40:43 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:52447 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.90_1) (envelope-from ) id 1kfhMl-0001ku-S8 for emacs-devel@gnu.org; Thu, 19 Nov 2020 05:40:43 -0500 Original-Received: (qmail 29048 invoked by uid 3782); 19 Nov 2020 10:40:36 -0000 Original-Received: from acm.muc.de (p4fe153fb.dip0.t-ipconnect.de [79.225.83.251]) by localhost.muc.de (tmda-ofmipd) with ESMTP; Thu, 19 Nov 2020 11:40:35 +0100 Original-Received: (qmail 7935 invoked by uid 1000); 19 Nov 2020 10:40:35 -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-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/19 05:40:36 X-ACL-Warn: Detected OS = FreeBSD 9.x or newer [fuzzy] 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=unavailable 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:259419 Archived-At: Hello, Andrii. On Wed, Nov 11, 2020 at 09:47:39 +0200, Andrii Kolomoiets wrote: > Stefan Monnier writes: > >>> it arguably (philosophically) better matches the default setting of > >>> `enable-recursive-minibuffers`. > >> Maybe I'm missing something, but the message "Command attempted to use > >> minibuffer while in minibuffer" is displayed in other frame, just like > >> in Emacs 27. > > I'm not sure which scenario you're referring to. What I was referring > > to is the fact that if you do `M-: (message "hello") RET`, the "hello" > > message subsequently follows the selected frame (until it gets replaced > > by another message or erased by command that doesn't emit any message). > Sorry for not quoting the part of the message I was talking about. I'm > referring to this scenario: > C-x 5 2 > M-x > C-x 5 o > M-x > With the default setting of `enable-recursive-minibuffers`, the > minibuffer is moved to active frame, but the error message is displayed > in the other frame. I've just committed a fix to the Emacs master branch. -- Alan Mackenzie (Nuremberg, Germany).