next up previous contents
Next: Cutting and Pasting (Killing Up: The Basics Previous: Bookmarks   Contents

Selecting Text (``Regions'')

Most anything you do, including cutting and pasting (see section 3.8 below) involves selecting or highlighting an area of text. To do so, you position the cursor somewhere and set a mark, then move to somewhere else and define everything between the mark and your current position as the region. Once you've selected the region you can go on to cut it, format it, etc.

So, put the cursor somewhere and press C-space. The status bar at the bottom of the screen should indicate ``mark set.'' Now using the scrolling and cursor movement commands described in section 3.4 to get to where you want. Everything between your current position and the mark should be highlighted and is now considered the region. The next command will affect the entire region. Two quick shortcuts: M-< and M-> will select from the cursor point to the beginning/end of the buffer, respectively.

If for some reason, the region does not get highlighted as you select it, it means transient-mark-mode has been toggled off. Toggle it back on by entering M-x transient-mark-mode. Apparently, not everyone likes to see the highlighting, though I certainly do.


next up previous contents
Next: Cutting and Pasting (Killing Up: The Basics Previous: Bookmarks   Contents
Randall Wood 2011-03-31