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.bugs Subject: bug#56305: 29.0.50; 'yes-or-no-p' deselects minibuffer frame Date: Wed, 6 Jul 2022 19:22:29 +0000 Message-ID: References: <83h73w8f7i.fsf@gnu.org> <83zghn7ckd.fsf@gnu.org> <83zghm5evt.fsf@gnu.org> <878rp6qd9t.fsf@igel.home> <874jzuqcr7.fsf@igel.home> 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="16426"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, Eli Zaretskii , 56305@debbugs.gnu.org, monnier@iro.umontreal.ca To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 06 21:24:25 2022 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 1o9AdN-00046A-Dz for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Jul 2022 21:24:25 +0200 Original-Received: from localhost ([::1]:34492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9AdL-0007Xd-Vk for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Jul 2022 15:24:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9Ac2-0006VU-Gw for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 15:23:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33082) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9Ac2-0004Wy-0V for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 15:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o9Ac1-0001wF-Qg for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 15:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Jul 2022 19:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56305 X-GNU-PR-Package: emacs Original-Received: via spool by 56305-submit@debbugs.gnu.org id=B56305.16571353597402 (code B ref 56305); Wed, 06 Jul 2022 19:23:01 +0000 Original-Received: (at 56305) by debbugs.gnu.org; 6 Jul 2022 19:22:39 +0000 Original-Received: from localhost ([127.0.0.1]:55212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9Abf-0001vK-Jy for submit@debbugs.gnu.org; Wed, 06 Jul 2022 15:22:39 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:38290 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1o9Abd-0001v6-5X for 56305@debbugs.gnu.org; Wed, 06 Jul 2022 15:22:37 -0400 Original-Received: (qmail 11490 invoked by uid 3782); 6 Jul 2022 19:22:30 -0000 Original-Received: from acm.muc.de (p4fe15bd4.dip0.t-ipconnect.de [79.225.91.212]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 06 Jul 2022 21:22:30 +0200 Original-Received: (qmail 9111 invoked by uid 1000); 6 Jul 2022 19:22:29 -0000 Content-Disposition: inline In-Reply-To: <874jzuqcr7.fsf@igel.home> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de 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:236297 Archived-At: Hello, Andreas. On Wed, Jul 06, 2022 at 21:09:32 +0200, Andreas Schwab wrote: > On Jul 06 2022, Alan Mackenzie wrote: > > Not obviously. We're about to run the recursive edit for read_minibuf, > > so the frame with the mini-window should have the focus anyway. > Does it? I don't see why Emacs must be in the foreground when it wants > to read from the minibuffer. Ah right - a different program might have the focus, and a user typing into that other program would suddenly find herself typing into the Emacs minibuffer instead. This isn't ideal. Maybe there's some way of testing whether some Emacs frame has the focus before executing Fx_focus_frame, and if not, not executing Fx_focus_frame. > -- > Andreas Schwab, schwab@linux-m68k.org > GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 > "And now for something completely different." -- Alan Mackenzie (Nuremberg, Germany).