On Thursday, January 19, 2012 9:49:21 PM UTC+7, Edward K. Ream wrote:
>
> Almost.  The pattern in leoPy.leo is safe:  all views reside either in
> leoProjects.txt, the *first* @<file> node in the outline, or in the
> outline itself.
>
> This will be safe, because if you modify any node in an external file,
> that modification will "win": the value in the external file will
> change the value in leoProjects.txt.  Ditto for clones in leoPy.leo
> itself, because Leo reads leoPy.leo before any @<file> node.
>
Could you help me understand the significance of using the *first* @<file>? 

My understanding was that position would ensure "lowest" priority, the 
*last* @<file> branch having the highest priority - is that accurate?

If so, is it acceptable to substitute "any but the last" rather than 
"first", to handle the case where there needs to be more than one importing 
@<file> branch (keeping to the rule that any given node is only in one of 
them).

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/leo-editor/-/Q1LshEbNeiAJ.
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.

Reply via email to