From: Richard M. Stallman Date: Wed, 16 Feb 2005 10:07:28 +0000 (+0000) Subject: (Basic Keyboard Macro): Doc F3, F4. X-Git-Tag: ttn-vms-21-2-B4~2245 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bb18ce6a125b45320d30c6b8b420905c4734b945;p=emacs.git (Basic Keyboard Macro): Doc F3, F4. (Keyboard Macro Step-Edit): Clarify. --- 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. @table @kbd @item C-x ( +@itemx @key{F3} Start defining a keyboard macro (@code{kmacro-start-macro}). @item C-x ) End 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}). Execute the most recent keyboard macro (@code{kmacro-end-and-call-macro}). First end the definition of the keyboard macro, if currently defining it. To immediately execute the keyboard macro again, just repeat the @kbd{e}. +@item @key{F4} +If a keyboard macro is being defined, end the definition; otherwise, +execute the most recent keyboard macro +(@code{kmacro-end-or-call-macro}). @item C-u C-x ( Re-execute last keyboard macro, then add more keys to its definition. @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 indefinitely (until it gets an error or you type @kbd{C-g} or, on MS-DOS, @kbd{C-@key{BREAK}}). + The key @key{F4} is like a combination of @kbd{C-x )} and @kbd{C-x +e}. If you're defining a macro, @key{F4} ends the definition. +Otherwise it executes the last macro. + If you wish to repeat an operation at regularly spaced places in the text, define a macro and include as part of the macro the commands to move to 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 @findex kmacro-step-edit-macro @kindex C-x C-k SPC - You can interactively and stepwise replay and edit the last keyboard -macro one command at a time by typing @kbd{C-x C-k SPC} + You can interactively replay and edit the last keyboard +macro, one command at a time, by typing @kbd{C-x C-k SPC} (@code{kmacro-step-edit-macro}). Unless you quit the macro using @kbd{q} or @kbd{C-g}, the edited macro replaces the last macro on the macro ring. -This shows the last macro in the minibuffer together with the first -(or next) command to be executed, and prompts you for an action. -You can enter @kbd{?} to get a command summary. - -The following commands are available in the step-edit mode and relate -to the first (or current) command in the keyboard macro: + This macro editing feature shows the last macro in the minibuffer +together with the first (or next) command to be executed, and prompts +you for an action. You can enter @kbd{?} to get a summary of your +options. These actions are available: @itemize @bullet{} @item