From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Han Boetes Newsgroups: gmane.emacs.devel Subject: Re: backup method Date: Thu, 27 Jan 2005 03:27:22 +0100 Message-ID: <20050127022744.GD6167@boetes.org> References: <20050127000210.GA6167@boetes.org> <200501270147.j0R1l2b06722@raven.dms.auburn.edu> <20050127020846.GC6167@boetes.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1106794296 28181 80.91.229.6 (27 Jan 2005 02:51:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Jan 2005 02:51:36 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 27 03:51:31 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ctzko-0006yH-00 for ; Thu, 27 Jan 2005 03:51:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ctzx9-0003lp-PL for ged-emacs-devel@m.gmane.org; Wed, 26 Jan 2005 22:04:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ctzvi-0003dY-Nb for emacs-devel@gnu.org; Wed, 26 Jan 2005 22:02:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CtzvU-0003Xm-SL for emacs-devel@gnu.org; Wed, 26 Jan 2005 22:02:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CtzvU-0003SI-Lx for emacs-devel@gnu.org; Wed, 26 Jan 2005 22:02:32 -0500 Original-Received: from [217.120.147.78] (helo=boetes.org) by monty-python.gnu.org with smtp (Exim 4.34) id 1CtzNU-0003J1-0R for emacs-devel@gnu.org; Wed, 26 Jan 2005 21:27:24 -0500 Original-Received: (qmail 22876 invoked by uid 1000); 27 Jan 2005 02:27:44 -0000 Original-To: emacs-devel@gnu.org Mail-Followup-To: emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <20050127020846.GC6167@boetes.org> User-Agent: Mutt/1.5.6i X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:32574 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32574 Han Boetes wrote: > Luc Teirlinck wrote: > > Han Boetes wrote: > > > > Perhaps it's also an idea to disable backups altogether if the > > file is in /tmp > > > > Is this not already the case? From `(elisp)Making Backups': > > > > -- Variable: backup-enable-predicate > > I do not yet seem to have this variable in the multitty branch, > which is now over a month old. Must be something new. Ow wait. I got it!! I normally set TMP and TMPDIR to ~/.tmp so all tmpfiles are made in those dirs. Very good measure against programs that use unsafe tmpfile creation and what not. I just tested it. If I ``unset TMP TMPDIR'' and then set backup by moving I get no problems with crontab because c-h v temporary-file-directory is "/tmp/" But not all programs honour TMP and TMPDIR. So I suggest that that variable should always include /tmp/ # Han