help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: parametrized function definition


From: Joe Bloggs
Subject: Re: parametrized function definition
Date: Mon, 14 Jul 2008 21:23:12 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

address@hidden (Joel J. Adamson) writes:

> Joe Bloggs <address@hidden> writes:
>
>> Hi, I am trying to write a function that allows me to quickly bind a key 
>> combination
>> to insert arbitrary text:
>
> You mean like a keyboard macro?  C-x ( t e x t t h a t y o u w a n t t o
> i n s e r t C-x ), then C-x e to insert the text.
>
> You can also create macros of arbitrary keyboard movements, not just
> text insertion.  Right now I'm defining a keyboard macro to insert this
> text.
>
> C-x e
> =>
> Right now I'm defining a keyboard macro to insert this text.
>
> Joel
> -- 
> Joel J. Adamson
> (303) 880-3109
> Public key: http://pgp.mit.edu
> http://www.unc.edu/~adamsonj
> http://trashbird1240.blogspot.com

The problem with macros is that if I have several of them then several keys 
presses
are required to access each one. I prefer to have simple two-finger key 
combinations.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]