[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: backup-by-copying-when-linked

From: Eli Zaretskii
Subject: Re: backup-by-copying-when-linked
Date: Mon, 31 Aug 2020 06:46:08 +0300
User-agent: K-9 Mail for Android

On August 31, 2020 6:15:43 AM GMT+03:00, Stefan Monnier 
<monnier@iro.umontreal.ca> wrote:
>>> > I have to admit, I consider this default behaviour pretty rude.
>>> In other circumstances, the other behavior is pretty rude as well.
>> While I consider the default Emacs behaviour to be appropriate, it is
>> possible to detect that a file has hardlinks and warn if you're
>saving to
>> such a file.
>Warning might be a good feature and even a good default, indeed, since
>options can be quite rude: sometimes the links are really there because
>you really want to keep those N places equal, and other times the links
>should only be there as long as the N files are equal.

Careful with these warnings: they could potentially be a terrible nuisance, 
since saving your edits is a very frequent operation.

If we are going to introduce such a warning, it should be issued only once per 
session for a given buffer.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]