Re: [Feature request] File date and time check

Please see my comment regarding request number 2 below.

Keith Rubow

Laurent Carcone wrote:
> Hello Steven,
>
> Steven Pemberton a écrit :
>> This is taken from how emacs works, and has saved my bacon a number 
>> of times there, and would have saved me a lot of work if Amaya also 
>> did it. It consists of two checks:
>>
>> 1) If the document is in 'unedited' state (i.e. where ^S has no 
>> effect), and I start to edit it, if it is possible to check the date 
>> and time of the original file, and the date and time of the file has 
>> changed since loading the document, warn "the document has changed on 
>> disk, are you sure you want to edit it?"
>
> We'll add this feature on our todo list.
>
>>
>> 2) Similarly, just before saving a file, check that the date and time 
>> of the destination is still the same as it was, warning "The document 
>> has changed on disk, are you sure you want to save it?" if not.
>
> Amaya used to manage the http etags but there was some problems and 
> some users complained because they couldn't save their document, there 
> was a 'conflict' message even when they were the only ones to modify 
> the document. so we disabled this option.
However, Laurent Carcone is not asking for a "feature" that would 
_prevent_ a user from saving the document if the original file had been 
changed since being opened. The feature request is to simply warn the 
user that the document has been changed, and give the user a choice of 
saving the document or not. Presumably the user could also chose to do a 
Save As to a new file name, and then then compare the two files to see 
what other changes had been made to the document to see if the two sets 
of changes need to be manually merged. I think this is an excellent 
suggestion.
>
> Regards,
> Laurent Carcone
>>
>> Best wishes,
>>
>> Steven Pemberton
>>
>>
>
>
> .
>

Received on Monday, 19 July 2010 16:04:46 UTC