aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2010-04-06 12:10:31 -0400
committerChong Yidong2010-04-06 12:10:31 -0400
commite59c4233e20bfb2b8b50c77a42023a2473405391 (patch)
treedffdb88c71dd1340063876d553c8c3932564d5e6
parent8afe2ec6f9629397ea59110a1c6b5e7f59d4d20a (diff)
downloademacs-e59c4233e20bfb2b8b50c77a42023a2473405391.tar.gz
emacs-e59c4233e20bfb2b8b50c77a42023a2473405391.zip
Edits to Persistent Mark node.
* mark.texi (Persistent Mark): Copyedits. Replace undo example with query-replace (Bug#5774).
-rw-r--r--doc/emacs/ChangeLog5
-rw-r--r--doc/emacs/mark.texi27
2 files changed, 18 insertions, 14 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 0ffd413c1f0..e62f226b9a2 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,8 @@
12010-04-06 Chong Yidong <cyd@stupidchicken.com>
2
3 * mark.texi (Persistent Mark): Copyedits. Replace undo example with
4 query-replace (Bug#5774).
5
12010-03-30 Eli Zaretskii <eliz@gnu.org> 62010-03-30 Eli Zaretskii <eliz@gnu.org>
2 7
3 * mule.texi (Input Methods): Mention "C-x 8 RET" and add a 8 * mule.texi (Input Methods): Mention "C-x 8 RET" and add a
diff --git a/doc/emacs/mark.texi b/doc/emacs/mark.texi
index 5cf166c0cbf..217d5b1b06d 100644
--- a/doc/emacs/mark.texi
+++ b/doc/emacs/mark.texi
@@ -387,10 +387,10 @@ Mark}), or with shift-selection (@pxref{Shift Selection}).
387 387
388@findex transient-mark-mode 388@findex transient-mark-mode
389 To turn off Transient Mark mode, type @kbd{M-x transient-mark-mode}. 389 To turn off Transient Mark mode, type @kbd{M-x transient-mark-mode}.
390This command toggles the mode; you can use the same command to turn 390This command toggles the mode; you can use the same command to turn it
391Transient Mark mode on again. You can also turn off Transient Mark 391on again. You can also toggle Transient Mark mode using the
392mode using the menu bar: in the @samp{Options} menu, toggle the 392@samp{Active Region Highlighting} menu item in the @samp{Options}
393@samp{Active Region Highlighting} menu item. 393menu.
394 394
395 Here are the details of how Emacs behaves when Transient Mark mode 395 Here are the details of how Emacs behaves when Transient Mark mode
396is off: 396is off:
@@ -415,13 +415,12 @@ Many commands that move point long distances, like @kbd{M-<} and
415@kbd{C-s}, first set the mark where point was. 415@kbd{C-s}, first set the mark where point was.
416 416
417@item 417@item
418Some commands, which ordinarily operate on the region when the mark is 418Some commands, which ordinarily act on the region when the mark is
419active, instead act on the entire buffer. For instance, @kbd{C-x u} 419active, no longer do so. For example, normally @kbd{M-%}
420normally reverses changes within the region if the mark is active; 420(@code{query-replace}) performs replacements within the region, if the
421when Transient Mark mode is off, it acts on the entire buffer. 421mark is active. When Transient Mark mode is off, it always operates
422However, you can type @kbd{C-u C-x u} to make it operate on the 422from point to the end of the buffer. Commands that act this way are
423region. @xref{Undo}. Other commands that act this way are identified 423identified in their own documentation.
424in their own documentation.
425@end itemize 424@end itemize
426 425
427 While Transient Mark mode is off, you can activate it temporarily 426 While Transient Mark mode is off, you can activate it temporarily
@@ -437,9 +436,9 @@ command twice.)
437 436
438@item C-u C-x C-x 437@item C-u C-x C-x
439@kindex C-u C-x C-x 438@kindex C-u C-x C-x
440Activate the mark without changing it; enable Transient Mark mode just 439Activate the mark and enable Transient Mark mode temporarily, until
441once, until the mark is deactivated. (This is the @kbd{C-x C-x} 440the mark is next deactivated. (This is the @kbd{C-x C-x} command,
442command, @code{exchange-point-and-mark}, with a prefix argument.) 441@code{exchange-point-and-mark}, with a prefix argument.)
443@end table 442@end table
444 443
445 These commands set or activate the mark, and enable Transient Mark 444 These commands set or activate the mark, and enable Transient Mark