From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] trunk r113773: Gnus: delete temporary files when Gnus exits instead of using timers Date: Sat, 10 Aug 2013 08:16:22 +0900 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1376090214 27837 80.91.229.3 (9 Aug 2013 23:16:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Aug 2013 23:16:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 10 01:16:55 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 1V7vvT-0002BZ-F3 for ged-emacs-devel@m.gmane.org; Sat, 10 Aug 2013 01:16:55 +0200 Original-Received: from localhost ([::1]:55012 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7vvS-0001zh-Ni for ged-emacs-devel@m.gmane.org; Fri, 09 Aug 2013 19:16:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7vvJ-0001uE-KC for emacs-devel@gnu.org; Fri, 09 Aug 2013 19:16:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V7vvD-000432-Qb for emacs-devel@gnu.org; Fri, 09 Aug 2013 19:16:45 -0400 Original-Received: from mail-halifax.hostforweb.net ([205.234.137.17]:60348 helo=halifax.hostforweb.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7vvD-00042g-ND for emacs-devel@gnu.org; Fri, 09 Aug 2013 19:16:39 -0400 Original-Received: from [219.34.144.17] (port=54203 helo=) by halifax.hostforweb.net with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.80.1) (envelope-from ) id 1V7vuz-00019w-CY; Fri, 09 Aug 2013 18:16:36 -0500 X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:COEP2H2lrAHKfQLsCKMMLALRcgc= X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - halifax.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: halifax.hostforweb.net: authenticated_id: yamaokac/only user confirmed/virtual account not confirmed X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (barebone) [generic] X-Received-From: 205.234.137.17 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:162541 Archived-At: >> Gnus: delete temporary files when Gnus exits instead of using timers Stefan Monnier wrote: > Deleting them when exiting is OK, but doing so only when we exit is not: > - we don't want to keep temporary files around for weeks. > - especially since those files won't be deleted if Emacs crashes during > this time. That's quite possible. But I have no good idea for the solution. Is there a better way than using a long timer?