GNU bug report logs - #74881
31.0.50; [PATCH] * lisp/vc/ediff-util.el: Remove temp files on kill-emacs

Previous Next

Package: emacs;

Reported by: Lin Sun <sunlin7 <at> hotmail.com>

Date: Sun, 15 Dec 2024 06:00:02 UTC

Severity: normal

Tags: patch

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lin Sun <sunlin7 <at> hotmail.com>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: Eli Zaretskii <eliz <at> gnu.org>, "74881 <at> debbugs.gnu.org" <74881 <at> debbugs.gnu.org>
Subject: bug#74881: 31.0.50; [PATCH] * lisp/vc/ediff-util.el: Remove temp files on kill-emacs
Date: Mon, 30 Dec 2024 02:07:51 +0000
> From: Michael Heerdegen <michael_heerdegen <at> web.de>
> Sent: Sunday, December 29, 2024 05:37 PM
> ...
> I would expect it to work.  I found one in Gnu Elpa, in "subed.el".
> ...
> Yes, this is what I had in mind when the local hook can't be used.

Hi Michael, thank you for comments.

And I had tried adding the function to kill-emacs-hook with "local" flag but it does NOT work with kill/pkill emacs during a ediff-session,  I don't know the "local" kill-emacs-hook behavior is a feature or bug.

So the previous patch maybe the suitable one for current situation, it avoid looping all buffers and almost won't affect any user experience.  Thanks



This bug report was last modified 135 days ago.

Previous Next


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