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 12:12:34 -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> 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="6829"; 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 Mon Jul 18 18:13:30 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 1oDTNB-0001Tq-SA for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Jul 2022 18:13:30 +0200 Original-Received: from localhost ([::1]:45118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDTN9-00056x-PR for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Jul 2022 12:13:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDTMl-00056g-N6 for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 12:13:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54138) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDTMk-0007m3-DV for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 12:13:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oDTMk-0001Ze-9u for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 12:13: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 16:13: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.16581607686018 (code B ref 56305); Mon, 18 Jul 2022 16:13:02 +0000 Original-Received: (at 56305) by debbugs.gnu.org; 18 Jul 2022 16:12:48 +0000 Original-Received: from localhost ([127.0.0.1]:51896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDTMW-0001Z0-2t for submit@debbugs.gnu.org; Mon, 18 Jul 2022 12:12:48 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:19189) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDTMQ-0001YU-Up for 56305@debbugs.gnu.org; Mon, 18 Jul 2022 12:12:44 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 887D28064F; Mon, 18 Jul 2022 12:12:37 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id E4381804AB; Mon, 18 Jul 2022 12:12:35 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1658160755; bh=+1nK2j7+vxf5EHXaX7Lg+wQLKVvb/xpKj+H0j8vvPGo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=H1IhNXFkcvpVX/nTMFnDaAbHlJNpkdpt7GLRdqdcYOuvH6YF3IrVxl9VglyXo4RtJ 1oKQY5AYBtniUCf5IctafwG8U7AbhigZiXsoKwC+haN0aVhCdtTBO0M/yArNrQyXPP W2iZEcn5xfS9U8BTmwzHO8XIC5mHpmIBMghTkE07nDypPskKGkl5b2uc67GW4bbU7M b8VwouJ+4SIPD2Gjj4u5VL5jyuViPbOKSHNiGqibGfBKGBn2PWvIzW3INVOPyy4YzN FBvSBzaZqgeaSI5gNZ/1zldnB+ZNtqvtgKc4C+dq8njehiPx5YX3rp8yAbTFM019lE 4I5ezbvzinTqg== Original-Received: from pastel (unknown [45.72.196.165]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id AB65E12023D; Mon, 18 Jul 2022 12:12:35 -0400 (EDT) In-Reply-To: <834jzepg3t.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 18 Jul 2022 18:58:46 +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:237367 Archived-At: >> Hmm... following the idea above, maybe select-frame/window should never >> call resize_mini_window, and instead that should only take place at the >> next redisplay. > > That's exactly what happens: resize_mini_window just fiddles with some > variables, the actual resizing happens as part of redisplay. It's the > moral equivalent of what happens when the user types "C-x ^". But we need to make sure that selecting a window and then "selecting back" the original doesn't cause those vars to be changed. Stefan