emacs-devel
[Top][All Lists]
Advanced

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

Re: Don't complain about changed file when it hasn't changed


From: Clément Pit--Claudel
Subject: Re: Don't complain about changed file when it hasn't changed
Date: Tue, 30 Aug 2016 11:34:13 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 2016-08-30 11:12, Eli Zaretskii wrote:
>> From: Rolf Ade <address@hidden>
>> Date: Tue, 30 Aug 2016 03:23:02 +0200
>>
>>> Thanks.  Can you describe the use case(s) where this is important?
>>
>> Version control.
> 
> If the only use case is version-controlled files, perhaps we should
> enable this feature only for buffers that visit version-controlled
> files?

Another case: a Makefile may generate a.x automatically from b.x.  If b.x is 
updated, a.x will be regenerated on the next run.  If a.x was already open in 
Emacs, Emacs will prompts if the user tries to change it, even if a.x didn't 
actually change as a result of the re-generation.  a.x is not likely to be 
version-controlled, since it's auto-generated.

Cheers,
Clément.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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