On Thu, May 24, 2012 at 10:23 PM, Terry Brown <[email protected]> wrote:
> 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.

How would :cmd:`isearch-forward` get translated to the string "Alt-S" ?

> you're pre-processing it before the rst processing

Correct.  I see no particular reason to involve rST in the "macro
conversion" process.

EKR

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