From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#56305: 29.0.50; 'yes-or-no-p' deselects minibuffer frame Date: Mon, 18 Jul 2022 10:44:13 -0400 Message-ID: References: <61fe102b-eec2-9711-560e-c141ed3cc6e4@gmx.at> <171bab25-5eb2-884b-5c32-bcfe4fed21cc@gmx.at> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25816"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Alan Mackenzie , Eli Zaretskii , 56305@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 18 16:45:21 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 1oDRzs-0006UT-D0 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Jul 2022 16:45:20 +0200 Original-Received: from localhost ([::1]:56098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDRzr-0003NB-GE for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Jul 2022 10:45:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDRza-0003HZ-MM for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 10:45:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54050) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDRza-00027p-Aa for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 10:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oDRza-0007ec-79 for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 10:45:02 -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, 18 Jul 2022 14:45:02 +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.165815546429359 (code B ref 56305); Mon, 18 Jul 2022 14:45:02 +0000 Original-Received: (at 56305) by debbugs.gnu.org; 18 Jul 2022 14:44:24 +0000 Original-Received: from localhost ([127.0.0.1]:51809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDRyy-0007dS-HR for submit@debbugs.gnu.org; Mon, 18 Jul 2022 10:44:24 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:42627) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDRyv-0007dC-WF for 56305@debbugs.gnu.org; Mon, 18 Jul 2022 10:44:23 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 90C0B8064F; Mon, 18 Jul 2022 10:44:16 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 410C98054F; Mon, 18 Jul 2022 10:44:15 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1658155455; bh=jboHLBSw/LFl824VVKn09RsmFhfP7j2eGeYZvOkJkN4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=KCQ++reaNv5YqeVVk1N2sQ7wAqIkSYm3Ug2UcWZKD34+lVB4BKeMR46ICRUdwv6sl xF6r3vteDGozziJpX61Lc5Mg365o6lZxPQUhWq++up315xcJgFy6pL1SGXmwcYdy1I ZB4CgVol401/UGKhsw45E2t3Ss+psWbHr+ls0Zpw6EUsJZnw9edjU2yaxQaF2ClCw8 gqLsjfsJUpGBhNVNCVz9GR8205crbDZ6hg6E2lhj42vp6VLndJgFpoVzOEccaywqlN hHyYFhrxxtt6sj1ouetNhyQeYBCKi7aJZWzAMdC1RYaXF3GjOS43WK9wNKpZXEPY0J s8x0TOXhMSSXw== Original-Received: from pastel (unknown [45.72.196.165]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 0D816120103; Mon, 18 Jul 2022 10:44:15 -0400 (EDT) In-Reply-To: (martin rudalics's message of "Mon, 18 Jul 2022 09:36:28 +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:237355 Archived-At: > to do_switch_frame. In a nutshell, all these additional functions were > provided to better sort out two underlying behaviors: > > (1) The WM tells us that it now will direct input to another frame and > Emacs must select that frame in order to stay in synch with the WM. > > (2) Emacs wants to change the selected frame and we have to inform the > WM about that change so it will direct input to it and call us back > via (1) that it now will do so. And of course we also need (3) Emacs wants to change the selected frame without touching anything related to focus because it's just a temporary change to run code in another context. Stefan