Emacs: Select Text (mark and region)

By Xah Lee. Date: . Last updated: .

Select Text

To select text,

  1. set-mark-commandCtrl+Space】 This sets a mark.
  2. Move cursor anywhere.

The last marked position to current cursor position is the text selection, called region or active region. (cursor position is called point)

Move Cursor to the Other End of Selection (Swap Mark and Point)

exchange-point-and-markCtrl+x Ctrl+x

This moves the cursor to the other end of selection.

Cancel Selection

press Ctrl+g to cancel selection. (aka, make region inactive.)

Emacs Copy/Paste