Next: , Previous: , Up: Editing Documents   [Contents][Index]


4.1 Sentence Commands

A sentence is defined as a sequence of characters ending with a period, question mark or exclamation point, followed by either two spaces or a newline. A sentence may also be terminated by the end of a paragraph. Any number of closing delimiters, such as brackets or quotes, may be between the punctuation and the whitespace. This somewhat complex definition of a sentence is used so that periods in abbreviations are not misinterpreted as sentence ends.

Command: Forward Sentence (bound to M-a)
Command: Backward Sentence (bound to M-e)

Forward Sentence moves the point forward past the next sentence end. Backward Sentence moves to the beginning of the current sentence. A prefix argument may be used as a repeat count.

Command: Forward Kill Sentence (bound to M-k)
Command: Backward Kill Sentence (bound to C-x Delete, C-x Backspace)

Forward Kill Sentence kills text from the point through to the end of the current sentence. Backward Kill Sentence kills from the point to the beginning of the current sentence. A prefix argument may be used as a repeat count.

Command: Mark Sentence

This command puts the point at the beginning and the mark at the end of the next or current sentence.


Next: Paragraph Commands, Previous: Editing Documents, Up: Editing Documents   [Contents][Index]