diff options
| author | Xue Fuqiao | 2013-12-22 10:55:43 +0800 |
|---|---|---|
| committer | Xue Fuqiao | 2013-12-22 10:55:43 +0800 |
| commit | ced5cc2911ef5457d64db91b73543cd92f650521 (patch) | |
| tree | b4f83bdb2099bef94a0942a718c58cbf57ac1ec2 | |
| parent | 65a1da00fe2fd74416678d47616ca3e5a68087d5 (diff) | |
| download | emacs-ced5cc2911ef5457d64db91b73543cd92f650521.tar.gz emacs-ced5cc2911ef5457d64db91b73543cd92f650521.zip | |
* doc/emacs/regs.texi (File Registers): Document `kmacro-to-register'.
| -rw-r--r-- | doc/emacs/ChangeLog | 2 | ||||
| -rw-r--r-- | doc/emacs/emacs.texi | 15 | ||||
| -rw-r--r-- | doc/emacs/regs.texi | 18 | ||||
| -rw-r--r-- | etc/NEWS | 4 |
4 files changed, 31 insertions, 8 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index c8a9054e7c8..5c66a2a6ea6 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2013-12-22 Xue Fuqiao <xfq.free@gmail.com> | 1 | 2013-12-22 Xue Fuqiao <xfq.free@gmail.com> |
| 2 | 2 | ||
| 3 | * regs.texi (File Registers): Document `kmacro-to-register'. | ||
| 4 | |||
| 3 | * indent.texi (Tab Stops): Mention recent changes about `tab-stop-list'. | 5 | * indent.texi (Tab Stops): Mention recent changes about `tab-stop-list'. |
| 4 | 6 | ||
| 5 | * frames.texi (Scroll Bars): Document `scroll-bar-adjust-thumb-portion'. | 7 | * frames.texi (Scroll Bars): Document `scroll-bar-adjust-thumb-portion'. |
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi index 9eb7db9ee82..4845d49b823 100644 --- a/doc/emacs/emacs.texi +++ b/doc/emacs/emacs.texi | |||
| @@ -345,13 +345,14 @@ Yanking | |||
| 345 | 345 | ||
| 346 | Registers | 346 | Registers |
| 347 | 347 | ||
| 348 | * Position Registers:: Saving positions in registers. | 348 | * Position Registers:: Saving positions in registers. |
| 349 | * Text Registers:: Saving text in registers. | 349 | * Text Registers:: Saving text in registers. |
| 350 | * Rectangle Registers:: Saving rectangles in registers. | 350 | * Rectangle Registers:: Saving rectangles in registers. |
| 351 | * Configuration Registers:: Saving window configurations in registers. | 351 | * Configuration Registers:: Saving window configurations in registers. |
| 352 | * Number Registers:: Numbers in registers. | 352 | * Number Registers:: Numbers in registers. |
| 353 | * File Registers:: File names in registers. | 353 | * File Registers:: File names in registers. |
| 354 | * Bookmarks:: Bookmarks are like registers, but persistent. | 354 | * Keyboard Macro Registers:: Keyboard macros in registers. |
| 355 | * Bookmarks:: Bookmarks are like registers, but persistent. | ||
| 355 | 356 | ||
| 356 | Controlling the Display | 357 | Controlling the Display |
| 357 | 358 | ||
diff --git a/doc/emacs/regs.texi b/doc/emacs/regs.texi index 77545dff5b2..bc6bcb3799f 100644 --- a/doc/emacs/regs.texi +++ b/doc/emacs/regs.texi | |||
| @@ -41,6 +41,7 @@ this chapter. | |||
| 41 | * Configuration Registers:: Saving window configurations in registers. | 41 | * Configuration Registers:: Saving window configurations in registers. |
| 42 | * Number Registers:: Numbers in registers. | 42 | * Number Registers:: Numbers in registers. |
| 43 | * File Registers:: File names in registers. | 43 | * File Registers:: File names in registers. |
| 44 | * Keyboard Macro Registers:: Keyboard macros in registers. | ||
| 44 | * Bookmarks:: Bookmarks are like registers, but persistent. | 45 | * Bookmarks:: Bookmarks are like registers, but persistent. |
| 45 | @end menu | 46 | @end menu |
| 46 | 47 | ||
| @@ -251,6 +252,23 @@ puts the file name shown in register @samp{z}. | |||
| 251 | @var{r}}. (This is the same command used to jump to a position or | 252 | @var{r}}. (This is the same command used to jump to a position or |
| 252 | restore a frame configuration.) | 253 | restore a frame configuration.) |
| 253 | 254 | ||
| 255 | @node Keyboard Macro Registers | ||
| 256 | @section Keyboard Macro Registers | ||
| 257 | @cindex saving keyboard macro in a register | ||
| 258 | @cindex keyboard macros, in registers | ||
| 259 | |||
| 260 | @kindex C-x C-k x | ||
| 261 | @findex kmacro-to-register | ||
| 262 | If you execute certain keyboard macros (@pxref{Keyboard Macros}) | ||
| 263 | frequently, you can execute them more conveniently if putting them in | ||
| 264 | registers or save them (@pxref{Save Keyboard Macro}). @kbd{C-x C-k x | ||
| 265 | @var{r}} (@code{kmacro-to-register}) stores the last keyboard macro in | ||
| 266 | register @var{r}. | ||
| 267 | |||
| 268 | To execute the keyboard macro in register @var{r}, type @kbd{C-x r j | ||
| 269 | @var{r}}. (This is the same command used to jump to a position or | ||
| 270 | restore a frameset.) | ||
| 271 | |||
| 254 | @node Bookmarks | 272 | @node Bookmarks |
| 255 | @section Bookmarks | 273 | @section Bookmarks |
| 256 | @cindex bookmarks | 274 | @cindex bookmarks |
| @@ -260,7 +260,9 @@ bidirectional context. | |||
| 260 | 260 | ||
| 261 | *** All register commands can now show help with preview. | 261 | *** All register commands can now show help with preview. |
| 262 | 262 | ||
| 263 | *** New command `kmacro-to-register' stores keyboard macros in registers. | 263 | +++ |
| 264 | *** New command `C-x C-k x' (`kmacro-to-register') stores keyboard | ||
| 265 | macros in registers. | ||
| 264 | 266 | ||
| 265 | *** New command `C-x r f' (`frameset-to-register'). | 267 | *** New command `C-x r f' (`frameset-to-register'). |
| 266 | See Changes in Emacs 24.4, above. | 268 | See Changes in Emacs 24.4, above. |