Mercurial > emacs
comparison lisp/kmacro.el @ 74195:d1491c6ae65d
Fix commentary.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sun, 26 Nov 2006 11:50:51 +0000 |
parents | 0457084ce167 |
children | 3886a659959b f1d13e615070 |
comparison
equal
deleted
inserted
replaced
74194:9b921eb5917f | 74195:d1491c6ae65d |
---|---|
22 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 22 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
23 ;; Boston, MA 02110-1301, USA. | 23 ;; Boston, MA 02110-1301, USA. |
24 | 24 |
25 ;;; Commentary: | 25 ;;; Commentary: |
26 | 26 |
27 ;; The kmacro package is an alternative user interface to emacs' | 27 ;; The kmacro package provides the user interface to emacs' basic |
28 ;; keyboard macro functionality. This functionality is normally bound | 28 ;; keyboard macro functionality. With kmacro, two function keys are |
29 ;; to C-x (, C-x ), and C-x e, but these bindings are too hard to | 29 ;; dedicated to keyboard macros, by default F3 and F4. |
30 ;; type to be really useful for doing small repeated tasks. | 30 |
31 | 31 ;; Note: The traditional bindings C-x (, C-x ), and C-x e are still |
32 ;; With kmacro, two function keys are dedicated to keyboard macros, | 32 ;; supported, but for some users these bindings are too hard to type |
33 ;; by default F3 and F4. Personally, I prefer F1 and F2, but those | 33 ;; to be really useful for doing small repeated tasks. |
34 ;; keys already have default bindings. | 34 |
35 ;; | |
36 ;; To start defining a keyboard macro, use F3. To end the macro, | 35 ;; To start defining a keyboard macro, use F3. To end the macro, |
37 ;; use F4, and to call the macro also use F4. This makes it very | 36 ;; use F4, and to call the macro also use F4. This makes it very |
38 ;; easy to repeat a macro immediately after defining it. | 37 ;; easy to repeat a macro immediately after defining it. |
39 ;; | 38 ;; |
40 ;; You can call the macro repeatedly by pressing F4 multiple times, or | 39 ;; You can call the macro repeatedly by pressing F4 multiple times, or |
52 ;; You can execute the second element on the macro ring with C-u F4 or | 51 ;; You can execute the second element on the macro ring with C-u F4 or |
53 ;; C-x C-k C-l, you can use C-x C-k C-p and C-x C-k C-n to cycle | 52 ;; C-x C-k C-l, you can use C-x C-k C-p and C-x C-k C-n to cycle |
54 ;; through the macro ring, and you can swap the first and second | 53 ;; through the macro ring, and you can swap the first and second |
55 ;; elements with C-x C-k C-t. To delete the first element in the | 54 ;; elements with C-x C-k C-t. To delete the first element in the |
56 ;; macro ring, use C-x C-k C-d. | 55 ;; macro ring, use C-x C-k C-d. |
57 ;; | |
58 ;; | 56 ;; |
59 ;; You can also use C-x C-k C-s to start a macro, and C-x C-k C-k to | 57 ;; You can also use C-x C-k C-s to start a macro, and C-x C-k C-k to |
60 ;; end it; then use C-k to execute it immediately, or C-x C-k C-k to | 58 ;; end it; then use C-k to execute it immediately, or C-x C-k C-k to |
61 ;; execute it later. | 59 ;; execute it later. |
62 ;; | 60 ;; |