GNU bug report logs -
#40069
gnus-summary-exit does not restore windows
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40069 in the body.
You can then email your comments to 40069 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
:
bug#40069
; Package
emacs,gnus
.
(Sun, 15 Mar 2020 09:27:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
juanjose.garcia.ripoll <at> csic.es (Juan José García Ripoll)
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
.
(Sun, 15 Mar 2020 09:27:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
--
Juan José García 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
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
:
bug#40069
; Package
emacs,gnus
.
(Sun, 19 Jul 2020 13:49:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 40069 <at> debbugs.gnu.org (full text, mbox):
juanjose.garcia.ripoll <at> 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
> :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.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) fixed.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 19 Jul 2020 13:49:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 28.1, send any further explanations to
40069 <at> debbugs.gnu.org and juanjose.garcia.ripoll <at> csic.es (Juan José García Ripoll)
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 19 Jul 2020 13:49:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 17 Aug 2020 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 245 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.