>>>> "Ville" == Ville Skytt <Ville>
writes:
Ville> IMHO, this produces somewhat unexpected (to me, anyway)
Ville> results. When I edit a file, I want to change its
Ville> contents, not modes or ownerships.
Ville> Would it be possible to make
Ville> `backup-by-copying-when-mismatch' default to t?
We can talk about it, although my initial reaction is I don't like it.
Copying is nonatomic and introduces some extra latency (eg, on NFS or
TRAMP edits). It also has the severe disadvantage (to my mind) that
in the case at hand, your backup has been destroyed but you don't know
that unless you're thinking about it carefully. If you should need
it, you have an unpleasant surprise waiting for you.
With the default, what should happen is that (1) disk full causes the
save to fail (2) you have an unpleasant surprise that the file on disk
is truncated (3) you have the pleasant surprise that the backup is
actually current. If you're lucky (or been there before :-), you
preserved the buffer, so you have _all_ the most recent data.
Furthermore, you know you're at risk, so you take extra care. I like
that scenario a _lot_ better.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.