GNU bug report logs - #79280
package installation leaks tar-mode data buffers

Previous Next

Package: emacs;

Reported by: Mattias Engdegård <mattias.engdegard <at> gmail.com>

Date: Wed, 20 Aug 2025 17:51:02 UTC

Severity: normal

Done: Mattias Engdegård <mattias.engdegard <at> gmail.com>

Full log


Message #14 received at 79280 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Mattias Engdegård <mattias.engdegard <at> gmail.com>
Cc: 79280 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: Re: bug#79280: package installation leaks tar-mode data buffers
Date: Thu, 21 Aug 2025 17:02:58 +0300
> Cc: 79280 <at> debbugs.gnu.org
> From: Mattias Engdegård <mattias.engdegard <at> gmail.com>
> Date: Thu, 21 Aug 2025 13:52:20 +0200
> 
> A more principled solution might be to make buffers GC-able like any other object, at least optionally. Exactly how to do this can be discussed but maybe just being able to remove a buffer from Vbuffer_alist would do. (We have one buffer like that, Vprin1_to_string.) Of course, we'd have to teach the GC to destroy buffers. Fkill_buffer is depressingly long and complicated and should be broken up in smaller parts.

There's no way Emacs could know whether a buffer is still needed.
Users that want to get rid of buffers that were not accessed for too
long can use the midnight.el features to do that.  So I don't think we
need to add any automation here.




This bug report was last modified 13 days ago.

Previous Next


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