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#64152: 29.0.92; 'redirect-frame-focus' is broken Date: Mon, 19 Jun 2023 20:22:23 +0300 Message-ID: <83sfan74fk.fsf@gnu.org> References: <2b6a6e28-ad0f-0842-fae0-e869e57ac807@gmx.at> <83pm5s94ej.fsf@gnu.org> <02c0ca92732d5c781368@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8957"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, 64152@debbugs.gnu.org To: Gregory Heytings , Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 19 19:23:38 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 1qBIbJ-000239-AR for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Jun 2023 19:23:37 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBIb2-0001eq-Qi; Mon, 19 Jun 2023 13:23:20 -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 1qBIal-0001bl-CA for bug-gnu-emacs@gnu.org; Mon, 19 Jun 2023 13:23:04 -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 1qBIal-00043U-2M for bug-gnu-emacs@gnu.org; Mon, 19 Jun 2023 13:23:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qBIak-00066y-UO for bug-gnu-emacs@gnu.org; Mon, 19 Jun 2023 13:23: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: Mon, 19 Jun 2023 17:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64152 X-GNU-PR-Package: emacs Original-Received: via spool by 64152-submit@debbugs.gnu.org id=B64152.168719534923419 (code B ref 64152); Mon, 19 Jun 2023 17:23:02 +0000 Original-Received: (at 64152) by debbugs.gnu.org; 19 Jun 2023 17:22:29 +0000 Original-Received: from localhost ([127.0.0.1]:57202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBIaD-00065f-67 for submit@debbugs.gnu.org; Mon, 19 Jun 2023 13:22:29 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBIaB-00065R-D8 for 64152@debbugs.gnu.org; Mon, 19 Jun 2023 13:22:28 -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 1qBIa4-0003uT-IP; Mon, 19 Jun 2023 13:22:20 -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=Pywvz3zMu8749JLnMokn2L8Vgi73WV/+ZUqJ7SoaEAw=; b=lwpJR54lg/5s QTAZDlVm56+iutrzNVD+zxBfl/hwlFxTuF53CMrTbIld5uYth3o3rnrohB4+STIO/6+grQoOon9ET 50a1u7VBsoG+XxV7w9OxvYTU5QOdT5tom0kcmCrxxxGbgse84D1+tRg3A021T60Qigz21zy6qKwvT xEl/UFh+JvNfQ8XD83+sccTQudios5gADHke41ey242UNBsI2GACAIcoPQtHq7tMi638NDXOzhgs7 l2EwDmb7lnigrzOt4bFTmhC/rxLMXimO8UOdfcH4FSCtBsvVNnDvCf5gVUEpvH6P1L7uhsz8Rd2+p AMg8z/Xzv5dIS6AQymuRww==; 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 1qBIa3-0001Qr-Tx; Mon, 19 Jun 2023 13:22:20 -0400 In-Reply-To: <02c0ca92732d5c781368@heytings.org> (message from Gregory Heytings on Mon, 19 Jun 2023 14:26:22 +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:263699 Archived-At: > Date: Mon, 19 Jun 2023 14:26:22 +0000 > From: Gregory Heytings > cc: martin rudalics , 64152@debbugs.gnu.org > > > >> That change has immediate consequences for interactions based on > >> read_minibuf. With emacs -Q evaluate (make-frame '((minibuffer . > >> nil))) and in the frame created thusly type C-x C-f. At this time it > >> is impossible to access the minibuffer-less frame using C-x o, C-x 5 o, > >> the window manager's Alt-TAB or any other key combination. All these > >> key combinations used to work in the given configuration ever since. > >> With a minibuffer-only frames setup, the minibuffer window has become > >> "modal". > > > > This works in Emacs 28, so the minibuffer-follows-selected-frame changes > > aren't the culprit. Bisection will be appreciated. > > > > The culprit is 9cd72b02b6. Thanks. Alan, could you please look into fixing this? Perhaps the recipe posted by Martin explains the rationale for having that "obscure, obsolete code" you removed? This is a regression in Emacs 29, so we should try fixing it on the emacs-29 branch.