[net.emacs] unix emacs keyboard macros

Jon.Webb@CMU-CS-SPICE.ARPA@sri-unix.UUCP (09/26/83)

Is there some way I can define more than one keyboard macro at a time?
I would like to be able to give the macro a name, I suppose, so I can
bind it to a key or invoke it with <ESC>x.

Jon

preece@uicsl.UUCP (10/01/83)

#R:sri-arpa:-1198700:uicsl:21900001:000:704
uicsl!preece    Sep 30 08:22:00 1983

	Is there some way I can define more than one keyboard macro at a time?
	I would like to be able to give the macro a name, I suppose, so I can
	bind it to a key or invoke it with <ESC>x.
----------
The command define-keyboard-macro is supposed to assign a name to the
keyboard macro, keep it in a safe place, and clear the keyboard macro. This
would seem to be exactly what you want. (Note, I'm talking about Gosling
Emacs here). I haven't tried this myself, but the description seems clear.
You could have found out about this using the apropos facility (ESC-?) with
the keyword macro and then using describe-command to check out the
indicated possibilities. Another possibility is define-string-macro.