aboutsummaryrefslogtreecommitdiffstats
path: root/man/mark.texi
diff options
context:
space:
mode:
authorEli Zaretskii2001-07-17 10:50:35 +0000
committerEli Zaretskii2001-07-17 10:50:35 +0000
commit58fa012dac718ff7097828ba99aabea688c96ea8 (patch)
tree4c19295641407f32e8a24265dbb781b7a4168030 /man/mark.texi
parent12de6e2620330e1d42286a9673b9253369812432 (diff)
downloademacs-58fa012dac718ff7097828ba99aabea688c96ea8.tar.gz
emacs-58fa012dac718ff7097828ba99aabea688c96ea8.zip
Proofreading fixes from Chris Green <chris_e_green@yahoo.com>.
Diffstat (limited to 'man/mark.texi')
-rw-r--r--man/mark.texi44
1 files changed, 22 insertions, 22 deletions
diff --git a/man/mark.texi b/man/mark.texi
index c9268ecfea5..fbc93466c7e 100644
--- a/man/mark.texi
+++ b/man/mark.texi
@@ -95,7 +95,7 @@ use keyboard commands to set the mark. @xref{Mouse Commands}.
95@findex exchange-point-and-mark 95@findex exchange-point-and-mark
96 Ordinary terminals have only one cursor, so there is no way for Emacs 96 Ordinary terminals have only one cursor, so there is no way for Emacs
97to show you where the mark is located. You have to remember. The usual 97to show you where the mark is located. You have to remember. The usual
98solution to this problem is to set the mark and then use it soon, before 98solution to this problem is to set the mark and then use it before
99you forget where it is. Alternatively, you can see where the mark is 99you forget where it is. Alternatively, you can see where the mark is
100with the command @kbd{C-x C-x} (@code{exchange-point-and-mark}) which 100with the command @kbd{C-x C-x} (@code{exchange-point-and-mark}) which
101puts the mark where point was and point where the mark was. The extent 101puts the mark where point was and point where the mark was. The extent
@@ -106,7 +106,7 @@ reactivates the mark.
106 @kbd{C-x C-x} is also useful when you are satisfied with the position 106 @kbd{C-x C-x} is also useful when you are satisfied with the position
107of point but want to move the other end of the region (where the mark 107of point but want to move the other end of the region (where the mark
108is); do @kbd{C-x C-x} to put point at that end of the region, and then 108is); do @kbd{C-x C-x} to put point at that end of the region, and then
109move it. A second use of @kbd{C-x C-x}, if necessary, puts the mark at 109move it. Using @kbd{C-x C-x} a second time, if necessary, puts the mark at
110the new position with point back at its original position. 110the new position with point back at its original position.
111 111
112 For more facilities that allow you to go to previously set marks, see 112 For more facilities that allow you to go to previously set marks, see
@@ -155,8 +155,8 @@ the mode.
155@itemize @bullet 155@itemize @bullet
156@item 156@item
157To set the mark, type @kbd{C-@key{SPC}} (@code{set-mark-command}). 157To set the mark, type @kbd{C-@key{SPC}} (@code{set-mark-command}).
158This makes the mark active; as you move point, you will see the region 158This makes the mark active; as you move point, you will see the
159highlighting grow and shrink. 159highlighted region grow and shrink.
160 160
161@item 161@item
162The mouse commands for specifying the mark also make it active. So do 162The mouse commands for specifying the mark also make it active. So do
@@ -175,8 +175,8 @@ on a region will get an error and refuse to operate. You can make the
175region active again by typing @kbd{C-x C-x}. 175region active again by typing @kbd{C-x C-x}.
176 176
177@item 177@item
178Commands like @kbd{M->} and @kbd{C-s} that ``leave the mark behind'' in 178Commands like @kbd{M->} and @kbd{C-s} that ``leave the mark behind'', in
179addition to some other primary purpose do not activate the new mark. 179addition to some other primary purpose, do not activate the new mark.
180You can activate the new region by executing @kbd{C-x C-x} 180You can activate the new region by executing @kbd{C-x C-x}
181(@code{exchange-point-and-mark}). 181(@code{exchange-point-and-mark}).
182 182
@@ -195,9 +195,9 @@ when there is a region. Outside Transient Mark mode, you must type
195in their own documentation. 195in their own documentation.
196@end itemize 196@end itemize
197 197
198 Highlighting of the region uses the @code{region} face; you can 198 The highlighting of the region uses the @code{region} face; you can
199customize how the region is highlighted by changing this face. 199customize the appearance of the highlighted region by changing this
200@xref{Face Customization}. 200face. @xref{Face Customization}.
201 201
202@vindex highlight-nonselected-windows 202@vindex highlight-nonselected-windows
203 When multiple windows show the same buffer, they can have different 203 When multiple windows show the same buffer, they can have different
@@ -206,7 +206,7 @@ all share one common mark position). Ordinarily, only the selected
206window highlights its region (@pxref{Windows}). However, if the 206window highlights its region (@pxref{Windows}). However, if the
207variable @code{highlight-nonselected-windows} is non-@code{nil}, then 207variable @code{highlight-nonselected-windows} is non-@code{nil}, then
208each window highlights its own region (provided that Transient Mark mode 208each window highlights its own region (provided that Transient Mark mode
209is enabled and the window's buffer's mark is active). 209is enabled and the mark in the buffer's window is active).
210 210
211 When Transient Mark mode is not enabled, every command that sets the 211 When Transient Mark mode is not enabled, every command that sets the
212mark also activates it, and nothing ever deactivates it. 212mark also activates it, and nothing ever deactivates it.
@@ -249,8 +249,8 @@ Print hardcopy with @kbd{M-x print-region} (@pxref{Hardcopy}).
249Evaluate it as Lisp code with @kbd{M-x eval-region} (@pxref{Lisp Eval}). 249Evaluate it as Lisp code with @kbd{M-x eval-region} (@pxref{Lisp Eval}).
250@end itemize 250@end itemize
251 251
252 Most commands that operate on the text in the 252 Most commands that operate on text in the region have the word
253region have the word @code{region} in their names. 253@code{region} in their names.
254 254
255@node Marking Objects 255@node Marking Objects
256@section Commands to Mark Textual Objects 256@section Commands to Mark Textual Objects
@@ -261,18 +261,18 @@ object such as a word, list, paragraph or page.
261 261
262@table @kbd 262@table @kbd
263@item M-@@ 263@item M-@@
264Set mark after end of next word (@code{mark-word}). This command and 264Set mark after the end of next word (@code{mark-word}). This command and
265the following one do not move point. 265the following one do not move point.
266@item C-M-@@ 266@item C-M-@@
267Set mark after end of following balanced expression (@code{mark-sexp}). 267Set mark after the end of following balanced expression (@code{mark-sexp}).
268@item M-h 268@item M-h
269Put region around current paragraph (@code{mark-paragraph}). 269Put region around the current paragraph (@code{mark-paragraph}).
270@item C-M-h 270@item C-M-h
271Put region around current defun (@code{mark-defun}). 271Put region around the current defun (@code{mark-defun}).
272@item C-x h 272@item C-x h
273Put region around entire buffer (@code{mark-whole-buffer}). 273Put region around the entire buffer (@code{mark-whole-buffer}).
274@item C-x C-p 274@item C-x C-p
275Put region around current page (@code{mark-page}). 275Put region around the current page (@code{mark-page}).
276@end table 276@end table
277 277
278@kbd{M-@@} (@code{mark-word}) puts the mark at the end of the next 278@kbd{M-@@} (@code{mark-word}) puts the mark at the end of the next
@@ -288,8 +288,8 @@ the beginning of the paragraph that surrounds or follows point, and puts
288the mark at the end of that paragraph (@pxref{Paragraphs}). It prepares 288the mark at the end of that paragraph (@pxref{Paragraphs}). It prepares
289the region so you can indent, case-convert, or kill a whole paragraph. 289the region so you can indent, case-convert, or kill a whole paragraph.
290 290
291 @kbd{C-M-h} (@code{mark-defun}) similarly puts point before and the 291 @kbd{C-M-h} (@code{mark-defun}) similarly puts point before, and the
292mark after the current or following major top-level definition, or 292mark after, the current or following major top-level definition, or
293defun (@pxref{Moving by Defuns}). @kbd{C-x C-p} (@code{mark-page}) 293defun (@pxref{Moving by Defuns}). @kbd{C-x C-p} (@code{mark-page})
294puts point before the current page, and mark at the end 294puts point before the current page, and mark at the end
295(@pxref{Pages}). The mark goes after the terminating page delimiter 295(@pxref{Pages}). The mark goes after the terminating page delimiter
@@ -315,7 +315,7 @@ remembering a spot that you may want to go back to. To make this
315feature more useful, each buffer remembers 16 previous locations of the 315feature more useful, each buffer remembers 16 previous locations of the
316mark, in the @dfn{mark ring}. Commands that set the mark also push the 316mark, in the @dfn{mark ring}. Commands that set the mark also push the
317old mark onto this ring. To return to a marked location, use @kbd{C-u 317old mark onto this ring. To return to a marked location, use @kbd{C-u
318C-@key{SPC}} (or @kbd{C-u C-@@}); this is the command 318C-@key{SPC}} (or @kbd{C-u C-@@}); this is the same as the command
319@code{set-mark-command} given a numeric argument. It moves point to 319@code{set-mark-command} given a numeric argument. It moves point to
320where the mark was, and restores the mark from the ring of former 320where the mark was, and restores the mark from the ring of former
321marks. Thus, repeated use of this command moves point to all of the old 321marks. Thus, repeated use of this command moves point to all of the old
@@ -341,7 +341,7 @@ Registers}).
341@vindex mark-ring-max 341@vindex mark-ring-max
342 The variable @code{mark-ring-max} specifies the maximum number of 342 The variable @code{mark-ring-max} specifies the maximum number of
343entries to keep in the mark ring. If that many entries exist and 343entries to keep in the mark ring. If that many entries exist and
344another one is pushed, the last one in the list is discarded. Repeating 344another one is pushed, the earliest one in the list is discarded. Repeating
345@kbd{C-u C-@key{SPC}} cycles through the positions currently in the 345@kbd{C-u C-@key{SPC}} cycles through the positions currently in the
346ring. 346ring.
347 347