247 |
they copy in this way, so that successive kill commands build up a |
they copy in this way, so that successive kill commands build up a |
248 |
single kill ring entry as usual. |
single kill ring entry as usual. |
249 |
|
|
250 |
|
@node Graphical Kill |
251 |
|
@subsection Killing on Graphical Terminals |
252 |
|
|
253 |
|
On multi-window terminals, the most recent kill done in Emacs is |
254 |
|
also the primary selection, if it is more recent than any selection |
255 |
|
you made in another program. This means that the paste commands of |
256 |
|
other applications with separate windows copy the text that you killed |
257 |
|
in Emacs. In addition, Emacs yank commands treat other applications' |
258 |
|
selections as part of the kill ring, so you can yank them into Emacs. |
259 |
|
|
260 |
|
@cindex Delete Selection mode |
261 |
|
@cindex mode, Delete Selection |
262 |
|
@findex delete-selection-mode |
263 |
|
Many window systems follow the convention that insertion while text |
264 |
|
is selected deletes the selected text. You can make Emacs behave this |
265 |
|
way by enabling Delete Selection mode, with @kbd{M-x |
266 |
|
delete-selection-mode}, or using Custom. Another effect of this mode |
267 |
|
is that @key{DEL}, @kbd{C-d} and some other keys, when a selection |
268 |
|
exists, will kill the whole selection. It also enables Transient Mark |
269 |
|
mode (@pxref{Transient Mark}). |
270 |
|
|
271 |
@node Yanking, Accumulating Text, Killing, Top |
@node Yanking, Accumulating Text, Killing, Top |
272 |
@section Yanking |
@section Yanking |
273 |
@cindex moving text |
@cindex moving text |
650 |
@code{string-rectangle}, but inserts the string on each line, |
@code{string-rectangle}, but inserts the string on each line, |
651 |
shifting the original text to the right. |
shifting the original text to the right. |
652 |
|
|
|
@node Graphical Kill |
|
|
@section Killing on Graphical Terminals |
|
|
|
|
|
On multi-window terminals, the most recent kill done in Emacs is |
|
|
also the primary selection, if it is more recent than any selection |
|
|
you made in another program. This means that the paste commands of |
|
|
other applications with separate windows copy the text that you killed |
|
|
in Emacs. In addition, Emacs yank commands treat other applications' |
|
|
selections as part of the kill ring, so you can yank them into Emacs. |
|
|
|
|
|
@cindex Delete Selection mode |
|
|
@cindex mode, Delete Selection |
|
|
@findex delete-selection-mode |
|
|
Many window systems follow the convention that insertion while text |
|
|
is selected deletes the selected text. You can make Emacs behave this |
|
|
way by enabling Delete Selection mode, with @kbd{M-x |
|
|
delete-selection-mode}, or using Custom. Another effect of this mode |
|
|
is that @key{DEL}, @kbd{C-d} and some other keys, when a selection |
|
|
exists, will kill the whole selection. It also enables Transient Mark |
|
|
mode (@pxref{Transient Mark}). |
|
|
|
|
|
|
|
653 |
@ifnottex |
@ifnottex |
654 |
@lowersections |
@lowersections |
655 |
@end ifnottex |
@end ifnottex |