GNU bug report logs - #77323
[PATCH] Allow temp buffer cleanup in ediff-current-file

Previous Next

Package: emacs;

Reported by: "Paul D. Nelson" <ultrono <at> gmail.com>

Date: Thu, 27 Mar 2025 21:55:02 UTC

Severity: normal

Tags: patch

Done: Sean Whitton <spwhitton <at> spwhitton.name>

Bug is archived. No further changes may be made.

Full log


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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: "Paul D. Nelson" <ultrono <at> gmail.com>
Cc: 77323 <at> debbugs.gnu.org
Subject: Re: bug#77323: [PATCH] Allow temp buffer cleanup in ediff-current-file
Date: Sat, 29 Mar 2025 02:07:46 +0100
"Paul D. Nelson" <ultrono <at> gmail.com> writes:

> Thanks for checking on this.  Bug#74881 seems to be about deleting
> temporary files (produced by vc-ediff, I think), while the present issue
> is about cleaning up temporary buffers produced by ediff-current-file.
> Incidentally, my version (updated yesterday) does contain this fix.

Ok, thanks.  Then your proposal looks reasonable to me.

Allow two questions:

- Have you thought about checking
`ediff-current-file-cleanup-temporary-buffer' when quitting Ediff,
instead of when entering Ediff (with other words: in the lambda you add
to `ediff-quit-hook')?  I think this would fit better with the expected
behavior.  A user might toggle the new option when the Ediff session is
already running.

- Is this the only Ediff command that leaves such temporary buffers
behind?


TIA,

Michael.




This bug report was last modified 45 days ago.

Previous Next


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