GNU bug report logs -
#23069
25.1.50; in Gnus temporary browse files are always deleted
Previous Next
Reported by: Ivan Kanis <ivan <at> kanis.fr>
Date: Sun, 20 Mar 2016 16:04:01 UTC
Severity: minor
Tags: notabug
Found in version 25.1.50
Done: Ivan Kanis <ivan <at> kanis.fr>
Bug is archived. No further changes may be made.
Full log
Message #22 received at 23069 <at> debbugs.gnu.org (full text, mbox):
On Wed, 13 Jul 2016 10:14:18 -0400, Ted Zlatanov wrote:
> On Wed, 13 Jul 2016 17:42:39 +0900 Katsumi Yamaoka <yamaoka <at> jpl.org> wrote:
KY> 3. Don't add `gnus-article-browse-delete-temp-files' to
KY> `gnus-exit-gnus-hook'.
KY> I vote for 3.
KY> `gnus-summary-prepare-exit-hook' is sufficient for those who
KY> want to delete temp files automatically, I think.
> I think it's much more common to want temporary files deleted by Gnus
> when it exits, than to keep them. By definition those files are
> transient.
Roger. Ivan, here is a solution for you. :)
(defadvice gnus-article-browse-html-parts
(after dont-delete-temp-files-when-gnus-exits activate)
"Never delete temp files if `gnus-article-browse-delete-temp' is nil."
(unless gnus-article-browse-delete-temp
(remove-hook 'gnus-exit-gnus-hook
(byte-compile
(lambda ()
(gnus-article-browse-delete-temp-files t))))))
If it's ok, please close this bug.
Regards,
This bug report was last modified 8 years and 273 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.