From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Madhu Newsgroups: gmane.emacs.devel Subject: Re: Stop frames stealing eachothers' minibuffers! Date: Mon, 09 Nov 2020 20:39:39 +0530 Message-ID: References: <20201031194419.GC5887@ACM> <834kmago8m.fsf@gnu.org> <20201031203914.GD5887@ACM> <835z6ogc1h.fsf@gnu.org> <20201101195313.GA6190@ACM> <83sg9rd6cp.fsf@gnu.org> <20201102185147.GC7297@ACM> <83mtzzd0s3.fsf@gnu.org> <20201103210853.GA21923@ACM> <83ft5pax2p.fsf@gnu.org> <20201104173954.GA14535@ACM> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32159"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Cancel-Lock: sha1:M2cocFHsqHQK/MMoAPbAwZQjvWY= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 09 16:12:20 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 1kc8qB-0008GF-KO for ged-emacs-devel@m.gmane-mx.org; Mon, 09 Nov 2020 16:12:19 +0100 Original-Received: from localhost ([::1]:52888 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kc8qA-0007dx-NN for ged-emacs-devel@m.gmane-mx.org; Mon, 09 Nov 2020 10:12:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54718) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kc8nj-0005GN-2b for emacs-devel@gnu.org; Mon, 09 Nov 2020 10:09:47 -0500 Original-Received: from static.214.254.202.116.clients.your-server.de ([116.202.254.214]:40000 helo=ciao.gmane.io) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kc8nh-0006Lq-F6 for emacs-devel@gnu.org; Mon, 09 Nov 2020 10:09:46 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kc8nc-0005Co-SU for emacs-devel@gnu.org; Mon, 09 Nov 2020 16:09:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/09 08:01:24 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:258945 Archived-At: * Alan Mackenzie <20201104173954.GA14535@ACM> : Wrote on Wed, 4 Nov 2020 17:39:54 +0000: > On Wed, Nov 04, 2020 at 18:47:10 +0200, Eli Zaretskii wrote: >> > Date: Tue, 3 Nov 2020 21:08:53 +0000 >> > From: Alan Mackenzie > >> > OK, I've extracted a new function `live_minibuffer_p' from >> > Fminibufferp, and call that directly from the mini-window emptying >> > code. (The new second parameter in Fminibufferp is still needed, >> > since it is used in minibuffer.el.) [snip] These patches introduce a regression on "graphical" emacs - 1. emacs -Q 2. M-: (setq pop-up-frames 'graphic-only) 3. M-! g This should pop up a *Completions* buffer in a new frame. On choosing the completion (via a button1 or by navigating to the desired point and typing RET) - the frame should be automatically hidden[1] This doesn't happen anymore and the completion buffer and frame remain there taking up focus. [1] default value for frame-auto-hide-function is #'iconify-frame, but if your window manager cannot iconify it, set (setq frame-auto-hide-function #'delete-frame)