On Thu, 24 May 2012 19:23:26 -0700 (PDT)
"Edward K. Ream" <[email protected]> wrote:

> As or rev 5348, patterns of the form !<command-name>! get translated
> to the key binding for command-name, or the string <Alt-x>command-
> name<Return> if there is no key binding.

That's neat.  You could go with an rst role, :cmd:`isearch-forward`,
where cmd is a custom role.  Not exactly sure what that achieves,
although it seems to be what rst intends.  OTOH you're pre-processing
it before the rst processing, whereas I think rst expects you to post
process things tagged with roles.  At least I'm guessing you're
processing before rst, could be done after too.

http://docutils.sourceforge.net/docs/ref/rst/roles.html

Cheers -Terry

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