On Fri, Apr 8, 2011 at 4:59 PM, Edward K. Ream <[email protected]> wrote:

> From traces in the code I see what is happening.  I just don't
> understand why.
>
> The code for @a executes an expression in the headline, but it
> executes the body text of the **parent** node.

@a is "anchor" that you add as a child to a node you want to get parsed.

Benefit of this is, you don't have to change the headline. You can
basically attach "anchor" to a @file node if you feel like it.


> I would have thought that @x (in body text) would be scanned anywhere,
> but it isn't, at least not in @a nodes.

Yes, body text is only scanned where anchor is attached. We may change
that, but IMO that makes it tolerable in large outlines (with
potentially huge files).

-- 
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.

Reply via email to