On Fri, Apr 21, 2006 at 06:35:41PM -0500, Bo Peng wrote: > > That said, I don't know how compression is handled, but I think that > > it should be done such that a LyX file starts with "#LyX" such that it > > is still possible to recognize it whatever its extension or > > compression status. > > Current behavior: > > 1. When lyx opens a file, it checks its signature. If the file is > compressed, decompress it and read. Extension does not really matter.
What is this signature? Can it be checked by an external program, too? I am concerned about being able to recognize a .lyx file, as there is software relying on the fact a .lyx file starts with "#LyX". It has been so from day 1 and it would be a real nuisance if it changes. -- Enrico