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/3d52741a-08df-4170-a09d-65348b4af66an%40googlegroups.com.

Reply via email to