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: Wed, 20 Jul 2022 10:54:46 -0400 Message-ID: References: <5d86d890-9a2e-e4d6-13fb-da03285ea003@gmx.at> <61fe102b-eec2-9711-560e-c141ed3cc6e4@gmx.at> <171bab25-5eb2-884b-5c32-bcfe4fed21cc@gmx.at> <11e7e566-f626-fcf4-adfc-d03efa0d861c@gmx.at> <834jzepg3t.fsf@gnu.org> <83zgh6nz5c.fsf@gnu.org> <83y1wokmfr.fsf@gnu.org> 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="36446"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: rudalics@gmx.at, 56305@debbugs.gnu.org, acm@muc.de To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 20 16:56:13 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 1oEB7U-0009F3-4D for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Jul 2022 16:56:12 +0200 Original-Received: from localhost ([::1]:35074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEB7R-0008MM-VT for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Jul 2022 10:56:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEB7K-0008L3-T3 for bug-gnu-emacs@gnu.org; Wed, 20 Jul 2022 10:56:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEB7K-0000NN-Kl for bug-gnu-emacs@gnu.org; Wed, 20 Jul 2022 10:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oEB7K-0003tz-EF for bug-gnu-emacs@gnu.org; Wed, 20 Jul 2022 10:56: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: Wed, 20 Jul 2022 14:56: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.165832890814926 (code B ref 56305); Wed, 20 Jul 2022 14:56:02 +0000 Original-Received: (at 56305) by debbugs.gnu.org; 20 Jul 2022 14:55:08 +0000 Original-Received: from localhost ([127.0.0.1]:58520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEB6S-0003sg-8D for submit@debbugs.gnu.org; Wed, 20 Jul 2022 10:55:08 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:60315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEB6Q-0003s3-DY for 56305@debbugs.gnu.org; Wed, 20 Jul 2022 10:55:07 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 8532C100154; Wed, 20 Jul 2022 10:55:00 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 389DD100120; Wed, 20 Jul 2022 10:54:58 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1658328898; bh=cCCeThtpQVAxInS9LptRie/4dUE47y6nCxIpcmQsoYQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=T2RskVEcUOcolhqR4Z7JPw526cfRhIr9Ra4zJD0Gf0I/V/crcCAPJkIq9NocTHli+ 8giS+ZBva2c8qS8r9PVUoB1iT5QIiYvq2KUG2moeoH0oIuGLm5BwETlCkO5/3G+EEO BbsgTdDpcwl3q/CEqsKqj3xmbGUQXSjJX3zNlDdGvqogS245qn/oiliWtdoUbZoKFV t3KxCF+T7HdzKemJBPb2Oxb8aaW/D7kh12TtH6H1MyT5HXktgbj0y3QEz/T22T8LSN nr8hmiz4ojmdU3BWWOmLvwV+cAXknhJ/gHvn4h7AmTVHuNeGNP5MMtfjfKHyWWCURG 5oOc6omVB0hSg== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 2D6D7120798; Wed, 20 Jul 2022 10:54:58 -0400 (EDT) In-Reply-To: <83y1wokmfr.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 20 Jul 2022 15:17:44 +0300") 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:237508 Archived-At: >> But `save-selected-window` can't&shouldn't bind `inhibit-redisplay`. > I don't think I understand. First, how is save-selected-window > related to this discussion? `save-selected-window` uses `select-window`. [ Actually I meant to write `with-selected-window` which is even more directly related, but the same hold for `save-selected-window`. ] > And second, why cannot/shouldn't it bind inhibit-redisplay? Because code within a `save-selected-window` may want to use `sit-for`, `read-event`, `recursive-edit`, `read-from-minibuffer`, .. Stefan