On Tue, 3 Sep 2002, R. Lahaye wrote: > Allan Rae wrote: > > On Thu, 29 Aug 2002, John Levon wrote: > > > > Certainly get rid of the option to name which lastfiles > > file to use (although even this can useful when dealing with multiple > > LyX versions since they can share a common lastfiles). > > Several versions of lastfiles? > Hmmm, but how would that work, practically?
cd lyx-1.3.0 ; ./configure --program-suffix=-13 cd lyx-1.2.1 ; ./configure --program-suffix=-12 cd lyx-1.0.4 ; ./configure --program-suffix=-10 Three different installations. Three different sets of settings. Since 1.0.x doesn't use a preferences file only a lyxrc file you can then setup the preferences file in 1.2.1 and 1.3.0 to use the .lyx-10/lastfiles for example so you use the same lastfiles in all your lyx versions. > Lastfiles is stored in preferences, which is shared, unless you > have a separate user directory for ~/.lyx, but then you also > have different files for lastfiles! Which is why I said you might find it useful to set them to the same thing! > When changing the lastfiles file in preferences does not > update the lastfiles menu item to the new setting! Then this is a bug. > Because lastfiles is stored in the common preferences > file, it's not possible to use different lastfile files. That's only true if you do a shared installation. Separate installs with a distinct suffix get separate setting directories. > So the filename lastfiles should be hardcoded and not be > changeable in the prefs. Nice bit of logic except it misses out on some vital info given above. I can live without being able to name the lastfiles but I'd like to be able to set the number of lastfiles to something useful to me without having to hack the code. Allan. (ARRae)