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, 11 Jul 2022 13:06:40 -0400 Message-ID: References: <5d86d890-9a2e-e4d6-13fb-da03285ea003@gmx.at> <61fe102b-eec2-9711-560e-c141ed3cc6e4@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="28159"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: martin rudalics , Eli Zaretskii , 56305@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 11 19:07:43 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 1oAwsp-00079O-3V for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Jul 2022 19:07:43 +0200 Original-Received: from localhost ([::1]:39498 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAwsn-0006Y7-OS for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Jul 2022 13:07:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAwsA-00062G-Op for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2022 13:07:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46985) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oAwsA-00083f-Gu for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2022 13:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oAwsA-0000VW-Bw for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2022 13:07: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, 11 Jul 2022 17:07: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.16575592111933 (code B ref 56305); Mon, 11 Jul 2022 17:07:02 +0000 Original-Received: (at 56305) by debbugs.gnu.org; 11 Jul 2022 17:06:51 +0000 Original-Received: from localhost ([127.0.0.1]:40882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oAwrz-0000V7-0R for submit@debbugs.gnu.org; Mon, 11 Jul 2022 13:06:51 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:23825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oAwrx-0000Ut-Eb for 56305@debbugs.gnu.org; Mon, 11 Jul 2022 13:06:49 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id CD466100173; Mon, 11 Jul 2022 13:06:43 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 99D9110012B; Mon, 11 Jul 2022 13:06:42 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1657559202; bh=+PsLJrOH+tBRefqENOc94YTq+HMgjhOZBuEpTUlqmvM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=KKiXbHAi6dIYg7/t5xUQnlBelToiCAj/F9Rlb9mHDHEa6KD+Oo1XExOxP5v8A7GBD m9Z782pGDxfvoGaMFvZzMptlDjwwepmO/HHwQlub8ixlY8PKUjTVl9ggA0VmnKQhzA zAt20hkEhF1/mihM60UYwWTgkTp+oUyJG+kXviX7REGc4IVY9iugPy9XYTgr24Pf/7 aLZm+lKIuwv40Krf04c8esoFPJFlRcsfmb8tQ3HI1XZvkJ6Jfbg60tBezLB/erF4OQ UMbab6lzfpwjYkVb8GIkk/iQ5XaLlPuW+z0J6OkQsjhiL3L9tGSuGGpOqh+fNUryhe Cjs9zBB69ltIA== Original-Received: from pastel (unknown [45.72.196.165]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 61B3E1202C1; Mon, 11 Jul 2022 13:06:42 -0400 (EDT) In-Reply-To: (Alan Mackenzie's message of "Mon, 11 Jul 2022 16:22:21 +0000") 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:236703 Archived-At: > Apologies: the doc string for select-window virtually says it grabs the > focus. Couldn't we go the whole way, and explicitly state that > select-window is really "select-window-set-input-focus"? This sounds problematic at the very least for cases like `with-selected-window` and `save-window-excursion`, where we don't really want the code to "set and (un/re)set" the focus. And similarly when code does `select-window` while Emacs doesn't have focus at all. We do have a kind of messy situation w.r.t distinguishing the notion of selected-frame (and selected-window to some extend) from its interaction with window-manager focus. But I'm not sure we can (nor should) really unify the two. Stefan