On Tuesday, March 3, 2020 at 10:58:42 AM UTC, Edward K. Ream wrote:
>
> #1521 <https://github.com/leo-editor/leo-editor/issues/1521> fixes 
> long-standing bugs with path expressions 
> <https://leoeditor.com/directives.html#path-expressions> in @clean, @asis 
> and @shadow nodes.
>
> The new code is simpler than before. All unit tests pass, which is a 
> significant set of tests.
>
> However, all changes to Leo's file logic are significant. Please report 
> any problems immediately.
>
> Edward
>

Thanks Edward - I have possibly-seen issues around this (although with 
@file rather than the others...),
I will see if this changes things for me.

One this: the path expressions section you link to mentions using something 
like:

@file {{c.config.getString('my-dir')}}{{sep}}myFile.py

but is it possible to use environment variables in a similar way?

Actually, I really want to just use the homepage - either

@file {{home}}{{sep}}mydir{{sep}}myFile.py
or
@file {{c.config.getEnv('HOME')}}{{sep}}mydir{{sep}}myFile.py

Apologies if something like this already exists - I did look for it...

Thanks, Jon N




-- 
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/1486dd93-d7dd-435e-a6cd-3bc982ad5368%40googlegroups.com.

Reply via email to