Am Montag, 6. Februar 2006 11:52 schrieb Jean-Marc Lasgouttes:
> >>>>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:
> 
> Georg> Jean-Marc Lasgouttes wrote:
> >>>>>>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:
> >>
> Georg> Now why is configure creating ~/.lyx/lyxrc.defaults and not
> Georg> ~/.lyx/preferences if run automatically on startup? This is
> Georg> indeed a major problem for 1.4.0.
> >>  I don't understand. Reconfigure always creates lyxrc.default and
> >> never preferences. lyxrc.default, as it name implies, contains
> >> default values that may be overwritten by preferences.
> 
> Georg> Oh, I did not notice that so far. Then the problem is clear:
> Georg> lyx 1.4pre4 does not read ~/.lyx/lyxrc.defaults, but it should.
> 
> What does 'lyx -dbg init' says?

Problem found: LyX does not read the newly generated lyxrc.defaults. If 
you start it again, it works. I guess that adding the line
lyxrc.read(LibFileSearch(string(), "lyxrc.defaults"));
to reconfigureUserLyXDir() in lyx_main.C would fix this. BTW, why are 
there wto functions for reconfiguring (the other one in lyx_cb.C)?
Maybe this does also explain the spurious configure problems on windows?


Georg

Reply via email to