On Tue, Aug 07, 2007 at 03:55:50PM -0500, Bo Peng wrote:

> > Yep. -2 (even without seeing the patch :)
> 
> How about a combination of both?
> 
> 1. when lyx gets focus, check diskfile. if modified, set diskModified = true
> 2. when the buffer is modified and if diskModified, ask if reload the
> file. If so, reload.the file. If not, set diskModified to false.
> 
> Briefly, disk checking only happens when lyx gets focus, but reloading
> is prompted only when the buffer is changed.

What about doing nothing? Who should modify the .lyx file behind my
back? The only one could be me, and I know I did it, as I think I am
not in that senile state, still.

-- 
Enrico

Reply via email to