Thanks! And as Terry mentions, I'm assuming there is a pre-save hook, so 
that the @x script could fire when saving the outline... I hope I will one 
day get up to steam so that I can implement it! (for the moment, Terry's 
button will do...)

Best,

Bill

Le vendredi 1 novembre 2013 06:44:51 UTC-7, Edward K. Ream a écrit :
>
> On Mon, Oct 14, 2013 at 3:07 PM, wgw <[email protected] <javascript:>>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