From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel 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 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1376251666 25393 80.91.229.3 (11 Aug 2013 20:07:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Aug 2013 20:07:46 +0000 (UTC) Cc: Katsumi Yamaoka , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 11 22:07:46 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V8bvW-0002Fe-BH for ged-emacs-devel@m.gmane.org; Sun, 11 Aug 2013 22:07:46 +0200 Original-Received: from localhost ([::1]:35799 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8bvV-0003CK-Sy for ged-emacs-devel@m.gmane.org; Sun, 11 Aug 2013 16:07:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8bvO-0003CE-U3 for emacs-devel@gnu.org; Sun, 11 Aug 2013 16:07:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V8bvJ-0003Tk-K4 for emacs-devel@gnu.org; Sun, 11 Aug 2013 16:07:38 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:60979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8bvJ-0003Td-DP for emacs-devel@gnu.org; Sun, 11 Aug 2013 16:07:33 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1V8bv7-0008KY-Hm; Sun, 11 Aug 2013 22:07:21 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEX///3+//zl5N/LysL+ //exsKj7+/eSkIYEAwFbVUJsaFj+//sKCQj///8zMSwODg71ti0cAAAB90lEQVQ4jXXUv2sTYRgH 8IcWs4TL4N7lXkxcBL3LWUHQJZtbbCgSMDHCZSgFqbYVFFwzFAopUs7OpQaHHl0KHnRwcnihZ4Us 4Vk6uPgXCEdfn/dHTfLe+WQ5ng/P93nvyB3wP1GuBBVkYrOVK9//AANRbzQaCVUMjoMA5QQgKXeA i/qThK4BUgBMHXSkJR0Qok59BxAnv7bZz2DJa55WxEFHRsUADhL8XmXNYGPYDCqDAxUVqz5OLlfZ 1vLlt2ZLgRAPY9XHyd4y25iCjDJwWGO3FJxdRxk4qjFvLgoMbPXno67hx2bNLD/bITgnQA3PAg1B RUI2hecG+mpiGpWODh9dtT4Nj6++Ru/Uct3HNPr4YPA0Gn7eVZAZWLJBRl24YehWu/Mg7+PEdV3P 7eajbjKP+f4UTiVwgnEoqzvan4XZU+3ftiY04MgGyMMbfarCie//j7qLY+a/sOCxiup5PbZuAy0v uYiLdwpggZrp/YKoBYpBV8Prf0BP90Yh0MSiPG9vBvrFUW81DPRy9Gzgol2i5sU9G4Row8vq2F/P R7WhxPwqFkzEOF7DHGQ0MfN0Jez0oy86yikCkYddBRRl3kFrgosV89amBt4TvJJRK4mBMDyhv9da GJbCrgL6YJTBKhl1tF1Qx7Rc8Izz7JzThfweiYx+QvwF1BZzHYQCYfwAAAAASUVORK5CYII= X-Now-Playing: Arto Lindsay's _Hyper Civilizado_: "Mundo Civilizado Inversion Mix (DJ Spooky)" X-Hashcash: 1:23:130811:yamaoka@jpl.org::1nuSn4ZCS7tIcJpr:00Ylrp X-Hashcash: 1:23:130811:monnier@iro.umontreal.ca::tt3CNq33ep0iVYDx:0000000000000000000000000000000000000MmBE X-Hashcash: 1:23:130811:emacs-devel@gnu.org::xSHSCCz7Ib7PS2v+:000000000000000000000000000000000000000000X3cJ In-Reply-To: (Stefan Monnier's message of "Fri, 09 Aug 2013 22:19:58 -0400") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1V8bv7-0008KY-Hm MailScanner-NULL-Check: 1376856441.97584@24Jn+FphCCm393X7HzIk0Q X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:162582 Archived-At: Stefan Monnier 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