From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#63967: 28.2; switch-to-buffer in normal window fails if minibuffer window is active Date: Sat, 10 Jun 2023 09:45:11 +0300 Message-ID: <83352z24ug.fsf@gnu.org> References: <83o7lo28e6.fsf@gnu.org> <83cz241rgy.fsf@gnu.org> <835y7v26ys.fsf@gnu.org> <3c82fb01f4aa90537660@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5010"; mail-complaints-to="usenet@ciao.gmane.io" Cc: al@petrofsky.org, rudalics@gmx.at, monnier@iro.umontreal.ca, 63967@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 10 08:46:14 2023 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 1q7sMX-00017r-A1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Jun 2023 08:46:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7sMO-000180-Ly; Sat, 10 Jun 2023 02:46:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7sMM-00017n-J8 for bug-gnu-emacs@gnu.org; Sat, 10 Jun 2023 02:46:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q7sMM-000470-8I for bug-gnu-emacs@gnu.org; Sat, 10 Jun 2023 02:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q7sMM-00077j-4Q for bug-gnu-emacs@gnu.org; Sat, 10 Jun 2023 02:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Jun 2023 06:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63967 X-GNU-PR-Package: emacs Original-Received: via spool by 63967-submit@debbugs.gnu.org id=B63967.168637951227298 (code B ref 63967); Sat, 10 Jun 2023 06:46:02 +0000 Original-Received: (at 63967) by debbugs.gnu.org; 10 Jun 2023 06:45:12 +0000 Original-Received: from localhost ([127.0.0.1]:33117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7sLY-00076E-0h for submit@debbugs.gnu.org; Sat, 10 Jun 2023 02:45:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7sLV-00075w-C4 for 63967@debbugs.gnu.org; Sat, 10 Jun 2023 02:45:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7sLO-0003rU-8n; Sat, 10 Jun 2023 02:45:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=1Ci22ALC4+zjxbTx61ZrJJEQQ5+CVcfotTxK9HfejOs=; b=LTMdmpRdi9Ng Vyx1nfaHBeFsOj2ROpBG4gGXuPYKAKr6uTtk4lVgkTgABv5Jl9RV4FsrMS3iOO/8eKzyOaIergvYQ sfA5Yxa1i1uCs+/RJbbkWYPj+XPU3/JLTO0p4aFBAVYoS8zrWOmMiFWdj1XOaL5iWNVByKdBXf+/K 2l32PBceqerVGx0C/1KjwKxFHxk3kv+a6T77oVJDdNuoilcjPDZ1uEeoirHVtQmQuNOcM5isvuX1H 8UPp78CM7SUnq5p77cV0ArUec7lj6H8Ea0CwHnOthT1/ijYKCVtjv6XddGEkV0D662JVatVwftBfs 6daUhPIQezE+IaI7hVPXAQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7sLN-0004NG-2H; Sat, 10 Jun 2023 02:45:01 -0400 In-Reply-To: <3c82fb01f4aa90537660@heytings.org> (message from Gregory Heytings on Sat, 10 Jun 2023 06:39:41 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263195 Archived-At: > Date: Sat, 10 Jun 2023 06:39:41 +0000 > From: Gregory Heytings > cc: al@petrofsky.org, rudalics@gmx.at, monnier@iro.umontreal.ca, > 63967@debbugs.gnu.org > > I see. Apparently we don't work the same way. I didn't have time to > investigate this issue further after bisecting, but the first thing I > would have done is to determine which of the four calls to > Fset_frame_selected_window in that changeset is responsible for that bug. You assume that the only way to change the selected-window on the C level is by calling Fset_frame_selected_window? That's false; just try grepping the C sources for "selected_window =". And that's even before you consider the possibilities of indirect setting, when the actual setting is in Lisp via some proxy.