The Great Whitespace Cleanup
[sxemacs] / info / sxemacs / mark.texi
1 @node Mark, Mouse Selection, Help, Top
2 @chapter Selecting Text
3 @cindex mark
4 @cindex region
5
6   Many Emacs commands operate on an arbitrary contiguous
7 part of the current buffer. You can select text in two ways:
8
9 @itemize @bullet
10 @item
11 You use special keys to select text by defining a region between point
12 and the mark.
13 @item
14 If you are running SXEmacs under X, you can also select text
15 with the mouse.
16 @end itemize
17
18 @section The Mark and the Region
19  To specify the text for a command to operate on, set @dfn{the
20 mark} at one end of it, and move point to the other end.  The text
21 between point and the mark is called @dfn{the region}.  You can move
22 point or the mark to adjust the boundaries of the region.  It doesn't
23 matter which one is set first chronologically, or which one comes
24 earlier in the text.
25
26   Once the mark has been set, it remains until it is set again at
27 another place.  The mark remains fixed with respect to the preceding
28 character if text is inserted or deleted in a buffer.  Each Emacs
29 buffer has its own mark; when you return to a buffer that had been
30 selected previously, it&