[EMACS] Macro Record and Play

TIPs 2010. 8. 24. 00:49
원문 : The Geek Stuff

High Level Steps to Record and Play inside Emacs
1. Start recording a macro by pressing ctrl+x (
2. Perform any actions inside the Emacs editor that you would like to record.
   
   High Level Steps for Naming and Saving emacs macro, and playing it later
   A. Press Ctrl+x Ctrl+k n
   B. Give name-of-macro, and press ENTER

3. Stop recording by pressing ctrl+x )

4. Play the last recorded macro by pressing ctrl+x e
or    
C. Run the named macro by pressing, M-x name-of-macro

: