Commit e59c4233 authored by Chong Yidong's avatar Chong Yidong
Browse files

Edits to Persistent Mark node.

* mark.texi (Persistent Mark): Copyedits.  Replace undo example with
query-replace (Bug#5774).
parent 8afe2ec6
2010-04-06 Chong Yidong <cyd@stupidchicken.com>
* mark.texi (Persistent Mark): Copyedits. Replace undo example with
query-replace (Bug#5774).
2010-03-30 Eli Zaretskii <eliz@gnu.org> 2010-03-30 Eli Zaretskii <eliz@gnu.org>
* mule.texi (Input Methods): Mention "C-x 8 RET" and add a * mule.texi (Input Methods): Mention "C-x 8 RET" and add a
......
...@@ -387,10 +387,10 @@ Mark}), or with shift-selection (@pxref{Shift Selection}). ...@@ -387,10 +387,10 @@ Mark}), or with shift-selection (@pxref{Shift Selection}).
@findex transient-mark-mode @findex transient-mark-mode
To turn off Transient Mark mode, type @kbd{M-x transient-mark-mode}. To turn off Transient Mark mode, type @kbd{M-x transient-mark-mode}.
This command toggles the mode; you can use the same command to turn This command toggles the mode; you can use the same command to turn it
Transient Mark mode on again. You can also turn off Transient Mark on again. You can also toggle Transient Mark mode using the
mode using the menu bar: in the @samp{Options} menu, toggle the @samp{Active Region Highlighting} menu item in the @samp{Options}
@samp{Active Region Highlighting} menu item. menu.
Here are the details of how Emacs behaves when Transient Mark mode Here are the details of how Emacs behaves when Transient Mark mode
is off: is off:
...@@ -415,13 +415,12 @@ Many commands that move point long distances, like @kbd{M-<} and ...@@ -415,13 +415,12 @@ Many commands that move point long distances, like @kbd{M-<} and
@kbd{C-s}, first set the mark where point was. @kbd{C-s}, first set the mark where point was.
@item @item
Some commands, which ordinarily operate on the region when the mark is Some commands, which ordinarily act on the region when the mark is
active, instead act on the entire buffer. For instance, @kbd{C-x u} active, no longer do so. For example, normally @kbd{M-%}
normally reverses changes within the region if the mark is active; (@code{query-replace}) performs replacements within the region, if the
when Transient Mark mode is off, it acts on the entire buffer. mark is active. When Transient Mark mode is off, it always operates
However, you can type @kbd{C-u C-x u} to make it operate on the from point to the end of the buffer. Commands that act this way are
region. @xref{Undo}. Other commands that act this way are identified identified in their own documentation.
in their own documentation.
@end itemize @end itemize
While Transient Mark mode is off, you can activate it temporarily While Transient Mark mode is off, you can activate it temporarily
...@@ -437,9 +436,9 @@ command twice.) ...@@ -437,9 +436,9 @@ command twice.)
@item C-u C-x C-x @item C-u C-x C-x
@kindex C-u C-x C-x @kindex C-u C-x C-x
Activate the mark without changing it; enable Transient Mark mode just Activate the mark and enable Transient Mark mode temporarily, until
once, until the mark is deactivated. (This is the @kbd{C-x C-x} the mark is next deactivated. (This is the @kbd{C-x C-x} command,
command, @code{exchange-point-and-mark}, with a prefix argument.) @code{exchange-point-and-mark}, with a prefix argument.)
@end table @end table
These commands set or activate the mark, and enable Transient Mark These commands set or activate the mark, and enable Transient Mark
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment