From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Katsumi Yamaoka <yamaoka@jpl.org>, emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] trunk r113773: Gnus: delete temporary files when Gnus exits instead of using timers
Date: Sun, 11 Aug 2013 22:07:20 +0200 [thread overview]
Message-ID: <m3zjsong93.fsf@stories.gnus.org> (raw)
In-Reply-To: <jwva9kqi920.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 09 Aug 2013 22:19:58 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> 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
and http://lars.ingebrigtsen.no/2013/08/twenty-years-of-september.html
next prev parent reply other threads:[~2013-08-11 20:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1V7hi3-00028W-75@vcs.savannah.gnu.org>
2013-08-09 14:08 ` [Emacs-diffs] trunk r113773: Gnus: delete temporary files when Gnus exits instead of using timers Stefan Monnier
2013-08-09 23:16 ` Katsumi Yamaoka
2013-08-10 2:19 ` Stefan Monnier
2013-08-11 20:07 ` Lars Magne Ingebrigtsen [this message]
2013-08-12 1:03 ` Katsumi Yamaoka
2013-08-12 5:06 ` Achim Gratz
2013-08-12 13:20 ` Lars Magne Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3zjsong93.fsf@stories.gnus.org \
--to=larsi@gnus.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=yamaoka@jpl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).