From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] trunk r113773: Gnus: delete temporary files when Gnus exits instead of using timers Date: Mon, 12 Aug 2013 07:06:55 +0200 Organization: Linux Private Site Message-ID: <87fvufmr9s.fsf@Rainer.invalid> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1376284047 19463 80.91.229.3 (12 Aug 2013 05:07:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Aug 2013 05:07:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 12 07:07:29 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 1V8kLm-0003ru-Iv for ged-emacs-devel@m.gmane.org; Mon, 12 Aug 2013 07:07:26 +0200 Original-Received: from localhost ([::1]:40989 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8kLm-0005gh-2Q for ged-emacs-devel@m.gmane.org; Mon, 12 Aug 2013 01:07:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8kLc-0005ff-LS for emacs-devel@gnu.org; Mon, 12 Aug 2013 01:07:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V8kLW-0000zL-G2 for emacs-devel@gnu.org; Mon, 12 Aug 2013 01:07:16 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:36775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8kLW-0000zC-9X for emacs-devel@gnu.org; Mon, 12 Aug 2013 01:07:10 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V8kLS-0003Z7-L5 for emacs-devel@gnu.org; Mon, 12 Aug 2013 07:07:06 +0200 Original-Received: from pd9eb2701.dip0.t-ipconnect.de ([217.235.39.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Aug 2013 07:07:06 +0200 Original-Received: from Stromeko by pd9eb2701.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Aug 2013 07:07:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pd9eb2701.dip0.t-ipconnect.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:P79mEtnAN0muQVuBoHN9IEHdAto= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:162601 Archived-At: Katsumi Yamaoka writes: >> Yes. Having the files in /tmp linger for a "long time" is not what >> users expect, I think, and may lead to privacy problems. > > Yes, we should think much of privacy. A better way would be to > set $TMPDIR, $TEMP, $TMP, and so forth to someting like "~/tmp". Not only is this not a better solution, but makes things potentially much worse. It is not uncommon to have everything in $HOME subject to automatic backup and also not uncommon to not have enough space in $HOME to function reliably as $TMPDIR. Emacs shouldn't make changes to how the environment is set up when it cannot know how the system is set up. These days TMPDIR is often pointing to a private space anyway (as far as a file on disk can be private). Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ DIY Stuff: http://Synth.Stromeko.net/DIY.html