Shouldn't the log message for the second read of ekr.leo be different then?

reading *settings* in C:\Users\Dev\ekr.leo  # My local file, read for its 
entire *content*.



On Saturday, November 8, 2025 at 11:16:09 AM UTC Edward K. Ream wrote:

> On Fri, Nov 7, 2025 at 11:52 PM 'rengel' via leo-editor <
> [email protected]> wrote:
>
> Why are myLeoSettings.leo are read twice in a row?
>>
>
> Excellent question.
>
> Leo always reads at least one .leo file twice. For example:
>
> reading settings in C:\Repos\leo-editor\leo\config\leoSettings.leo
> reading settings in C:\Users\Dev\.leo\myLeoSettings.leo
> reading settings in C:\Users\Dev\ekr.leo  # My local file, read only for 
> its settings.
> reading settings in C:\Users\Dev\.leo\EKRWindowsDark.leo
> reading settings in C:\Users\Dev\ekr.leo  # My local file, read for its 
> entire content.
>
> The reason is complicated, but the general idea is that Leo must read all 
> your settings files before reading the files on the command line (or the 
> equivalent of the command line, as with sessions). So Leo will read 
> myLeoSettings.leo twice if you are editing myLeoSettings.leo explicitly.
>
> The load process (including loading settings files) probably will not (can 
> not!) ever change. The code in question is the LoadManager class in 
> leoApp.py.
>
> Edward
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/leo-editor/1fcb0dc9-05f4-435a-b270-c9bdc9d90dffn%40googlegroups.com.

Reply via email to