On Mon, Oct 14, 2013 at 3:07 PM, wgw <[email protected]> wrote:

> 
Your button code seems to do all but the new directive.

I have not been following this thread closely, but it's actually not that
hard to define your own node type, say @x.

- Use an @button script.

- The script could work on the presently selected node.  It's headline
should be @x.

- For more flexibility, search *up* the tree first, looking for an @x node.
If an @x node is found, operate on that node. Otherwise, search *down* the
tree, and operate on *all* @x nodes found.  This is what the rst3 command
does.

When the script finds the @x node, the script can write it, execute it,
whatever.

Of course, this requires real programming.  Feel free to ask questions any
time.

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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to