* wrong default for backup-by-copying-when-linked?
@ 2002-11-04 15:28 Dave Love
2002-11-04 16:49 ` Andreas Schwab
0 siblings, 1 reply; 4+ messages in thread
From: Dave Love @ 2002-11-04 15:28 UTC (permalink / raw)
This can't be a new issue, but I don't recall discussion of it. It
seems to me that backup-by-copying-when-linked should default to t, as
I actually thought it did. I've just been bitten by breaking links to
some system configuration files.
Is there a good reason for the current default of nil? If so, I think
it should at least be commented.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: wrong default for backup-by-copying-when-linked?
2002-11-04 15:28 wrong default for backup-by-copying-when-linked? Dave Love
@ 2002-11-04 16:49 ` Andreas Schwab
2002-11-06 18:58 ` Dave Love
0 siblings, 1 reply; 4+ messages in thread
From: Andreas Schwab @ 2002-11-04 16:49 UTC (permalink / raw)
Cc: bug-gnu-emacs
Dave Love <d.love@dl.ac.uk> writes:
|> This can't be a new issue, but I don't recall discussion of it. It
|> seems to me that backup-by-copying-when-linked should default to t, as
|> I actually thought it did. I've just been bitten by breaking links to
|> some system configuration files.
|>
|> Is there a good reason for the current default of nil? If so, I think
|> it should at least be commented.
The current default is convenient if you work on a "cp -al" copy of a
source tree and want to do a fast diff between the original tree and the
modified tree.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: wrong default for backup-by-copying-when-linked?
2002-11-04 16:49 ` Andreas Schwab
@ 2002-11-06 18:58 ` Dave Love
2002-11-07 22:03 ` Kevin Rodgers
0 siblings, 1 reply; 4+ messages in thread
From: Dave Love @ 2002-11-06 18:58 UTC (permalink / raw)
Cc: bug-gnu-emacs
Andreas Schwab <schwab@suse.de> writes:
> The current default is convenient if you work on a "cp -al" copy of a
> source tree and want to do a fast diff between the original tree and the
> modified tree.
I'm sure it's more convenient in some cases, but I don't think that
outweighs the trouble it can cause. When it's clobbered links you
normally have no indication, and it's likely to lead to obscure
problems. It took quite a while to discover what had happened in the
case that prompted this.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: wrong default for backup-by-copying-when-linked?
2002-11-06 18:58 ` Dave Love
@ 2002-11-07 22:03 ` Kevin Rodgers
0 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2002-11-07 22:03 UTC (permalink / raw)
Dave Love wrote:
> Andreas Schwab <schwab@suse.de> writes:
>
>
>>The current default is convenient if you work on a "cp -al" copy of a
>>source tree and want to do a fast diff between the original tree and the
>>modified tree.
>>
>
> I'm sure it's more convenient in some cases, but I don't think that
> outweighs the trouble it can cause. When it's clobbered links you
> normally have no indication, and it's likely to lead to obscure
> problems. It took quite a while to discover what had happened in the
> case that prompted this.
Indeed. The very first thing I put in every Emacs installation's default.el
file is
(setq backup-by-copying-when-linked t) ; preserve hard links to original file
--
<a href="mailto:<kevin.rodgers@ihs.com>">Kevin Rodgers</a>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-11-07 22:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-04 15:28 wrong default for backup-by-copying-when-linked? Dave Love
2002-11-04 16:49 ` Andreas Schwab
2002-11-06 18:58 ` Dave Love
2002-11-07 22:03 ` Kevin Rodgers
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).