[climacs-cvs] CVS update: climacs/Doc/climacs-user.texi

Robert Strandh rstrandh at common-lisp.net
Mon Sep 12 23:35:56 UTC 2005


Update of /project/climacs/cvsroot/climacs/Doc
In directory common-lisp.net:/tmp/cvs-serv21069

Modified Files:
	climacs-user.texi 
Log Message:
Keyboard macros

Date: Tue Sep 13 01:35:55 2005
Author: rstrandh

Index: climacs/Doc/climacs-user.texi
diff -u climacs/Doc/climacs-user.texi:1.2 climacs/Doc/climacs-user.texi:1.3
--- climacs/Doc/climacs-user.texi:1.2	Tue Sep 13 00:43:54 2005
+++ climacs/Doc/climacs-user.texi	Tue Sep 13 01:35:55 2005
@@ -42,6 +42,7 @@
 * Basic editing commands::
 * Different editing modes::
 * Kill ring::
+* Advanced editing commands::
 * Key Index::
 * Concept Index::
 @end menu
@@ -511,6 +512,46 @@
 objects on a global @emph{kill ring}.
 @cindex kill ring
 
+ at node Advanced editing commands
+ at chapter Advanced editing commands
+
+ at menu 
+* Keyboard macros::
+* Searching and replacing::
+ at end menu
+
+ at node Keyboard macros
+ at section Keyboard macros
+
+Sometimes, it is useful to be able to repeat a sequence of keystrokes
+several times.  @climacs{} allows you to do this through a features
+called @emph{keyboard macros}.
+ at cindex keyboard macro
+ at climacs{} does this by @emph{recording} whatever the user types on
+the keyboard, and then making it possibly to @emph{replaying} the
+recorded sequence.
+
+To start recording a sequence of keystrokes, use the order @kbd{C-x (}
+ at kindex C-x (
+(@command{Start Kbd Macro}).  You will see the word @samp{Def}
+appearing on the mode line, indicating that a keyboard macro is being
+defined.  As long as recording is in effect, every keystroke will be
+saved for later use.  
+
+To stop recording a sequence of keystrokes, use the order @kbd{C-x )}
+ at kindex C-x )
+(@command{End Kbd Macro}).  The word @samp{Def} will disappear from
+the mode line, indicating that keystrokes are no longer being
+recorded. 
+
+To replay a previously recorded sequence of keystrokes, use the order
+ at kbd{C-x e}
+ at kindex C-x e
+(@command{Call Last Kbd Macro}).  When used with a numeric argument,
+this command will repeat the sequence of keystrokes that many times. 
+
+ at node Searching and replacing
+ at section Searching and replacing
 
 @node Key Index
 @unnumbered Key Index




More information about the Climacs-cvs mailing list