From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#64152: 29.0.92; 'redirect-frame-focus' is broken Date: Tue, 20 Jun 2023 10:06:20 +0000 Message-ID: References: <2b6a6e28-ad0f-0842-fae0-e869e57ac807@gmx.at> <83pm5s94ej.fsf@gnu.org> <02c0ca92732d5c781368@heytings.org> <83sfan74fk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18001"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, Gregory Heytings , acm@muc.de, 64152@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 20 12:07:24 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 1qBYGh-0004Tq-TU for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Jun 2023 12:07:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBYGP-0000JI-07; Tue, 20 Jun 2023 06:07:05 -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 1qBYGN-0000Ir-3h for bug-gnu-emacs@gnu.org; Tue, 20 Jun 2023 06:07: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 1qBYGM-0005PK-GQ for bug-gnu-emacs@gnu.org; Tue, 20 Jun 2023 06:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qBYGL-0000Lm-RL for bug-gnu-emacs@gnu.org; Tue, 20 Jun 2023 06:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Jun 2023 10:07:01 +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.16872555901306 (code B ref 64152); Tue, 20 Jun 2023 10:07:01 +0000 Original-Received: (at 64152) by debbugs.gnu.org; 20 Jun 2023 10:06:30 +0000 Original-Received: from localhost ([127.0.0.1]:58090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBYFp-0000Kz-QC for submit@debbugs.gnu.org; Tue, 20 Jun 2023 06:06:30 -0400 Original-Received: from mx3.muc.de ([193.149.48.5]:27184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBYFn-0000Kl-3X for 64152@debbugs.gnu.org; Tue, 20 Jun 2023 06:06:28 -0400 Original-Received: (qmail 36226 invoked by uid 3782); 20 Jun 2023 12:06:21 +0200 Original-Received: from acm.muc.de (pd953af84.dip0.t-ipconnect.de [217.83.175.132]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 20 Jun 2023 12:06:20 +0200 Original-Received: (qmail 3287 invoked by uid 1000); 20 Jun 2023 10:06:20 -0000 Content-Disposition: inline In-Reply-To: <83sfan74fk.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de 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:263744 Archived-At: Hello, Eli. On Mon, Jun 19, 2023 at 20:22:23 +0300, Eli Zaretskii wrote: > > 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? Will do. > This is a regression in Emacs 29, so we should try fixing it on the > emacs-29 branch. OK. -- Alan Mackenzie (Nuremberg, Germany).