NextPrevUpTopContentsIndex

3.7.1 Marks

Set Mark

Editor Command

Arguments: None
Key sequence: Ctrl+Space or Middle Mouse Button

Sets the mark to the current point, in effect, pushing the current point on to the top of the mark ring.

With a prefix argument equal to the value of the Prefix-Argument-Default, Pop and Goto Mark is invoked.

With a prefix argument equal to the square of the Prefix-Argument-Default (achieved by typing Ctrl+U Ctrl+U before invoking Set Mark) , the mark is deleted from the mark ring, and the next point on the mark ring then becomes the mark, but the current point is not moved.

Pop and Goto Mark

Editor Command

Arguments: None
Key sequence: None

Moves the current point to the mark without saving the current point on the mark ring (in contrast with Exchange Point and Mark ). After the current point has been moved to the mark, this mark is deleted from the mark ring. Successive invocations of this command clear the mark ring.

Pop Mark

Editor Command

Arguments: None
Key sequence: Meta+Ctrl+Space

Pops the top mark from the mark ring, de-activating the current region.

Exchange Point and Mark

Editor Command

Arguments: None
Key sequence: Ctrl+X Ctrl+X

editor:exchange-point-and-mark-command p &optional buffer

Sets the mark to the current point and moves the current point to the previous mark. This command can therefore be used to examine the extent of the current region.

The argument buffer is the buffer in which to exchange the point and mark. The default value is the current buffer.

Mark Sentence

Editor Command

Arguments: None
Key sequence: None

Puts the mark at the end of the current sentence and the current point at the start of the current sentence. The sentence thereby becomes the current region. If the current point is initially located between two sentences then the mark and current point are placed around the next sentence.

Mark Paragraph

Editor Command

Arguments: None
Key sequence: Meta+H

Puts the mark at the end of the current paragraph and the current point at the start of the current paragraph. The paragraph thereby becomes the current region. If the current point is initially located between two paragraphs, then the mark and current point are placed around the next paragraph.

Mark Whole Buffer

Editor Command

Arguments: None
Key sequence: Ctrl+X H

Sets the mark at the end of the current buffer and the current point at the beginning of the current buffer. The current region is thereby set as the whole of the buffer.

A non- nil prefix argument causes the mark to be set as the start of the buffer and the current point at the end.


LispWorks Editor User Guide (Macintosh version) - 14 Mar 2008

NextPrevUpTopContentsIndex