8.10 Cutting, copying and pasting using the kill ring
8.10.1 Marking the region
First of all, you need to mark a region of text in the current buffer which you want to transfer into the kill ring. There are two ways that you can do this:- Select the text you want to copy or cut using the mouse. Click and hold down the Select mouse button, and drag the pointer across the region you want to mark.
- The selected text is highlighted using a bold font.
- To mark the region with the keyboard, place the cursor at the beginning of the text you want to mark, press
Ctrl-Space
, and move the cursor to the end of the region you want to mark, using keyboard commands to do so. Unlike marking with the mouse, this does not highlight the region.
Because the editor does not highlight the marked region when you use keyboard commands, a useful command to remember isCtrl-X
Ctrl-X
. Pressing this exchanges the current cursor position with the start of the marked region, highlighting the region in the process. PressCtrl-X
Ctrl-X
a second time to return the cursor to its original position, but leave the region marked. PressCtrl-G
to turn off the highlighting in a region.
Common LispWorks User Guide, Liquid Common Lisp Version 5.0 - 18 OCT 1996 Generated with Harlequin WebMaker