From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: backup files for files under VC Date: Mon, 21 Apr 2008 13:58:16 +0200 Message-ID: <85wsmrqv1j.fsf@lola.goethe.zz> References: <87fxtf3aiq.fsf@physik.rwth-aachen.de> <85mynnsg0t.fsf@lola.goethe.zz> <8763ub31eh.fsf@physik.rwth-aachen.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1208779230 1080 80.91.229.12 (21 Apr 2008 12:00:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Apr 2008 12:00:30 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 21 14:01:05 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JnuhU-0002wJ-2Q for ged-emacs-devel@m.gmane.org; Mon, 21 Apr 2008 14:00:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JnugI-0008Hs-2x for ged-emacs-devel@m.gmane.org; Mon, 21 Apr 2008 07:59:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JnugC-0008Gj-8R for emacs-devel@gnu.org; Mon, 21 Apr 2008 07:59:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jnug5-0008DM-3C for emacs-devel@gnu.org; Mon, 21 Apr 2008 07:59:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jnug4-0008D4-JB for emacs-devel@gnu.org; Mon, 21 Apr 2008 07:59:20 -0400 Original-Received: from mail-in-02.arcor-online.net ([151.189.21.42]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jnug0-000776-Rd for emacs-devel@gnu.org; Mon, 21 Apr 2008 07:59:20 -0400 Original-Received: from mail-in-19-z2.arcor-online.net (mail-in-19-z2.arcor-online.net [151.189.8.36]) by mail-in-02.arcor-online.net (Postfix) with ESMTP id C454A32E737 for ; Mon, 21 Apr 2008 13:58:29 +0200 (CEST) Original-Received: from mail-in-12.arcor-online.net (mail-in-12.arcor-online.net [151.189.21.52]) by mail-in-19-z2.arcor-online.net (Postfix) with ESMTP id E6C486C001 for ; Mon, 21 Apr 2008 13:58:28 +0200 (CEST) Original-Received: from lola.goethe.zz (dslb-084-061-038-079.pools.arcor-ip.net [84.61.38.79]) by mail-in-12.arcor-online.net (Postfix) with ESMTP id 045F5944AB for ; Mon, 21 Apr 2008 13:58:25 +0200 (CEST) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 36F411C3C7BC; Mon, 21 Apr 2008 13:58:16 +0200 (CEST) In-Reply-To: <8763ub31eh.fsf@physik.rwth-aachen.de> (Torsten Bronger's message of "Mon, 21 Apr 2008 13:14:46 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Virus-Scanned: ClamAV 0.92.1/6862/Mon Apr 21 13:26:20 2008 on mail-in-12.arcor-online.net X-Virus-Status: Clean X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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: news.gmane.org gmane.emacs.devel:95622 Archived-At: Torsten Bronger writes: > Hall=F6chen! > > David Kastrup writes: > >> Torsten Bronger writes: >> >>> [...] >>> >>> and request to change it because the VCS only stores the last >>> commit. >> >> What version control system would that be? > > If I change the file, save it, and remove it afterwards, the changes > are lost. Why would you do that without checking this into a branch when you have serious work done on it? > Between saving and removing must be the commit, otherwise, the VCS > can't restore the file. Random deletion is more a candidate for backing up your whole directory rather than having single backup files lying around. > In contrast to that, a backup file stores the last save instead of the > last commit. And because this may help in some cases, I suggest to > change the default value of vc-make-backup-files. I vote against it. Version-controlled directories become messy pretty fast with backup files lying around. For one thing, they tend not to correspond with the current branch/version. In particular distributed version control systems (you still have not mentioned which system you are talking about, by the way) provide ample opportunity for saving partial work, in a manner where it is clear just what version the partial work is based on. --=20 David Kastrup, Kriemhildstr. 15, 44793 Bochum