summaryrefslogtreecommitdiff
path: root/man/mark.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2006-01-31 18:26:34 +0000
committerRichard M. Stallman <rms@gnu.org>2006-01-31 18:26:34 +0000
commit7125ef59edf8964620830c295447623174d73a58 (patch)
tree989776435782b4b0dbfa059afc0eef94866bcddd /man/mark.texi
parent9f528dedebf267882aa6e096e9e1939d22f364ea (diff)
downloademacs-7125ef59edf8964620830c295447623174d73a58.tar.gz
Minor clarifications.
(Selective Undo): Node deleted.
Diffstat (limited to 'man/mark.texi')
-rw-r--r--man/mark.texi33
1 files changed, 8 insertions, 25 deletions
diff --git a/man/mark.texi b/man/mark.texi
index c472dffb5a6..f4308835e96 100644
--- a/man/mark.texi
+++ b/man/mark.texi
@@ -44,7 +44,6 @@ mark in the @dfn{mark ring}.
when there is one.
* Momentary Mark:: Enabling Transient Mark mode momentarily.
* Using Region:: Summary of ways to operate on contents of the region.
-* Selective Undo:: Undoing within a given region.
* Marking Objects:: Commands to put region around textual units.
* Mark Ring:: Previous mark positions saved so you can go back there.
* Global Mark Ring:: Previous mark positions in various buffers.
@@ -88,9 +87,11 @@ button one across a range of text; that puts point where you release the
mouse button, and sets the mark at the other end of that range. Or you
can click mouse button three, which sets the mark at point (like
@kbd{C-@key{SPC}}) and then moves point where you clicked (like
-@kbd{Mouse-1}). Both of these methods copy the region into the kill
+@kbd{Mouse-1}).
+
+ Using the mouse to mark a region copies the region into the kill
ring in addition to setting the mark; that gives behavior consistent
-with other window-driven applications, but if you don't want to modify
+with other window-driven applications. If you don't want to modify
the kill ring, you must use keyboard commands to set the mark.
@xref{Mouse Commands}.
@@ -299,30 +300,12 @@ Print hardcopy with @kbd{M-x print-region} (@pxref{Printing}).
@item
Evaluate it as Lisp code with @kbd{M-x eval-region} (@pxref{Lisp Eval}).
@item
-Undo changes within it using @kbd{C-u C-x u} (@pxref{Selective Undo}).
+Undo changes within it using @kbd{C-u C-x u} (@pxref{Undo}).
@end itemize
Most commands that operate on the text in the region have the word
@code{region} in their names.
-@node Selective Undo
-@section Selective Undo
-
-@cindex selective undo
-@kindex C-u C-x u
- Ordinary undo applies to all changes made in the current buffer. You
-can also perform @dfn{selective undo}, limited to the current region
-(@pxref{Mark}).
-
- To do this, specify the region you want, then run the @code{undo}
-command with a prefix argument (the value does not matter): @kbd{C-u
-C-x u} or @kbd{C-u C-_}. This undoes the most recent change in the
-region. To undo further changes in the same region, repeat the
-@code{undo} command (no prefix argument is needed). In Transient Mark
-mode (@pxref{Transient Mark}), any use of @code{undo} when there is an
-active region performs selective undo; you do not need a prefix
-argument.
-
@node Marking Objects
@section Commands to Mark Textual Objects
@@ -368,12 +351,12 @@ point. If the prefix argument is @minus{}@var{n}, @kbd{M-h} also
marks @var{n} paragraphs, running back form the one surrounding point.
In that last case, point moves forward to the end of that paragraph,
and the mark goes at the start of the region. Repeating the @kbd{M-h}
-command extends the region, just as with @kbd{M-@@} and @kbd{C-M-@@}.
+command extends the region to subsequent paragraphs.
@kbd{C-M-h} (@code{mark-defun}) similarly puts point before, and the
mark after, the current (or following) major top-level definition, or
-defun (@pxref{Moving by Defuns}). Repeating @kbd{C-M-h} also extends
-the region.
+defun (@pxref{Moving by Defuns}). Repeating @kbd{C-M-h} extends
+the region to subsequent defuns.
@kbd{C-x C-p} (@code{mark-page}) puts point before the current page,
and mark at the end (@pxref{Pages}). The mark goes after the