Mercurial > hg > xemacs-beta
comparison man/new-users-guide/region.texi @ 371:cc15677e0335 r21-2b1
Import from CVS: tag r21-2b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:03:08 +0200 |
parents | 972bbb6d6ca2 |
children | 7d59cb494b73 |
comparison
equal
deleted
inserted
replaced
370:bd866891f083 | 371:cc15677e0335 |
---|---|
154 @cindex moving text | 154 @cindex moving text |
155 @kindex C-y | 155 @kindex C-y |
156 The most common way to move or copy text in Emacs is through | 156 The most common way to move or copy text in Emacs is through |
157 @dfn{killing} or @samp{cutting} it and then @dfn{yanking} or | 157 @dfn{killing} or @samp{cutting} it and then @dfn{yanking} or |
158 @samp{pasting} it. You can also use the @b{Cut} or @b{Copy} option from | 158 @samp{pasting} it. You can also use the @b{Cut} or @b{Copy} option from |
159 the @b{Edit} menu for killing and copying respectively. @xref{Edit menu}, | 159 the @b{Edit} menu for killing and copying respectively. @xref{Edit menu} |
160 for reviewing the commands for killing text. All the killed text | 160 for reviewing the commands for killing text. All the killed text |
161 in Emacs is recorded in the @dfn{kill ring}. Since there is only one | 161 in Emacs is recorded in the @dfn{kill ring}. Since there is only one |
162 kill ring in Emacs, you can kill text in one buffer and yank it in | 162 kill ring in Emacs, you can kill text in one buffer and yank it in |
163 another buffer. To @samp{paste} or | 163 another buffer. To @samp{paste} or |
164 @samp{yank} the killed text you can use the following commands: | 164 @samp{yank} the killed text you can use the following commands: |
215 @item M-x copy-to-buffer | 215 @item M-x copy-to-buffer |
216 Copy region into specified buffer, deleting that buffer's old | 216 Copy region into specified buffer, deleting that buffer's old |
217 contents. This command will also prompt you for a buffer name. | 217 contents. This command will also prompt you for a buffer name. |
218 @item M-x insert-buffer | 218 @item M-x insert-buffer |
219 Insert contents of specified buffer into current buffer at point. This | 219 Insert contents of specified buffer into current buffer at point. This |
220 command will prompt you for a buffer name which you want to be copied | 220 command will prompt you for a buffername which you want to be copied |
221 into the current buffer at the location of the cursor. | 221 into the current buffer at the location of the cursor. |
222 @item M-x append-to-file | 222 @item M-x append-to-file |
223 This command will prompt you for a filename and append the region to | 223 This command will prompt you for a filename and append the region to |
224 the end of the contents of the specified file. | 224 the end of the contents of the specified file. |
225 @end table | 225 @end table |