On Saturday, April 8, 2023 at 7:35:43 AM UTC-5 Edward K. Ream wrote: Imo path expressions probably should be allowed only at the start of filenames. I don't see how they could be useful in other positions.
In the new scheme path expressions are actually *directory* expressions: - The *default starting directory* is os.path.normpath(os.path.dirname(c.fileName()) An edge case: c.expand_path_expression will fail if the outline doesn't yet have a name. - '!' and '~' may appear only at the start of the expression. They will set the default starting directory accordingly. 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 leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/29f738c3-da2a-4f9c-ad19-b9be17d34a6en%40googlegroups.com.