aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-02-16 10:07:28 +0000
committerRichard M. Stallman2005-02-16 10:07:28 +0000
commitbb18ce6a125b45320d30c6b8b420905c4734b945 (patch)
tree9f3473b7222396a57dd40aee85cb179f37852383
parent66375f064c83ab0fecd2c52e3157d871b32cb4f0 (diff)
downloademacs-bb18ce6a125b45320d30c6b8b420905c4734b945.tar.gz
emacs-bb18ce6a125b45320d30c6b8b420905c4734b945.zip
(Basic Keyboard Macro): Doc F3, F4.
(Keyboard Macro Step-Edit): Clarify.
-rw-r--r--man/kmacro.texi23
1 files changed, 15 insertions, 8 deletions
diff --git a/man/kmacro.texi b/man/kmacro.texi
index 459752d3c4b..5ef34f6c929 100644
--- a/man/kmacro.texi
+++ b/man/kmacro.texi
@@ -46,6 +46,7 @@ intelligent or general. For such things, Lisp must be used.
46 46
47@table @kbd 47@table @kbd
48@item C-x ( 48@item C-x (
49@itemx @key{F3}
49Start defining a keyboard macro (@code{kmacro-start-macro}). 50Start defining a keyboard macro (@code{kmacro-start-macro}).
50@item C-x ) 51@item C-x )
51End the definition of a keyboard macro (@code{kmacro-end-macro}). 52End the definition of a keyboard macro (@code{kmacro-end-macro}).
@@ -53,6 +54,10 @@ End the definition of a keyboard macro (@code{kmacro-end-macro}).
53Execute the most recent keyboard macro (@code{kmacro-end-and-call-macro}). 54Execute the most recent keyboard macro (@code{kmacro-end-and-call-macro}).
54First end the definition of the keyboard macro, if currently defining it. 55First end the definition of the keyboard macro, if currently defining it.
55To immediately execute the keyboard macro again, just repeat the @kbd{e}. 56To immediately execute the keyboard macro again, just repeat the @kbd{e}.
57@item @key{F4}
58If a keyboard macro is being defined, end the definition; otherwise,
59execute the most recent keyboard macro
60(@code{kmacro-end-or-call-macro}).
56@item C-u C-x ( 61@item C-u C-x (
57Re-execute last keyboard macro, then add more keys to its definition. 62Re-execute last keyboard macro, then add more keys to its definition.
58@item C-u C-u C-x ( 63@item C-u C-u C-x (
@@ -120,6 +125,10 @@ of zero to @kbd{C-x e} or @kbd{C-x )} means repeat the macro
120indefinitely (until it gets an error or you type @kbd{C-g} or, on 125indefinitely (until it gets an error or you type @kbd{C-g} or, on
121MS-DOS, @kbd{C-@key{BREAK}}). 126MS-DOS, @kbd{C-@key{BREAK}}).
122 127
128 The key @key{F4} is like a combination of @kbd{C-x )} and @kbd{C-x
129e}. If you're defining a macro, @key{F4} ends the definition.
130Otherwise it executes the last macro.
131
123 If you wish to repeat an operation at regularly spaced places in the 132 If you wish to repeat an operation at regularly spaced places in the
124text, define a macro and include as part of the macro the commands to move 133text, define a macro and include as part of the macro the commands to move
125to the next place you want to use it. For example, if you want to change 134to the next place you want to use it. For example, if you want to change
@@ -490,18 +499,16 @@ keyboard input that you would use to invoke the macro---@kbd{C-x e} or
490 499
491@findex kmacro-step-edit-macro 500@findex kmacro-step-edit-macro
492@kindex C-x C-k SPC 501@kindex C-x C-k SPC
493 You can interactively and stepwise replay and edit the last keyboard 502 You can interactively replay and edit the last keyboard
494macro one command at a time by typing @kbd{C-x C-k SPC} 503macro, one command at a time, by typing @kbd{C-x C-k SPC}
495(@code{kmacro-step-edit-macro}). Unless you quit the macro using 504(@code{kmacro-step-edit-macro}). Unless you quit the macro using
496@kbd{q} or @kbd{C-g}, the edited macro replaces the last macro on the 505@kbd{q} or @kbd{C-g}, the edited macro replaces the last macro on the
497macro ring. 506macro ring.
498 507
499This shows the last macro in the minibuffer together with the first 508 This macro editing feature shows the last macro in the minibuffer
500(or next) command to be executed, and prompts you for an action. 509together with the first (or next) command to be executed, and prompts
501You can enter @kbd{?} to get a command summary. 510you for an action. You can enter @kbd{?} to get a summary of your
502 511options. These actions are available:
503The following commands are available in the step-edit mode and relate
504to the first (or current) command in the keyboard macro:
505 512
506@itemize @bullet{} 513@itemize @bullet{}
507@item 514@item