From unknown Tue Jun 17 20:36:15 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#40069 <40069@debbugs.gnu.org> To: bug#40069 <40069@debbugs.gnu.org> Subject: Status: gnus-summary-exit does not restore windows Reply-To: bug#40069 <40069@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:36:15 +0000 retitle 40069 gnus-summary-exit does not restore windows reassign 40069 emacs,gnus submitter 40069 juanjose.garcia.ripoll@csic.es (Juan Jos=C3=A9 Garc=C3=ADa = Ripoll) severity 40069 normal tag 40069 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 15 05:26:59 2020 Received: (at submit) by debbugs.gnu.org; 15 Mar 2020 09:26:59 +0000 Received: from localhost ([127.0.0.1]:34239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDPXv-0004CD-2v for submit@debbugs.gnu.org; Sun, 15 Mar 2020 05:26:59 -0400 Received: from cel1.sgai.csic.es ([161.111.10.57]:55383) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDPXt-0004C1-5E for submit@debbugs.gnu.org; Sun, 15 Mar 2020 05:26:58 -0400 IronPort-SDR: 6DKFyUudH8Et3jGBXqmMvOMxhF+MA8M5FBhGMGQq8vV15LHlQuBn7sF2Ct52ve8ndRwvS2x3lu nUR+1xU5TVLxYAMnDGtbfK3x3dH1msIwzmqmplY7i+Vxly0cBUUpmdYKqbDdJeSCvqYDT4nwLE b8Ilem2gehFuBPOrnxVWpqBJyd+2YeE5YnK1I7Pyx381ZmTeQF1KUy+R71qf2xGh5Ejkz4YjlY ipAW/PKJMgkAOVkaXs96ByX0luCgM3MMjf1yPVIgk+ERUQTWiD5xbXPwDHiCAjHAnGARVqQXgF uv4= IronPort-PHdr: =?us-ascii?q?9a23=3AMt9pmBARqudjWsOyOgEgUyQJP3N1i/DPJgcQr6?= =?us-ascii?q?AfoPdwSPTyoMbcNUDSrc9gkEXOFd2Cra4d16yP6PirADZZqb+681k8M7V0Hy?= =?us-ascii?q?cfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFR?= =?us-ascii?q?rwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe7x/IAi5oAnLq8Ubj5duJqksxh?= =?us-ascii?q?fXv3dDZvhby35vKV+PkBnw4du98oR++CpKofIh8MBAUaT+f6smSLFTESorPW?= =?us-ascii?q?Mo6sD1rBfPVQSA6GcSXWUQiRpIHhPK7ArmUZfrsyv1rfRy1S+HNsDrV780WD?= =?us-ascii?q?Ci76B2SB/0jSoMKjA0/H3LhsF2kalWpg+qqR5izI7OeIybNORwcL7Tc90ZS2?= =?us-ascii?q?VOUdpeWSNaD4OgdosCFfYNMfpCooT/oVYFsBuwBROrBOPq0jJIhGL20rc80+?= =?us-ascii?q?QjFgHGxxIvE8gBsHvOttX6KKYSXvqvwKnSzDXDd/RW2TP56IXTbh8huvCMUq?= =?us-ascii?q?5qfcXP0kkkCgfJgFGNqYP/OTOey+ADs2+A7+16SOmhinQoqxttrT+x3Mgnl5?= =?us-ascii?q?XHhoMNylDD8SV5xIM5KNulQ0B1Zt6kFYFftyCcN4ZuQsMtWHtnuDwgxrIYop?= =?us-ascii?q?62ejUBxpc/xxPHdvCLb5KE7g//WOqNOzt1h2xpdKiwihu26UStyfDwWtOo3F?= =?us-ascii?q?pQsCZIkMPAum0P2hHc7MWMV+Fz8V272TmV0gDe8uREIUcpmqXFM5Mh2bswlo?= =?us-ascii?q?YLsUTEAy/2hF36jK+IeUUg/eil8//nYrD6pp+ENo90jBvyPbg1msy+Hes0KB?= =?us-ascii?q?YBX3OD9eS90r3s41H5Ta1XgvEqiKXVrYzWKdgBqqO6HQNZyIku5hKnAzejyt?= =?us-ascii?q?sYnH0HLFxfeBKAiojkI1POIO3iAve5gVSslyxryO7cMr3uGJrNNGTMkLb7cr?= =?us-ascii?q?pn8U5cyRIzzddb55JQEbwOPOnzWk7tu9DCEBA5KBS4w/z7B9VlyoMeRWWPD7?= =?us-ascii?q?eCMKPPqlCI4+MvI/WXaYAIpjnyMOMq5+PhjX8ig1Mdcq+p3YYNZHC/BPRmLB?= =?us-ascii?q?bRXX25mcoLFGYWlgYzRub3h0bEXjhOIXGoUOp82jE2QK2gEJyLbJ2ijr2R3S?= =?us-ascii?q?G0VrJXfGRdQhPEO3D5bMTXde0LbXeQP8ZnkDsfWP6uQpUq1Bjorg7izL5jBu?= =?us-ascii?q?HP+yZeuImrlPpo7uubtxYpdHRbBt6WVmjFdWBsmWcMBmxllJtjqFBwnw/QmZ?= =?us-ascii?q?NzhOZVQIRe?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2GnEwBz9G1e/zFSZApmHQEBOAUFAQI?= =?us-ascii?q?JAYFTAgGDEoExhBaDSItqjEiQXwkBAQEOEwgUBAEBgQSGAzcGDgIDAQEBAwI?= =?us-ascii?q?FAQEBBQEBAQEBAQQDAQEBAm0BAQcKAgGETiEBAwcKATcMQgEQAYFnIoFmgTN?= =?us-ascii?q?sfg0CBSECEQEEhAOueoEyGgKDYYVXgQWBDioBgWSLR4EcgRGLLoJeBLA9B4I?= =?us-ascii?q?/h1aPGx2DS4tHHAOMEqBohViER4FogXyBQIJsCUcYkxiJW3OKR4cVAQE?= X-IPAS-Result: =?us-ascii?q?A2GnEwBz9G1e/zFSZApmHQEBOAUFAQIJAYFTAgGDEoExh?= =?us-ascii?q?BaDSItqjEiQXwkBAQEOEwgUBAEBgQSGAzcGDgIDAQEBAwIFAQEBBQEBAQEBA?= =?us-ascii?q?QQDAQEBAm0BAQcKAgGETiEBAwcKATcMQgEQAYFnIoFmgTNsfg0CBSECEQEEh?= =?us-ascii?q?AOueoEyGgKDYYVXgQWBDioBgWSLR4EcgRGLLoJeBLA9B4I/h1aPGx2DS4tHH?= =?us-ascii?q?AOMEqBohViER4FogXyBQIJsCUcYkxiJW3OKR4cVAQE?= X-IronPort-AV: E=Sophos;i="5.70,556,1574118000"; d="scan'208";a="28520704" Received: from unknown (HELO smtpin.csic.es) ([10.100.82.49]) by cel1.sgai.csic.es with ESMTP; 15 Mar 2020 10:26:55 +0100 Received: from DESKTOP-3A8AAJ0 (unknown [81.0.27.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 08930807E) by smtpin.csic.es (Postfix) with ESMTPSA id D268310A8EC1 for ; Sun, 15 Mar 2020 10:26:54 +0100 (CET) From: juanjose.garcia.ripoll@csic.es (Juan =?utf-8?B?Sm9zw6kgR2FyY8OtYQ==?= Ripoll) To: submit@debbugs.gnu.org (The Gnus Bugfixing Girls + Boys) Subject: gnus-summary-exit does not restore windows X-Debbugs-Version: 5.13 X-Debbugs-Package: emacs,gnus Date: Sun, 15 Mar 2020 10:26:55 +0100 Message-ID: <86mu8inf34.fsf@csic.es> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) 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: -3.3 (---) I have set Gnus with the following configuration excerpt (use-package gnus ;; Arrange windows: ;; - Group list left window ;; - Summary first quarter of right window ;; - Article bottom 3/4 of right window (gnus-use-full-window nil) (gnus-kill-summary-on-exit t) (gnus-buffer-configuration '((group (horizontal 1.0 (group 1.0 point))) (summary (horizontal 1.0 (group 0.3) (summary 1.0 point))) (article (horizontal 1.0 (vertical 0.3 (group 1.0)) (vertical 1.0 (summary 0.25 point) (article 1.0)))))) ) The process is as follows 1. Open gnus 2. Move on top of a group and enter 3. The window is split horizontally, with a group buffer on the left and a summary buffer on the right 4. Press 'q' to exit the summary buffer 5. The summary buffer is killed and replaced with a group buffer 6. Now I have two windows displaying the summary buffer What should have happened 5. Gnus activates the 'group' window configuration 6. It then kills the summary buffer and I am left with one window showing the groups A workaround is to add :hook (gnus-summary-exit . (lambda () (gnus-configure-windows 'group 'force))) A fix would be to reorder the code in gnus-summary-exit, so that the code related to group windows is placed before the code related to burying / deleting summary buffers. Gnus v5.13 GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) of 2019-08-29 --=20 Juan Jos=C3=A9 Garc=C3=ADa Ripoll Quantum Information and Foundations Group Institute of Fundamental Physics IFF-CSIC Calle Serrano 113b, Madrid 28006 Spain http://quinfog.hbar.es - http://juanjose.garcia.ripoll From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 19 09:48:10 2020 Received: (at 40069) by debbugs.gnu.org; 19 Jul 2020 13:48:10 +0000 Received: from localhost ([127.0.0.1]:60123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jx9fm-0000P1-Il for submit@debbugs.gnu.org; Sun, 19 Jul 2020 09:48:10 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jx9fk-0000Ok-IZ for 40069@debbugs.gnu.org; Sun, 19 Jul 2020 09:48:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=F4JQOojx3mPjfsezHdonRExPn2uzdVfwdmLNU1k48/E=; b=uVjtjZu5Y77CNb462iFCIyatCI X/IIe1xjfV1sCopFlyji82oXXJ4sKhksTnB22ikISiIh51AF6eRonCYslvDgf+BsURlia2zg5hcEb 2DKNwD045ZBinx4a0OX4m8/gsB4tOaTzPlE+NqXih2B3Jf86PXMnMH3hmGo9lutyVAQ4=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jx9fW-0006Wx-Aw; Sun, 19 Jul 2020 15:48:02 +0200 From: Lars Ingebrigtsen To: juanjose.garcia.ripoll@csic.es (Juan =?utf-8?B?Sm9zw6kgR2FyY8OtYQ==?= Ripoll) Subject: Re: bug#40069: gnus-summary-exit does not restore windows References: <86mu8inf34.fsf@csic.es> Date: Sun, 19 Jul 2020 15:47:53 +0200 In-Reply-To: <86mu8inf34.fsf@csic.es> ("Juan =?utf-8?B?Sm9zw6kgR2FyY8Ot?= =?utf-8?B?YQ==?= Ripoll"'s message of "Sun, 15 Mar 2020 10:26:55 +0100") Message-ID: <875zajsjjq.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: juanjose.garcia.ripoll@csic.es (Juan José García Ripoll) writes: > What should have happened > 5. Gnus activates the 'group' window configuration > 6. It then kills the summary buffer and I am left with one window > showing the groups > > A workaround is to add > : [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40069 Cc: 40069@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 (-) juanjose.garcia.ripoll@csic.es (Juan Jos=C3=A9 Garc=C3=ADa Ripoll) writes: > What should have happened > 5. Gnus activates the 'group' window configuration > 6. It then kills the summary buffer and I am left with one window > showing the groups > > A workaround is to add > :hook > (gnus-summary-exit . (lambda () (gnus-configure-windows 'group 'force))) > > A fix would be to reorder the code in gnus-summary-exit, so that the > code related to group windows is placed before the code related to > burying / deleting summary buffers. I've now reordered the exit code as you suggest in Emacs 28.1, and that seems to make your use case work better, and doesn't seem to have any adverse affect on the default configuration. This code is ticklish, though, so I guess we'll just have to see whether it has adverse effects on other setups. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 19 09:48:17 2020 Received: (at control) by debbugs.gnu.org; 19 Jul 2020 13:48:17 +0000 Received: from localhost ([127.0.0.1]:60126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jx9fs-0000PJ-PY for submit@debbugs.gnu.org; Sun, 19 Jul 2020 09:48:16 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jx9fq-0000Ou-Gb for control@debbugs.gnu.org; Sun, 19 Jul 2020 09:48:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=aYJUGWpuRw+4yuar/OFFEj6rk+LdN9mZKu5WF4rKK6c=; b=ZAuRdiiEQA+/vqRkkO/qkhfHiM H8ZBH6zmRKCRsUnXhiAx72FC6P7mtf2XJABiPs/YgAWk5/LDDOntfnq0yIbwCx45n/LYxAPL5nxKx vaSNiVEVgUl24C4sXyzA4XXCFR8/3htqU51yx9AAYtEs0Y5GAR3nqf04eO5/bxtN6u/U=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jx9fi-0006X9-Mr for control@debbugs.gnu.org; Sun, 19 Jul 2020 15:48:08 +0200 Date: Sun, 19 Jul 2020 15:48:05 +0200 Message-Id: <874kq3sjje.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #40069 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 40069 fixed close 40069 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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 (-) tags 40069 fixed close 40069 28.1 quit From unknown Tue Jun 17 20:36:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 17 Aug 2020 11:24:06 +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