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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: "Paul D. Nelson" <ultrono <at> gmail.com>
Subject: bug#77323: closed (Re: bug#77323: [PATCH] Allow temp buffer
 cleanup in ediff-current-file)
Date: Sat, 05 Apr 2025 01:38:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#77323: [PATCH] Allow temp buffer cleanup in ediff-current-file

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 77323 <at> debbugs.gnu.org.

-- 
77323: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77323
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Sean Whitton <spwhitton <at> spwhitton.name>
To: Eli Zaretskii <eliz <at> gnu.org>, Michael Heerdegen
 <michael_heerdegen <at> web.de>,  ultrono <at> gmail.com, 77323-done <at> debbugs.gnu.org
Subject: Re: bug#77323: [PATCH] Allow temp buffer cleanup in ediff-current-file
Date: Sat, 05 Apr 2025 09:37:13 +0800
Hello,

Thanks, installed this.

-- 
Sean Whitton

[Message part 3 (message/rfc822, inline)]
From: "Paul D. Nelson" <ultrono <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Allow temp buffer cleanup in ediff-current-file
Date: Thu, 27 Mar 2025 22:51:57 +0100
[Message part 4 (text/plain, inline)]
When ediff-current-file compares a modified buffer with its saved
version, it creates a temporary "FILE=..." buffer to hold the saved
contents.  Currently, this buffer persists after the Ediff session
quits, requiring manual cleanup later.

In my experience, this buffer serves no further purpose once the
comparison is done, and just clutters the buffer list.  On the other
hand, I could imagine someone using it as a way to retain a snapshot of
the saved file state.

The attached patch introduces a user option that, when non-nil, causes
the "FILE=..." buffer to be killed automatically after quitting Ediff.

The default is nil, so that the patch does not modify existing behavior.

Such automatic cleanup does not seem achievable via existing Ediff
hooks.

Any feedback would be welcome.

Thanks, best,

Paul

[Message part 5 (text/x-patch, attachment)]

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.