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: backup method Date: Thu, 27 Jan 2005 01:01:48 +0059 Message-ID: <20050127000210.GA6167@boetes.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1106785451 10048 80.91.229.6 (27 Jan 2005 00:24:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Jan 2005 00:24:11 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 27 01:24:04 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 1CtxS7-0007q9-00 for ; Thu, 27 Jan 2005 01:24:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CtxeS-0001sy-LS for ged-emacs-devel@m.gmane.org; Wed, 26 Jan 2005 19:36:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CtxZQ-0007bx-53 for emacs-devel@gnu.org; Wed, 26 Jan 2005 19:31:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CtxXi-0006zG-5A for emacs-devel@gnu.org; Wed, 26 Jan 2005 19:29:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CtxXM-0006Zx-Tf for emacs-devel@gnu.org; Wed, 26 Jan 2005 19:29:28 -0500 Original-Received: from [217.120.147.78] (helo=boetes.org) by monty-python.gnu.org with smtp (Exim 4.34) id 1Ctx6f-0007vw-5j for emacs-devel@gnu.org; Wed, 26 Jan 2005 19:01:53 -0500 Original-Received: (qmail 22475 invoked by uid 1000); 27 Jan 2005 00:02:11 -0000 Original-To: emacs-devel@gnu.org Mail-Followup-To: emacs-devel@gnu.org Content-Disposition: inline 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:32566 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32566 Hi, The default backup method is mv and then create a new file. That's nice if you really want to keep the timestamp intact. But if you use emacs with crontab -e you remove the tmpfile and since the filedescriptor is still open your update to your cron is lost -- without warning. It was pretty hard to discover why this happened. So I would like to suggest to make backup by copying the default. Perhaps it's also an idea to disable backups altogether if the file is in /tmp # Han