+1
>
> Rob.................
>
> --
> You received this message because you are subscribed to the Google Groups "leo-editor" group.
> To post to this group, send email to leo-e...@googlegroups.com.
> To unsubscribe from this group, send email to leo-editor+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
>
>
> Is there a setting that would cause the 'File>Open' or 'File>Import
> File' commands to begin the search dialog in the directory, E:
> \Documents\Some Folder\ instead of the last directory used?
>
> Would others find this a useful feature?
I vote for that being default behavior, not sure a setting is necessary.
Cheers -Terry
> not only would I vote for this, but in addition, the generated path
> should be *relative* to the path in the @path directive, not absolute.
> E.g. use os.path.relpath(path[, start]) where start is the path
> specified by the (cascaded) @path directive.
In what context would this relative path exist - oh, I get it,
p.nodePath() or whatever it's called would return a relative path.
Relative to the most recent absolute path ancestor, or the current
location of the .leo file, if there are no absolute path ancestors.
That could be useful although I suspect the most common use case of
p.nodePath() is to feed it into open(), so perhaps p.nodePath() should
return an absolute path and p.nodePath(relative=True) should return a
relative path.
Cheers -Terry
Please file a wish-list bug for this.
Edward
On Nov 23, 10:17 am, "Edward K. Ream" <edream...@gmail.com> wrote:
> > Is there a setting that would cause the 'File>Open' or 'File>Import
> > File' commands to begin the search dialog in the directory, E:
> > \Documents\Some Folder\ instead of the last directory used?
>
> > Would others find this a useful feature?
>
> Please file a wish-list bug for this.
No need. I've just put it on the internal to-do list. I have some
questions about how this might work which might be related to the
project to regularize how Leo handles @path.
Edward