From unknown Sat Aug 16 15:57:25 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#64152 <64152@debbugs.gnu.org> To: bug#64152 <64152@debbugs.gnu.org> Subject: Status: 29.0.92; 'redirect-frame-focus' is broken Reply-To: bug#64152 <64152@debbugs.gnu.org> Date: Sat, 16 Aug 2025 22:57:25 +0000 retitle 64152 29.0.92; 'redirect-frame-focus' is broken reassign 64152 emacs submitter 64152 martin rudalics severity 64152 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 18 10:27:06 2023 Received: (at submit) by debbugs.gnu.org; 18 Jun 2023 14:27:06 +0000 Received: from localhost ([127.0.0.1]:54801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAtMw-0002lh-7W for submit@debbugs.gnu.org; Sun, 18 Jun 2023 10:27:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:36530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAtMu-0002lZ-Af for submit@debbugs.gnu.org; Sun, 18 Jun 2023 10:27:05 -0400 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 1qAtMu-0000mv-23 for bug-gnu-emacs@gnu.org; Sun, 18 Jun 2023 10:27:04 -0400 Received: from mout.gmx.net ([212.227.17.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qAtMq-0003zM-QP for bug-gnu-emacs@gnu.org; Sun, 18 Jun 2023 10:27:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.at; s=s31663417; t=1687098417; x=1687703217; i=rudalics@gmx.at; bh=TcCnr/aXmEk0JxjJnskHtkUY7PcWbq3Pbh4D9gC6jZM=; h=X-UI-Sender-Class:Date:To:From:Subject; b=jRRK+BHqONJAjGpHpFLDgFIHjvNpwWQ1/tCNasZppJOsEl0eDJfHydwjWFl6YDVi5+ExNNi tQrxQhOg6CONeh/pgStCQiVlHzWc6Apnbmt4uSpnbKjz3jchkQp7wQilOYKEq+j8SMpR/EnpC F61xGra8ZENchFY2TWEd5mqCtd6dCr95hFm+4fHMoRCrcyyR+TWf/nPsO4NjxZEofYX101nQC qFKt28NaiV+xs1G5ZYuFzTh9NGz8iCUoZLf/tqEDa3B/rByjnU+TDf0yjTKGrZ+MXyL4KUFXn mdAcOMrgi2oGrGEcBWJG7oMR1MELNpr727ACESCGehr6Kn+ljs+w== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.1.100] ([212.95.5.176]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mof9F-1pmaE40iOv-00p3eF for ; Sun, 18 Jun 2023 16:26:57 +0200 Message-ID: <2b6a6e28-ad0f-0842-fae0-e869e57ac807@gmx.at> Date: Sun, 18 Jun 2023 16:26:56 +0200 MIME-Version: 1.0 Content-Language: en-US To: Bug-Gnu-Emacs From: martin rudalics Subject: 29.0.92; 'redirect-frame-focus' is broken Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 X-Provags-ID: V03:K1:SDrio52w1Le2cJdo70wzd7caHGrtcVwE/oVgrPEa+ef7rNtirZc bfbnAn72Kptdkog9/rxQrdAlHiygGZhCejNprfc1VDYabPfU+Uo3HQyR+mBN07FjWxM4ml8 JQr7oQp4h/OwKDXgmh2ZxzC6gPbz5Tjo/OY31hN63X9undAgJoOsnfV6qc6HGSw+uuxVl5K eho1RCgiu8pTbbexxZPyA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:MHI1LDRJbGY=;naH5LRBGTHFTySZ0plTTenyOgV8 gh+hH5LabGXGUe6l1/1LTR3qy33kJk9SoPtIaagdg7Q5o1bTplbTnmMxCTMTCvRpZ+dX0aL0q f1d9Hx6B6VJ4CgboLpaHEq7UjSK//kLwsMtZrd4wu4pIZHV4UjsdsaWPQtmLHJsD+W7OS9noU 82GtzsTR3ZUG5iqgk4DOpYdycEvFkwzmyQpuSItlK4MWY8zZd002Y7sy9tr05IgDdsznZZsxg 68EKRCURDWFKaevOaezsVriJ0bsiy0aOLxsh/MlENofv3O5yvhN4dru61RGyLHiouVMgzd2z1 zMpMRCkS9oaE3F/wFirmHGJWPsYDuJ4Nda79TcJVBWm9OMpSLq0llb22Q/7wsWIINodHZwryA hIg+kwdzCvnI5oRIMzB1rjoQTVETAsYQ+XCijFTjJ99ggbbffQzuPsgGlmoONvieH3N8bhRo+ ch+tQqpeYR8R9sVAfBj+80LlWIIknnHr2Se62EeeGAs9C6ahnpLMl04QUoUvVEkf8lLFKlSGN PkWFzfMolWrwmcqsx/+y+3htNyJo6NlZ/qdzEVUUHr1jAyC0Dr0EpTDh5aRvuOiUnXxn5YfN+ NVe70hW/U6DJmMaPT7emPTKuQY+lLgDNYkbza+2scbESiCqy2Mu3JTmBi2XjxBDROxMU99nd6 NO7oY6H/HiHT6FcZoZoayTgLYegJpdCZcFCDGncU7Gu7GDak19yRlpbUKr33o3X1VwYqp+zfu 2ELCu/q0PXqABKHRcQJK+OIwJOgNu65llxeiE1hxR6TAy7A03X5cjKBaWY2KbPeJff0U7Q037 i9nKr86tsB13aAHIw6LJ3Sh9z0cEkhnUhfUY/YCJP1urQ8Luf8QNIw+8Q8gh89OiHlqRu7l2a 3HQRyXk0Zd2bAR/mOy4hO2wmS8Ka9fgP05rHk4Bh4zks/KsEpNaTknF8QctN22wlhSaR+o4wK 93ApSYAIRE7TqaeH0opqCr87ym4= Received-SPF: pass client-ip=212.227.17.22; envelope-from=rudalics@gmx.at; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) VGhlIGRvYy1zdHJpbmcgb2YgJ3JlZGlyZWN0LWZyYW1lLWZvY3VzJyBzYXlzOg0KDQogICBB IGZyYW1l4oCZcyBmb2N1cyByZWRpcmVjdGlvbiBjYW4gYmUgY2hhbmdlZCBieSDigJhzZWxl Y3QtZnJhbWXigJkuICBJZiBmcmFtZQ0KICAgRk9PIGlzIHNlbGVjdGVkLCBhbmQgdGhlbiBh IGRpZmZlcmVudCBmcmFtZSBCQVIgaXMgc2VsZWN0ZWQsIGFueQ0KICAgZnJhbWVzIHJlZGly ZWN0aW5nIHRoZWlyIGZvY3VzIHRvIEZPTyBhcmUgc2hpZnRlZCB0byByZWRpcmVjdCB0aGVp cg0KICAgZm9jdXMgdG8gQkFSLiAgVGhpcyBhbGxvd3MgZm9jdXMgcmVkaXJlY3Rpb24gdG8g d29yayBwcm9wZXJseSB3aGVuIHRoZQ0KICAgdXNlciBzd2l0Y2hlcyBmcm9tIG9uZSBmcmFt ZSB0byBhbm90aGVyIHVzaW5nIOKAmHNlbGVjdC13aW5kb3figJkuDQoNCiAgIFRoaXMgbWVh bnMgdGhhdCBhIGZyYW1lIHdob3NlIGZvY3VzIGlzIHJlZGl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tZmFjZSBtYWNyb2V4cCBmaWxlcyB3aW5kb3cgdGV4dC1wcm9wZXJ0aWVzDQpvdmVybGF5 IHNoYTEgbWQ1IGJhc2U2NCBmb3JtYXQgZW52IGNvZGUtcGFnZXMgbXVsZSBjdXN0b20gd2lk Z2V0IGtleW1hcA0KaGFzaHRhYmxlLXByaW50LXJlYWRhYmxlIGJhY2txdW90ZSB0aHJlYWRz IGRidXNiaW5kIGlub3RpZnkNCmR5bmFtaWMtc2V0dGluZyBzeXN0ZW0tZm9udC1zZXR0aW5n IGZvbnQtcmVuZGVyLXNldHRpbmcgY2Fpcm8NCm1vdmUtdG9vbGJhciBndGsgeC10b29sa2l0 IHhpbnB1dDIgeCBtdWx0aS10dHkgbWFrZS1uZXR3b3JrLXByb2Nlc3MNCmVtYWNzKQ0KDQpN ZW1vcnkgaW5mb3JtYXRpb246DQooKGNvbnNlcyAxNiAzNjE2NCA2NTczKQ0KICAoc3ltYm9s cyA0OCA1MTI3IDApDQogIChzdHJpbmdzIDMyIDEzMTA5IDIxMTIpDQogIChzdHJpbmctYnl0 ZXMgMSAzNzAxOTkpDQogICh2ZWN0b3JzIDE2IDkyOTMpDQogICh2ZWN0b3Itc2xvdHMgOCAx NDgzNDggMTA4MTcpDQogIChmbG9hdHMgOCAyMiAyMykNCiAgKGludGVydmFscyA1NiAyMTAg MCkNCiAgKGJ1ZmZlcnMgOTc2IDEwKSkNCg== From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 18 11:27:56 2023 Received: (at 64152) by debbugs.gnu.org; 18 Jun 2023 15:27:56 +0000 Received: from localhost ([127.0.0.1]:54846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAuJo-0004bt-Ft for submit@debbugs.gnu.org; Sun, 18 Jun 2023 11:27:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAuJl-0004bZ-2v for 64152@debbugs.gnu.org; Sun, 18 Jun 2023 11:27:54 -0400 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 1qAuJf-0008Kc-Ak; Sun, 18 Jun 2023 11:27:47 -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=ZLY0y0W6nbTblXf/o/JdHd30cubmjUSpRt69iQHwCdg=; b=dgovYAynqE7v n2Ze6D/+ryIxma6hAXgBhfZv8zb3md2XZoADFWJtLYZBIh76HAQBJ2a21/jEtj2OoW8++ugp03rDU A02DKYyYmOGn5vXlXXJjuib14X0J8gcO4vLvazNVS3BTK8vjJBBP5b0vaaOTEKS3NQiKwXvYXryqK kPyIjJgbMVKPw47IQnxlcmbZxqN2VjjkHjNYPxoL9jLbCHr8E/u96MpUekZzT8GLbWLuGx3nD2ccz nnWGUNClNy+jMXc1D4bPfHxJnkHGaGdSHOZG+ANl1oRKTWSPJmZy6Q2/OtBnO+/OAnlYNZsSwxL12 b8rvYOuJwF7k3Zq4c7eFXA==; 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 1qAuJe-0000CN-Os; Sun, 18 Jun 2023 11:27:47 -0400 Date: Sun, 18 Jun 2023 18:27:48 +0300 Message-Id: <83pm5s94ej.fsf@gnu.org> From: Eli Zaretskii To: martin rudalics In-Reply-To: <2b6a6e28-ad0f-0842-fae0-e869e57ac807@gmx.at> (message from martin rudalics on Sun, 18 Jun 2023 16:26:56 +0200) Subject: Re: bug#64152: 29.0.92; 'redirect-frame-focus' is broken References: <2b6a6e28-ad0f-0842-fae0-e869e57ac807@gmx.at> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 64152 Cc: 64152@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sun, 18 Jun 2023 16:26:56 +0200 > From: martin rudalics > > With Emacs 29 both texts have become false. Selecting a frame no longer > shifts focus to that frame. > > 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 19 10:26:26 2023 Received: (at 64152) by debbugs.gnu.org; 19 Jun 2023 14:26:26 +0000 Received: from localhost ([127.0.0.1]:56934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBFpq-0000mL-JH for submit@debbugs.gnu.org; Mon, 19 Jun 2023 10:26:26 -0400 Received: from heytings.org ([95.142.160.155]:49958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBFpo-0000mC-Ml for 64152@debbugs.gnu.org; Mon, 19 Jun 2023 10:26:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1687184783; bh=dPvAl+2RhTtIZeuXK0a+YOLoNIlXpd3YDrIrxqti/P8=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=s0Mezf2fw9QWbmVqpH9vAmsurjudG0e9jBqkKMbjHf1mIeaBfc6cpjw59nrbJSfYo +LGv+wa/WCRmjqZbMdTAvlmdSY/dRDyJmAStOg/UkiYJD69S80H6WxsKqgppuE9y39 NGOuOY8mK4zHzhuns+QPktBCUmaoUt17c8vXP9zhhyhWaIvPDIcmHiwCLl29HVXhsn Hachsyj9wgX0P+Ns29gyVnqMv0GtS2exJE+y6hZhon3oFR8Dl7XN8XgWDJMIBVcnbQ tDHow6kEqkY2AIejb9oPdGRP39frc8u/daflcMMEmZKzulxB3bte1kRph8YtTu04WH fmnp1dOz5nDIA== Date: Mon, 19 Jun 2023 14:26:22 +0000 From: Gregory Heytings To: Eli Zaretskii Subject: Re: bug#64152: 29.0.92; 'redirect-frame-focus' is broken In-Reply-To: <83pm5s94ej.fsf@gnu.org> Message-ID: <02c0ca92732d5c781368@heytings.org> References: <2b6a6e28-ad0f-0842-fae0-e869e57ac807@gmx.at> <83pm5s94ej.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 64152 Cc: martin rudalics , 64152@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >> 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 19 13:22:29 2023 Received: (at 64152) by debbugs.gnu.org; 19 Jun 2023 17:22:29 +0000 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 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 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==; 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 Date: Mon, 19 Jun 2023 20:22:23 +0300 Message-Id: <83sfan74fk.fsf@gnu.org> From: Eli Zaretskii To: Gregory Heytings , Alan Mackenzie In-Reply-To: <02c0ca92732d5c781368@heytings.org> (message from Gregory Heytings on Mon, 19 Jun 2023 14:26:22 +0000) Subject: Re: bug#64152: 29.0.92; 'redirect-frame-focus' is broken References: <2b6a6e28-ad0f-0842-fae0-e869e57ac807@gmx.at> <83pm5s94ej.fsf@gnu.org> <02c0ca92732d5c781368@heytings.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 64152 Cc: rudalics@gmx.at, 64152@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 20 06:06:30 2023 Received: (at 64152) by debbugs.gnu.org; 20 Jun 2023 10:06:30 +0000 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 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 Received: (qmail 36226 invoked by uid 3782); 20 Jun 2023 12:06:21 +0200 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 Received: (qmail 3287 invoked by uid 1000); 20 Jun 2023 10:06:20 -0000 Date: Tue, 20 Jun 2023 10:06:20 +0000 To: Eli Zaretskii Subject: Re: bug#64152: 29.0.92; 'redirect-frame-focus' is broken 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 Content-Disposition: inline In-Reply-To: <83sfan74fk.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 64152 Cc: rudalics@gmx.at, Gregory Heytings , acm@muc.de, 64152@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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). From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 20 12:48:39 2023 Received: (at 64152) by debbugs.gnu.org; 20 Jun 2023 16:48:39 +0000 Received: from localhost ([127.0.0.1]:59672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBeX0-0002Be-Pg for submit@debbugs.gnu.org; Tue, 20 Jun 2023 12:48:39 -0400 Received: from mx3.muc.de ([193.149.48.5]:39633) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBeWy-0002BP-2K for 64152@debbugs.gnu.org; Tue, 20 Jun 2023 12:48:37 -0400 Received: (qmail 2305 invoked by uid 3782); 20 Jun 2023 18:48:29 +0200 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 18:48:29 +0200 Received: (qmail 24202 invoked by uid 1000); 20 Jun 2023 16:48:29 -0000 Date: Tue, 20 Jun 2023 16:48:29 +0000 To: Eli Zaretskii , Martin Rudalics Subject: Re: bug#64152: 29.0.92; 'redirect-frame-focus' is broken 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 Content-Disposition: inline In-Reply-To: <83sfan74fk.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 64152 Cc: 64152@debbugs.gnu.org, Gregory Heytings , acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Eli and Martin. 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. The following patch partially reverts: commit 9cd72b02b67e92e89b83791b66fe40c4b50d8357 Author: Alan Mackenzie Date: Thu Jul 7 15:38:09 2022 +0000 Remove obscure, obsolete code from do_switch_frame (it doesn't restore an "#if 0 .... #else" and its "#endif"). It also reverts: commit 0508d7c4d6637d63a823b66e9f87ab54c2e73b09 Author: Alan Mackenzie Date: Fri Jul 8 20:19:03 2022 +0000 Remove now unused parameter TRACK from do_switch_frame. .. An extra argument (for this TRACK) had to be added into x_try_restore_frame in xterm.c. I'm not sure, at the moment, whether this patch unfixes any other bugs. It runs through make check without problems. Martin, would you please try out this patch. Just as a matter of interest, bug #56305 (29.0.50; 'yes-or-no-p' deselects minibuffer frame) is still open. diff --git a/src/frame.c b/src/frame.c index 38a6583605c..fc6a3459482 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1444,6 +1444,10 @@ DEFUN ("make-terminal-frame", Fmake_terminal_frame, Smake_terminal_frame, If FRAME is a switch-frame event `(switch-frame FRAME1)', use FRAME1 as frame. + If TRACK is non-zero and the frame that currently has the focus + redirects its focus to the selected frame, redirect that focused + frame's focus to FRAME instead. + FOR_DELETION non-zero means that the selected frame is being deleted, which includes the possibility that the frame's terminal is dead. @@ -1451,7 +1455,7 @@ DEFUN ("make-terminal-frame", Fmake_terminal_frame, Smake_terminal_frame, The value of NORECORD is passed as argument to Fselect_window. */ Lisp_Object -do_switch_frame (Lisp_Object frame, int for_deletion, Lisp_Object norecord) +do_switch_frame (Lisp_Object frame, int track, int for_deletion, Lisp_Object norecord) { struct frame *sf = SELECTED_FRAME (), *f; @@ -1473,6 +1477,44 @@ do_switch_frame (Lisp_Object frame, int for_deletion, Lisp_Object norecord) else if (f == sf) return frame; + /* If the frame with GUI focus has had it's Emacs focus redirected + toward the currently selected frame, we should change the + redirection to point to the newly selected frame. This means + that if the focus is redirected from a minibufferless frame to a + surrogate minibuffer frame, we can use `other-window' to switch + between all the frames using that minibuffer frame, and the focus + redirection will follow us around. This code is necessary when + we have a minibufferless frame using the MB in another (normal) + frame (bug#64152) (ACM, 2023-06-20). */ +#ifdef HAVE_WINDOW_SYSTEM + if (track && FRAME_WINDOW_P (f) && FRAME_TERMINAL (f)->get_focus_frame) + { + Lisp_Object gfocus; /* The frame which still has focus on the + current terminal, according to the GUI + system. */ + Lisp_Object focus; /* The frame to which Emacs has redirected + the focus from `gfocus'. This might be a + frame with a minibuffer when `gfocus' + doesn't have a MB. */ + + gfocus = FRAME_TERMINAL (f)->get_focus_frame (f); + if (FRAMEP (gfocus)) + { + focus = FRAME_FOCUS_FRAME (XFRAME (gfocus)); + if (FRAMEP (focus) && XFRAME (focus) == SELECTED_FRAME ()) + /* Redirect frame focus also when FRAME has its minibuffer + window on the selected frame (see Bug#24500). + + Don't do that: It causes redirection problem with a + separate minibuffer frame (Bug#24803) and problems + when updating the cursor on such frames. + || (NILP (focus) + && EQ (FRAME_MINIBUF_WINDOW (f), sf->selected_window))) */ + Fredirect_frame_focus (gfocus, frame); + } + } +#endif /* HAVE_X_WINDOWS */ + if (!for_deletion && FRAME_HAS_MINIBUF_P (sf)) resize_mini_window (XWINDOW (FRAME_MINIBUF_WINDOW (sf)), 1); @@ -1574,7 +1616,7 @@ DEFUN ("select-frame", Fselect_frame, Sselect_frame, 1, 2, "e", /* Do not select a tooltip frame (Bug#47207). */ error ("Cannot select a tooltip frame"); else - return do_switch_frame (frame, 0, norecord); + return do_switch_frame (frame, 1, 0, norecord); } DEFUN ("handle-switch-frame", Fhandle_switch_frame, @@ -1590,7 +1632,7 @@ DEFUN ("handle-switch-frame", Fhandle_switch_frame, kset_prefix_arg (current_kboard, Vcurrent_prefix_arg); run_hook (Qmouse_leave_buffer_hook); - return do_switch_frame (event, 0, Qnil); + return do_switch_frame (event, 0, 0, Qnil); } DEFUN ("selected-frame", Fselected_frame, Sselected_frame, 0, 0, 0, @@ -2108,7 +2150,7 @@ delete_frame (Lisp_Object frame, Lisp_Object force) Fraise_frame (frame1); #endif - do_switch_frame (frame1, 1, Qnil); + do_switch_frame (frame1, 0, 1, Qnil); sf = SELECTED_FRAME (); } else diff --git a/src/keyboard.c b/src/keyboard.c index b1ccf4acde4..99f886821e2 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -11561,7 +11561,7 @@ quit_throw_to_read_char (bool from_signal) if (FRAMEP (internal_last_event_frame) && !EQ (internal_last_event_frame, selected_frame)) do_switch_frame (make_lispy_switch_frame (internal_last_event_frame), - 0, Qnil); + 0, 0, Qnil); sys_longjmp (getcjmp, 1); } diff --git a/src/lisp.h b/src/lisp.h index 9c02d975a74..bf91a1559bf 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -4878,7 +4878,7 @@ fast_c_string_match_ignore_case (Lisp_Object regexp, /* Defined in frame.c. */ extern void store_frame_param (struct frame *, Lisp_Object, Lisp_Object); extern void store_in_alist (Lisp_Object *, Lisp_Object, Lisp_Object); -extern Lisp_Object do_switch_frame (Lisp_Object, int, Lisp_Object); +extern Lisp_Object do_switch_frame (Lisp_Object, int, int, Lisp_Object); extern Lisp_Object get_frame_param (struct frame *, Lisp_Object); extern void frames_discard_buffer (Lisp_Object); extern void init_frame_once (void); diff --git a/src/minibuf.c b/src/minibuf.c index bcb7eb9375d..6e54d8c3ba5 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -1125,8 +1125,8 @@ read_minibuf_unwind (void) found: if (!EQ (exp_MB_frame, saved_selected_frame) && !NILP (exp_MB_frame)) - do_switch_frame (exp_MB_frame, 0, Qt); /* This also sets - minibuf_window */ + do_switch_frame (exp_MB_frame, 0, 0, Qt); /* This also sets + minibuf_window */ /* To keep things predictable, in case it matters, let's be in the minibuffer when we reset the relevant variables. Don't depend on @@ -1238,7 +1238,7 @@ read_minibuf_unwind (void) /* Restore the selected frame. */ if (!EQ (exp_MB_frame, saved_selected_frame) && !NILP (exp_MB_frame)) - do_switch_frame (saved_selected_frame, 0, Qt); + do_switch_frame (saved_selected_frame, 0, 0, Qt); } /* Replace the expired minibuffer in frame exp_MB_frame with the next less diff --git a/src/window.c b/src/window.c index 0efd6813f8d..1dc977626b3 100644 --- a/src/window.c +++ b/src/window.c @@ -7399,7 +7399,7 @@ DEFUN ("set-window-configuration", Fset_window_configuration, do_switch_frame (NILP (dont_set_frame) ? data->selected_frame : old_frame - , 0, Qnil); + , 0, 0, Qnil); } FRAME_WINDOW_CHANGE (f) = true; diff --git a/src/xterm.c b/src/xterm.c index e981a36fa9c..5840b15bcb7 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -25792,7 +25792,7 @@ x_try_restore_frame (void) FOR_EACH_FRAME (tail, frame) { - if (!NILP (do_switch_frame (frame, 1, Qnil))) + if (!NILP (do_switch_frame (frame, 0, 1, Qnil))) return; } } -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 21 02:36:51 2023 Received: (at 64152) by debbugs.gnu.org; 21 Jun 2023 06:36:51 +0000 Received: from localhost ([127.0.0.1]:60473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBrSV-0007oT-Gi for submit@debbugs.gnu.org; Wed, 21 Jun 2023 02:36:51 -0400 Received: from mout.gmx.net ([212.227.15.19]:57209) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBrST-0007oG-Ib for 64152@debbugs.gnu.org; Wed, 21 Jun 2023 02:36:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.at; s=s31663417; t=1687329401; x=1687934201; i=rudalics@gmx.at; bh=egslbGGlc8Ai5Cj2Q/+rJG4ZCjGz27dzbA5GEDfXPzc=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=c4TLHD/V4qPVoDeAyLxlQhHHWbtpIbKUwIlv8ixev5xbaAIUpx4phP5Y7rCnVWygsix8sME mVqaRQooAnerkbKUabjm+YbyX8IZOZ86zI/HxsjqcC+K8DznH3VklcrMoQhGzT45K2KvAg+1+ iOuKAhfqHinKP7dw5FhKt8k/VvhXhWeGkz6i81J62fl1ElG0F0D2fPSSKtGa90i9KMP8IysdT /pOLVevizgjiYHR8CQrk2EDlKLBILAbo0jpfrn9mfHQ/SB2ZZmog2WVAzzDJcMHXsTBwIRLkQ JwTU2Zk3uh0C8bIUnziP1skw3v6fdfcsq2m/xjowgQHo4LuUy4PQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.1.100] ([213.142.97.219]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MxDkw-1pry5J1EuO-00xXFt; Wed, 21 Jun 2023 08:36:41 +0200 Message-ID: <6062fdfb-fd7a-ff2a-07a0-a9e394741c1c@gmx.at> Date: Wed, 21 Jun 2023 08:36:39 +0200 MIME-Version: 1.0 Subject: Re: bug#64152: 29.0.92; 'redirect-frame-focus' is broken Content-Language: en-US To: Alan Mackenzie , Eli Zaretskii References: <2b6a6e28-ad0f-0842-fae0-e869e57ac807@gmx.at> <83pm5s94ej.fsf@gnu.org> <02c0ca92732d5c781368@heytings.org> <83sfan74fk.fsf@gnu.org> From: martin rudalics In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:YABsgl5qlc6jPAZ4Go0bZtonz/649lC6ldSw2LHkB7x/koohQb8 xTa/r1UYB7boEeSZWzl+bs/4zHG5hEUUV8J2OGu1XEPWaEUBEcuCdioOGGCODsQXWBF68V/ k+HPHzbNYo0Yl3cVANpjtneddKEunDHbUE9XrRocPOEgzPvjL0z4SAYCIHF/S/4p/SmMrGt /nphXQDHXFd35nohrrnCA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:oxrVRCZAFt8=;9oYgd/TKGhIDpY9Z4e7Slili6/D JjfjuRcuvzATaXbhvDHPNpysaiYILxuntXl68c1k/mNRja9GC4nH/GMneZ8gLWytF10drCGXS fTceBKXYy9Z9gxo0GRDG/sfx9B5QRnkikRi91wZ3XUVGY3soEMki2qtFrWpYLgc0vUfFjXZCL bAc77xFv7Neq3uA0YdD0sIK3XxLxtlBLCXIogZjm/N0FWZgduiC1JtLlqu7zrpwpthEvWrZLC fZjXM2limYSbCKjNAzRQi7zNKBbgOrEIPSW61nQXF23Sn8opFAkbICmlqViE8srbiZpjPZLsT jcn/DtfokyXY6DuEk1CGX02wJsbh3W3Ia8gZ7N21I18evVzQ45iwq3KcrKG3dfJaEYm+tRfLn I4ZbgvobGApsDNoV7PVxLmDBK3rcEw5qDgflcFQtMDc9EGvTmwn72kpcneQNp5f4/poDrRl0N 8IAFhOkMk1jqstKCZducimhSRD/rdexksiTKBJMgtIQFILkNu8NxSOYikBF9wQHnTMs0B8rHx iPypwNbKGebB4+OTi5lapI8/aW+bkbzmC7Psm9kH7ZAIQB7xvF7texPtCFroJ1g82r7cJENOv DjwtiJTIT99H8AB2z5+JSO2jRxXF0sE8XWAaLO8wQv2Gb+NaqyDo0FESQacqMgW5KaOTDr1G+ DbEBIV47PkFFcKwkF7XjH3FRxCUplvJGHwTOBXSClNs6UX0vMvzOZqgkxhzhQYEHJ32ieQlDp mgSr85xkv9t9s9oCOW4xySrMX2642xMIAnXhk2M+ZqNy7pLFfXKKLIxUokwn0gcQkRjQekk8Y NTmh72Jzpho+Ni1GaVo5bs6jE6aKC7/Yr9Bxq7psZOXScxXzqk7AqNSNVq12dRhrLLpaAvqLj ml35JcI24R8CAd+lrdh2AYqx32J+XtVmRQLzzkazqoYooUMiPA23FKPXTWIG4UIrFFq4XM/wd I8HHvTnTpAoqWR46SFevMLK7zz8= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 64152 Cc: 64152@debbugs.gnu.org, Gregory Heytings X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Martin, would you please try out this patch. It fixes the bug. Thanks. > Just as a matter of interest, bug #56305 (29.0.50; 'yes-or-no-p' > deselects minibuffer frame) is still open. We probably should provide an option to turn off frame redirection in read_minibuf in the first place. People with 'minibuffer-auto-raise' non-nil need that option like a hole in the head. martin From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 21 08:22:29 2023 Received: (at 64152) by debbugs.gnu.org; 21 Jun 2023 12:22:29 +0000 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 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 Received: (qmail 85763 invoked by uid 3782); 21 Jun 2023 14:22:19 +0200 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 Received: (qmail 8513 invoked by uid 1000); 21 Jun 2023 12:22:18 -0000 Date: Wed, 21 Jun 2023 12:22:18 +0000 To: Eli Zaretskii Subject: Re: bug#64152: 29.0.92; 'redirect-frame-focus' is broken 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 Content-Disposition: inline In-Reply-To: <83sfan74fk.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 64152 Cc: rudalics@gmx.at, Gregory Heytings , 64152@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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). From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 21 08:50:55 2023 Received: (at 64152) by debbugs.gnu.org; 21 Jun 2023 12:50:55 +0000 Received: from localhost ([127.0.0.1]:60853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBxIV-0006IZ-Fl for submit@debbugs.gnu.org; Wed, 21 Jun 2023 08:50:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBxIT-0006IJ-1e for 64152@debbugs.gnu.org; Wed, 21 Jun 2023 08:50:54 -0400 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 1qBxIJ-000875-1z; Wed, 21 Jun 2023 08:50:45 -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=W1GEY4Z9sahjIWwTOST3+zJ76XLaFIr0QcoNVjBGQL8=; b=DBrquE5iK949 D7FJ9UiIR9BFiohe976yoRjK7X3VbhNARIfTF2A0SeOk9zQcbaIEocQ0Ohgj2yscLalLA0rENbkR5 MBMFVgWdYSEhdt86urqJWo+q31bm+MUtf4P0nHdRKsiwzUHtNBFaTQ0uG/C74abgOFAAkYGD1itVe yXhgiVmUeotHdhRpKuCqXncSiN9bBgG1kqrikhasbcNRgdx6tVMzPez4GOFxHedY2snsw7lWLgzjS czdU4C1KkZb03VZV20lVQtNrxwOBoNOX7XZjsVKgw7yxtzpF7U1Fr8GM65MwPJL7EJeMBMVU63UV4 /f7DAp4oxzS2RpqIWZIoGQ==; 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 1qBxII-0003Rc-Hs; Wed, 21 Jun 2023 08:50:42 -0400 Date: Wed, 21 Jun 2023 15:50:51 +0300 Message-Id: <83zg4t3ro4.fsf@gnu.org> From: Eli Zaretskii To: Alan Mackenzie In-Reply-To: (message from Alan Mackenzie on Wed, 21 Jun 2023 12:22:18 +0000) Subject: Re: bug#64152: 29.0.92; 'redirect-frame-focus' is broken References: <2b6a6e28-ad0f-0842-fae0-e869e57ac807@gmx.at> <83pm5s94ej.fsf@gnu.org> <02c0ca92732d5c781368@heytings.org> <83sfan74fk.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 64152 Cc: rudalics@gmx.at, gregory@heytings.org, 64152@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Wed, 21 Jun 2023 12:22:18 +0000 > Cc: Gregory Heytings , rudalics@gmx.at, > 64152@debbugs.gnu.org > From: Alan Mackenzie > > > 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? Yes, please. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 21 10:34:11 2023 Received: (at 64152-done) by debbugs.gnu.org; 21 Jun 2023 14:34:11 +0000 Received: from localhost ([127.0.0.1]:33889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qByuR-0005s4-1G for submit@debbugs.gnu.org; Wed, 21 Jun 2023 10:34:11 -0400 Received: from mx3.muc.de ([193.149.48.5]:24517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qByuO-0005rm-ER for 64152-done@debbugs.gnu.org; Wed, 21 Jun 2023 10:34:09 -0400 Received: (qmail 40565 invoked by uid 3782); 21 Jun 2023 16:34:02 +0200 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 16:34:02 +0200 Received: (qmail 9701 invoked by uid 1000); 21 Jun 2023 14:34:01 -0000 Date: Wed, 21 Jun 2023 14:34:01 +0000 To: Eli Zaretskii , Martin Rudalics Subject: Re: bug#64152: 29.0.92; 'redirect-frame-focus' is broken Message-ID: References: <2b6a6e28-ad0f-0842-fae0-e869e57ac807@gmx.at> <83pm5s94ej.fsf@gnu.org> <02c0ca92732d5c781368@heytings.org> <83sfan74fk.fsf@gnu.org> <83zg4t3ro4.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83zg4t3ro4.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 64152-done Cc: acm@muc.de, gregory@heytings.org, 64152-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Eli and Martin. On Wed, Jun 21, 2023 at 15:50:51 +0300, Eli Zaretskii wrote: > > Date: Wed, 21 Jun 2023 12:22:18 +0000 > > Cc: Gregory Heytings , rudalics@gmx.at, > > 64152@debbugs.gnu.org > > From: Alan Mackenzie > > > 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? > Yes, please. DONE. I'm closing the bug with this post. -- Alan Mackenzie (Nuremberg, Germany). From unknown Sat Aug 16 15:57:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 20 Jul 2023 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator