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: Wed, 21 Jun 2023 12:22:18 +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="5833"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, Gregory Heytings , 64152@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 21 14:23:17 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 1qBwrl-0001K7-Df for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Jun 2023 14:23:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBwrZ-0003e7-7J; Wed, 21 Jun 2023 08:23: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 1qBwrW-0003N8-CH for bug-gnu-emacs@gnu.org; Wed, 21 Jun 2023 08:23:02 -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 1qBwrV-0003lD-TG for bug-gnu-emacs@gnu.org; Wed, 21 Jun 2023 08:23:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qBwrV-0005Us-NX for bug-gnu-emacs@gnu.org; Wed, 21 Jun 2023 08:23: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: Wed, 21 Jun 2023 12:23: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.168735014921070 (code B ref 64152); Wed, 21 Jun 2023 12:23:01 +0000 Original-Received: (at 64152) by debbugs.gnu.org; 21 Jun 2023 12:22:29 +0000 Original-Received: from localhost ([127.0.0.1]:60832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBwqz-0005Tm-42 for submit@debbugs.gnu.org; Wed, 21 Jun 2023 08:22:29 -0400 Original-Received: from mx3.muc.de ([193.149.48.5]:20343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBwqw-0005TT-Gh for 64152@debbugs.gnu.org; Wed, 21 Jun 2023 08:22:27 -0400 Original-Received: (qmail 85763 invoked by uid 3782); 21 Jun 2023 14:22:19 +0200 Original-Received: from acm.muc.de (pd953aea6.dip0.t-ipconnect.de [217.83.174.166]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 21 Jun 2023 14:22:19 +0200 Original-Received: (qmail 8513 invoked by uid 1000); 21 Jun 2023 12:22:18 -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:263808 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? > This is a regression in Emacs 29, so we should try fixing it on the > emacs-29 branch. It's fixed on the emacs-29 branch (Martin has tested the patch). Should I commit it to the release branch? -- Alan Mackenzie (Nuremberg, Germany).