GNU bug report logs - #53870
calendar-exit doesn't kill calendar buffers

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Tue, 8 Feb 2022 08:09:02 UTC

Severity: minor

Fixed in version 29.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: Juri Linkov <juri <at> linkov.net>
To: 53870 <at> debbugs.gnu.org
Subject: bug#53870: calendar-exit doesn't kill calendar buffers
Date: Tue, 08 Feb 2022 09:39:24 +0200
[This is a separate bug report from bug#53764.]

>> The only case when I see the diary file is when quitting Calendar
>> leaves the diary buffer floating in the buffer list, so every time after
>> using Calendar have to visit the diary buffer and manually kill it.
>
> That buffer is included in `calendar-buffer-list', so `calendar-exit'
> calls `quit-window' on that buffer.  So you could have
> `quit-window-hook' kill the buffer, I guess?

The problem is that when the KILL arg of calendar-exit is non-nil,
it still doesn't kill calendar buffers.

When calendar-setup is non-nil, it doesn't kill all calendar buffers
because ‘(quit-window kill w)’ is called only on windows, but not on
non-displayed buffers.

When calendar-setup is nil, it doesn't kill all calendar buffers
because ‘(quit-windows-on b kill)’ never kills non-displayed buffers.




This bug report was last modified 3 years and 99 days ago.

Previous Next


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