From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: backup method Date: Fri, 28 Jan 2005 08:19:08 +0900 Message-ID: References: <20050127000210.GA6167@boetes.org> <200501270045.j0R0jIq06197@raven.dms.auburn.edu> Reply-To: snogglethorpe@gmail.com, miles@gnu.org NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1106868079 10300 80.91.229.6 (27 Jan 2005 23:21:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Jan 2005 23:21:19 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 28 00:21:07 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 1CuIwk-00035p-00 for ; Fri, 28 Jan 2005 00:21:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CuJ98-0007Yn-Ac for ged-emacs-devel@m.gmane.org; Thu, 27 Jan 2005 18:33:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CuJ7c-0005bL-DL for emacs-devel@gnu.org; Thu, 27 Jan 2005 18:32:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CuJ7Z-0005ZE-SO for emacs-devel@gnu.org; Thu, 27 Jan 2005 18:32:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CuJ7Z-0005XV-AM for emacs-devel@gnu.org; Thu, 27 Jan 2005 18:32:17 -0500 Original-Received: from [64.233.184.200] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CuIuq-00020z-Mx for emacs-devel@gnu.org; Thu, 27 Jan 2005 18:19:08 -0500 Original-Received: by wproxy.gmail.com with SMTP id 49so315881wri for ; Thu, 27 Jan 2005 15:19:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Eg16t0wcd/1YGZECWC7jJ9nGNtIfaDpMh/z6ZH2VVB+K+JgLTsA8PN3sBRDv5LfhedJ11fBuiKtUe38IKzr4Uo+XFeohbH6Ngyy+0uzG2WabKXcszM0SAD6yqT6mru5Ulcy00OT9VqYtoMrR8CUPmDYvBb9hdhObm2etWxEZWYI= Original-Received: by 10.54.20.29 with SMTP id 29mr429wrt; Thu, 27 Jan 2005 15:19:08 -0800 (PST) Original-Received: by 10.54.19.59 with HTTP; Thu, 27 Jan 2005 15:19:08 -0800 (PST) Original-To: Reiner Steib , emacs-devel@gnu.org In-Reply-To: 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:32599 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32599 On Thu, 27 Jan 2005 21:25:45 +0100, Reiner Steib wrote: > On Thu, Jan 27 2005, Kevin Rodgers wrote: > > Which is why backup-by-copying-when-linked should be t by default. > > ACK. I never understood why it is nil by default. Is there a strong > reason for the current default? See my reply to Kevin. Basically it depends on what the hard-link is being used for as to whether you want it to be broken on save or not. One could argue that the "native" unix behavior is to not break the link (since that's e.g., what "cat > file" does), but a lot of people have become accustomed to using emacs' link breaking to make a sort of cheap COW (copy-on-write) facility for hard-linked trees; other developer-oriented utilities, most notably the "patch" command, have the same behavior (breaking the link). In any case, I think it's far too late to change the default. -Miles -- Do not taunt Happy Fun Ball.