Jean-Marc Lasgouttes wrote:

> Le 05/06/2016 à 21:05, Guillaume Munch a écrit :
>> Yet, most of the file format changes are very simple. I wonder whether
>> one could introduce a single compilation variable to disable them,
>> and ask developers to enclose file-format-specific code between the
>> corresponding #ifdefs. (For instance in my last file format change all
>> that was needed to be enclosed was the parsing code.) This would allow
>> the release of "master versions without file format changes", either as
>> nightlies or as official "x.5" versions as Pavel suggested by Pavel in
>> another message (without having to maintain three branches in parallel).
> 
> This looks too complicated to me. And eventually there will be changes
> that cannot be treated like that, and all the previous work on small
> changes will be useless.
> 
> Note that that stable nightlies could be updated with lyx2lyx code for
> new master versions in parallel with master.

Or we could add a mode that calls lyx2lyx automatically after saving, so 
that effectively the master version would use the old file format. This 
would probably work fine as long as no new features are used.


Georg


Reply via email to