Please, understand the point I was trying to make in the imperfect example 
above. This was a 're-load' of an previously-created .leo file. The 
directories/files had failed to be previously created (despite having 
create-non-existent-directories = True at that time).

I will try without the @-directory name, but I don't see why it should be a 
problem. I happen to use this convention for certain file locations 
(including all my 'standard' leo files) and have zero issues with it. In 
what way is this a more 'special' filename character than 'space', for 
instance?

As a slight aside, if I had not edited the node bodies, would you have 
expected the directories to then be created upon a write? There seems to be 
some sort of cache logic going on, but I am a bit unsure.

I will re-run the layout I have above but (a) with a new outline, (b) with 
a path not containing '@'.

I think you are confirming that my understanding of what the expected 
behaviour should be is correct, so that is useful.

Thanks, J^n


On Thursday, October 17, 2024 at 5:32:29 PM UTC+1 Edward K. Ream wrote:

> On Thu, Oct 17, 2024 at 11:02 AM Thomas Passin <[email protected]> wrote:
>
> > I would be very suspicious of that "@leo" directory name.
>
> I am suspicious too.
>
>
> > Would you repeat your tests but with a normal directory name (i.e., one 
> without an "@" character)?
>
> I wouldn't bother, because...
>
>
> > you can see that when reading the file, the subdirectories were not 
> found.
>
> Presumably that's because the directories didn't exist.
>
> > I then edited the body of the nodes nodeA1 and node3b. A write then 
> caused the subdirectories and files to be created.
>
> So, as expected, Leo created the directories when *writing.*
>
> Imo, Leo should *not* create directories when *reading*, because there 
> will be nothing to read!
>
> Let's move on, please.
>
> 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 on the web visit 
https://groups.google.com/d/msgid/leo-editor/fcfc1ef8-6d98-43c7-9689-8f4be2a03d66n%40googlegroups.com.

Reply via email to