15 |
also be used for moving those units. But there are other ways of |
also be used for moving those units. But there are other ways of |
16 |
copying text for special purposes. |
copying text for special purposes. |
17 |
|
|
18 |
|
On terminals that support multiple windows for multiple applications, |
19 |
|
the kill commands also provide a way to select text for other applications |
20 |
|
to copy, and the Emacs yank commands can access selections made by |
21 |
|
other programs. |
22 |
|
|
23 |
Emacs has only one kill ring for all buffers, so you can kill text in |
Emacs has only one kill ring for all buffers, so you can kill text in |
24 |
one buffer and yank it in another buffer. |
one buffer and yank it in another buffer. |
25 |
|
|
59 |
individual descriptions use the words @samp{kill} and @samp{delete} to |
individual descriptions use the words @samp{kill} and @samp{delete} to |
60 |
say which kind of operation they perform. |
say which kind of operation they perform. |
61 |
|
|
62 |
|
On window systems, the most recent kill done in Emacs is also the |
63 |
|
primary selection, if it is more recent than any selection you made in |
64 |
|
another program. This means that the paste commands of other window |
65 |
|
applications copy the text that you killed in Emacs. |
66 |
|
|
67 |
@cindex Delete Selection mode |
@cindex Delete Selection mode |
68 |
@cindex mode, Delete Selection |
@cindex mode, Delete Selection |
69 |
@findex delete-selection-mode |
@findex delete-selection-mode |
289 |
Append next kill to last batch of killed text (@code{append-next-kill}). |
Append next kill to last batch of killed text (@code{append-next-kill}). |
290 |
@end table |
@end table |
291 |
|
|
292 |
|
On window systems, if there is a current selection in some other |
293 |
|
application, and you selected it more recently than you killed any |
294 |
|
text in Emacs, @kbd{C-y} copies the selection instead of text |
295 |
|
killed within Emacs. |
296 |
|
|
297 |
@menu |
@menu |
298 |
* Kill Ring:: Where killed text is stored. Basic yanking. |
* Kill Ring:: Where killed text is stored. Basic yanking. |
299 |
* Appending Kills:: Several kills in a row all yank together. |
* Appending Kills:: Several kills in a row all yank together. |