On Wed, Nov 01, 2006 at 09:39:02PM +0100, Joost Verburg wrote:
> Lars Gullik Bjønnes wrote:
> >We have a filesystem...
> >Filesystems are shared between computers...
> >Computer have users...
> >Users run LyX...
> >LyX loads the same file...
> 
> LyX can set a write lock on open files.

How?

NFS locking is notorious for working only on Fridays when the moon is
full.

> There are indeed two options:
> 
> 1) Display an error message when the file is already opened by another 
> LyX process.

How do you know that a file is opened by a process in a portable manner?

> It will be impossible to know which windows have the data 
> of the document (they all look the same independent of the process).
> 2) Use a single process by default so users will automatically get a new 
> view with the right contents.
> 
> Option 2 is definitely more user-friendly.

As in "can't run batch converters anymore just because someone views a
lyx file"?

Andre'

Reply via email to