[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] trunk r113773: Gnus: delete temporary files when Gnus
Lars Magne Ingebrigtsen
Re: [Emacs-diffs] trunk r113773: Gnus: delete temporary files when Gnus exits instead of using timers
Sun, 11 Aug 2013 22:07:20 +0200
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)
Stefan Monnier <address@hidden> writes:
> I don't think there "a solution". You could mix the two previous
> solutions: have a timer erase the files after some time, plus have an
> exit-hook that also deletes the files.
Yes. Having the files in /tmp linger for a "long time" is not what
users expect, I think, and may lead to privacy problems. So Gnus should
delete the files "as fast as possible", which may not be very fast, but
should be quicker than the Emacs lifetime.
So I think deleting on Emacs exit is good, but there should be a timer
to delete things "fast". Like, one minute, perhaps? Surely even the
xgd launcher must have managed to start and read the file by then?
(domestic pets only, the antidote for overdose, milk.)
No Gnus T-Shirt for sale: http://ingebrigtsen.no/no.php