<FILE> "Open Recent". How to extend the limit from 50 to 100?

typist at mac.com typist at mac.com
Sat Jun 20 13:40:04 UTC 2020


OK, and thank you Stephan.

To be clearer about #4 below. A file does not need to be re-opened to populate the list I require. For the list has already been populated by the most recent files that were opened. And those — the most recently opened — are the files I require.

PS: I’ve gotten what I require by also accessing the “Open Recent” list on my prior computer.

My thanks again.

> On 20 Jun 2020, at 10:47 pm, Stephan Witt <st.witt at gmx.net> wrote:
> 
> Am 20.06.2020 um 08:29 schrieb typist at mac.com:
>> 
>> Thanks JMarc,
>> 
>> 1. Using LyX Version 2.3.5-1 (2 June 2020), I see that the “Maximum last files” is 50. (Via Preferences -> Look @ Feel -> User Interface.)
> 
> Yes, that’s true. It was changed from 20 to 50 on 2016-01-13.
> 
>> 2. Where do I find that "there is a hardcoded bound at 100”?
> 
> The first hard coded bound is 50 indeed. It’s in the source code in header file src/LyXRC.h line 547 for LyX 2.3.5.
> 
> The 2nd upper limit of 100 is in source code file src/Session.cpp line 47 the assignment of absolute_max_last_files.
> 
> This is the limit JMarc had in mind, AFAICS.
> 
>> 3. Can I access that limit?
> 
> You can’t change it without recompile the complete application.
> 
>> 4. PS: I do not see why a file needs to be opened to populate the list that I require??
> 
> In fact it’s the list of last accessed files. What do you expect? What is the list that you requires? In your first mail you wrote:
> 
>> I’d like to review the last 100 files that I’ve opened.
> 
> Indeed this list is stored in the file "~/Library/Application Support/LyX-2.3/session“
> 
> You may fill it yourself if you know how to do it. The first two lines of this file are:
> 
> ## Automatically generated lyx session file 
> ## Editing this file manually may cause lyx to crash.
> 
> So, you’re warned …
> 
> Stephan



More information about the lyx-users mailing list