On Fri, Oct 05, 2007 at 12:24:45AM +0200, Bernhard Roider wrote:
> hello all,
> 
> the attached patch adds
> - the possibility to define macros in the bind file, like
> 
> \define "my macro" "command-sequence inset-insert ert 1; char-backward; 
> self-insert some important latex code; char-forward"
> 
> - the lfun "call" to execute that macro. this call can be used in key 
> bindings (\bind "X-y" "call my macro") menus and toolbar definitions (Item 
> "My complex ert" "call my macro") as well as in the command buffer ("call 
> my macro").
> 
> the benefits from that:
> + customization is easier because the definition is done in one place and 
> can be used as descriebed above
> + it is possible to add complex commands (like the one above) to the 
> toolbar with an image on the button, because the image name used equals the 
> macro name ("my macro.png" in the above example)
> 
> oppinions?

Patch is too short.

Andre'

Reply via email to