On 7/22/19 7:08 PM, Pavel Sanda wrote: > On Mon, Jul 22, 2019 at 03:56:34PM +0200, Jean-Marc Lasgouttes wrote: >> Le 20/07/2019 ?? 07:03, Jürgen Spitzmüller a écrit : >>> Am Freitag, den 19.07.2019, 22:03 +0200 schrieb Jean-Marc Lasgouttes: >>>> I do not see the point of doing that, so I want to know what I miss. >>> AFAIU the point is just to increase the version number to let older >>> versions on LyX know that these prefs are not for them (otherwise they >>> will complain about unknown prefs). >> So it is the same when I introduce a new lfun? Just for the pleasure of >> breaking compatibility? I am not sure it is useful, since anyway what our >> user see is the jump between stable releases versions. > I think you are right that increasing pref version make sense only for cases > like renaming or deleting lfuns, where pref2pref conversion routines > have some reasonable stuff to do (rename or delete lfuns within existing > prefs).
This was originally modeled on what we do for layouts, e.g. It is not clear to me if there is a difference there or not. I'm guessing that e.g. LyX 2.2 could choke badly if handed a 2.3 file, even if the only changes were of this kind. Riki