GNU bug report logs - #40069
gnus-summary-exit does not restore windows

Previous Next

Packages: emacs, gnus;

Reported by: juanjose.garcia.ripoll <at> csic.es (Juan José García Ripoll)

Date: Sun, 15 Mar 2020 09:27:01 UTC

Severity: normal

Tags: fixed

Found in version 5.13

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: juanjose.garcia.ripoll <at> csic.es (Juan José García Ripoll)
Cc: 40069 <at> debbugs.gnu.org
Subject: bug#40069: gnus-summary-exit does not restore windows
Date: Sun, 19 Jul 2020 15:47:53 +0200
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




This bug report was last modified 4 years and 305 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.