Jean-Marc Lasgouttes wrote:
> Something I have been wanting to do is to get rid of the system-wide
> lyxrc.default file, so that every user only has his own one,
> generated the first time LyX is run by this user. I think this will
> simplify installation in many cases, especially when one considers
> that the system wide lyxrc.default is never really used :)

> Actually, what you need is the textclass.lst file, but it is a bug
> to test for it at startup.

> Would that help you on windows, or will it be worse?

It'd simply be different. You'd have to iron out bugs in this new code
too... I know that the changes to LyX 1.3.6 were huge but we did
*try* to keep them to a minimum, remember?

Having said that, I do think that your proposal is elegant. Presumably
the order in which these files would be read would be

   $LYX_USER_DIR/lyxrc.defaults
   $LYX_SYSTEM_DIR/preferences
   $LYX_USER_DIR/preferences

? Ie, lyx would read three preferences files, not two as now.

Note that such a change would have an impact on the package.[Ch] code
as we currently test for the presence of lyxrc.defaults.

-- 
Angus

Reply via email to