diff options
| author | Richard M. Stallman | 2005-02-16 10:07:28 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-02-16 10:07:28 +0000 |
| commit | bb18ce6a125b45320d30c6b8b420905c4734b945 (patch) | |
| tree | 9f3473b7222396a57dd40aee85cb179f37852383 | |
| parent | 66375f064c83ab0fecd2c52e3157d871b32cb4f0 (diff) | |
| download | emacs-bb18ce6a125b45320d30c6b8b420905c4734b945.tar.gz emacs-bb18ce6a125b45320d30c6b8b420905c4734b945.zip | |
(Basic Keyboard Macro): Doc F3, F4.
(Keyboard Macro Step-Edit): Clarify.
| -rw-r--r-- | man/kmacro.texi | 23 |
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} | ||
| 49 | Start defining a keyboard macro (@code{kmacro-start-macro}). | 50 | Start defining a keyboard macro (@code{kmacro-start-macro}). |
| 50 | @item C-x ) | 51 | @item C-x ) |
| 51 | End the definition of a keyboard macro (@code{kmacro-end-macro}). | 52 | 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}). | |||
| 53 | Execute the most recent keyboard macro (@code{kmacro-end-and-call-macro}). | 54 | Execute the most recent keyboard macro (@code{kmacro-end-and-call-macro}). |
| 54 | First end the definition of the keyboard macro, if currently defining it. | 55 | First end the definition of the keyboard macro, if currently defining it. |
| 55 | To immediately execute the keyboard macro again, just repeat the @kbd{e}. | 56 | To immediately execute the keyboard macro again, just repeat the @kbd{e}. |
| 57 | @item @key{F4} | ||
| 58 | If a keyboard macro is being defined, end the definition; otherwise, | ||
| 59 | execute the most recent keyboard macro | ||
| 60 | (@code{kmacro-end-or-call-macro}). | ||
| 56 | @item C-u C-x ( | 61 | @item C-u C-x ( |
| 57 | Re-execute last keyboard macro, then add more keys to its definition. | 62 | Re-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 | |||
| 120 | indefinitely (until it gets an error or you type @kbd{C-g} or, on | 125 | indefinitely (until it gets an error or you type @kbd{C-g} or, on |
| 121 | MS-DOS, @kbd{C-@key{BREAK}}). | 126 | MS-DOS, @kbd{C-@key{BREAK}}). |
| 122 | 127 | ||
| 128 | The key @key{F4} is like a combination of @kbd{C-x )} and @kbd{C-x | ||
| 129 | e}. If you're defining a macro, @key{F4} ends the definition. | ||
| 130 | Otherwise 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 |
| 124 | text, define a macro and include as part of the macro the commands to move | 133 | text, define a macro and include as part of the macro the commands to move |
| 125 | to the next place you want to use it. For example, if you want to change | 134 | 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 | |||
| 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 |
| 494 | macro one command at a time by typing @kbd{C-x C-k SPC} | 503 | macro, 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 |
| 497 | macro ring. | 506 | macro ring. |
| 498 | 507 | ||
| 499 | This 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. | 509 | together with the first (or next) command to be executed, and prompts |
| 501 | You can enter @kbd{?} to get a command summary. | 510 | you for an action. You can enter @kbd{?} to get a summary of your |
| 502 | 511 | options. These actions are available: | |
| 503 | The following commands are available in the step-edit mode and relate | ||
| 504 | to the first (or current) command in the keyboard macro: | ||
| 505 | 512 | ||
| 506 | @itemize @bullet{} | 513 | @itemize @bullet{} |
| 507 | @item | 514 | @item |