- shurely '~' is not always needed (if that is what you are saying): I can 
use {{sep}}home{{sep}}myusername{{sep}}tmp{{sep}}filename.txt  , for example
- I really hope you don't choose '*' for such a feature. might something 
like '~~' work?


On Saturday, April 8, 2023 at 3:38:04 PM UTC+1 Edward K. Ream wrote:

> On Saturday, April 8, 2023 at 8:01:11 AM UTC-5 [email protected] wrote:
>
> Leo already handles "~", so we don't need "{{~}}".  
>
>
> Now that I've gathered my wits, let me try to make a simpler response:
>
> 1. The new code (PR #3264 
> <https://github.com/leo-editor/leo-editor/pull/3264>) will be *exactly 
> *equivalent 
> to the old unless an @file headline contains a path expression.
>
> 2. `~' is needed in path expressions unless Leo *already* handles `~/x` 
> or `~/../y` *without* path expressions.
>    The PR contains a strong new unit test. I'll test Leo's legacy 
> operation using that test and report back.
>
> 3. *New*: withing path expressions, some character, say '*', will 
> evaluate to (say)
>   os.environment[LEO_BASE_DIRECTORY],
>     eliminating the need for conditional code or other hacks.
>
> 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/eca390a6-a444-4204-96ac-151d46aaead0n%40googlegroups.com.

Reply via email to