As I wrote earlier, I don't see log messages for reading any files except 
the ones read for their settings. I think that's fine because after reading 
settings, if the subsequent read for content failed to produce a tab 
labeled with the file name, it would also fail to create a log pane so 
there would be no log message at all.

For all outlines except the first to be opened, I get no log messages about 
reading LeoSettings.leo, myLeoSettings.leo, or the theme.  This makes me 
think they don't get read again.  For example, I opened Leo with two 
outlines on the command line.  For the first (the workbook), I got this in 
the log:

      home: C:\Users\Tom
leo-editor: C:\Tom\git\leo-editor
      load: C:\Tom\git\leo-editor\leo\core
    config: C:\Tom\git\leo-editor\leo\config
reading settings in C:\Tom\git\leo-editor\leo\config\leoSettings.leo
reading settings in C:\Users\Tom\.leo\myLeoSettings.leo
reading settings in C:\Users\Tom\.leo\themes\tbp_dark.leo
reading settings in C:\Users\Tom\.leo\workbook.leo

For the second one, which contains no settings, I didn't get any log 
message about opening an outline.  However, if I open the same file from 
the *File/Open Recent Files* menu, I do get a message:

reading settings in C:\tom\git\gf4-project\gf4\gf4.leo



On Sunday, November 9, 2025 at 11:33:37 AM UTC-5 Edward K. Ream wrote:

> On Sunday, November 9, 2025 at 3:50:11 AM UTC-6 jkn wrote:
>
> ... One might expect logs like: (leaving EKR comments in)
>
>
> reading settings in C:\Users\Dev\ekr.leo  # My local file, read only for 
> its settings.
> ...
> reading C:\Users\Dev\ekr.leo  # My local file, read for its entire content.
>
> But sheesh, I appreciate this is all small beer...
>
>
> Yes, it's small beer, but the question deserves a satisfactory answer. 
> However, the details are subtle.
>
> First, let me point out that every file is read independently of all 
> others (iirc). For example, if (on the command line) I do:
>
> > leo a.leo b.leo
>
> Then Leo re-reads all settings files. It almost has to do this, except 
> maybe for leoSettings.leo. But I don't know this for sure. It's only a 
> guess.
>
> Second, the title of each *tab* of Leo's window tells what local file Leo 
> read to create the tab. In our example, the tabs' titles will start with 
> a.leo and b.leo, with a further indication of where each .leo file resides. 
> So there is no particular reason for Leo to announce (in the log) which 
> local file Leo is reading, or has read. It wouldn't be *wrong* to make an 
> entry in the Log, but at present Leo doesn't.
>
> In short, I think Leo is reporting enough. But I can see that careful 
> readers of Leo's log might have questions. I'm going to think further about 
> this question.
>
> 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/c7eda9ad-1868-4475-82b9-07a1f43dcb31n%40googlegroups.com.

Reply via email to