On Mon, Sep 22, 2008 at 10:48 AM, Edward K. Ream <[EMAIL PROTECTED]> wrote:
>
> On Mon, Sep 22, 2008 at 10:43 AM, Kent Tenney <[EMAIL PROTECTED]> wrote:
>
>
>> @path {{os.environ["PROJECT_ROOT"}}
>> \
>> @shadow src/project.py
>
> This should probably happen "automatically" when the at-path stuff is
> completed.
>
>> @data "MY_PATH" = "/usr/local/lib/myproject"
>>
>> @path {{g.config.getData["MY_PATH"]}}/src
>> \
>> @shadow project.py
>>
>> ... vague recollection of a Leo directive to define global variables
>> (akin to @data above) ... hallucination?
>
> I don't remember anything like this. I don't want to scan the entire
> outline to resolve @file nodes.
Nevermind, what I was thinking about will
come free with the substitution capability:
(found in any settings file)
@settings
\
@string my_project_root = /usr/local/src/myproject
@path {{g.config.getString("myprojectroot")}}/src
IOW the {{}} feature brings a quantum leap to configurability
and extensibility.
> I think {{exp}} in @path and @file
> nodes should be enough.
>
> Edward
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---