aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2001-02-17 17:43:03 +0000
committerRichard M. Stallman2001-02-17 17:43:03 +0000
commiteaf89fe69327d054c12143f0448c1aa146bc9f6f (patch)
tree132f8d1fabb21255133426e8b8ab36b66ba40e7d
parentb08fa67e1cc306e72815d4d15e82df8309954a12 (diff)
downloademacs-eaf89fe69327d054c12143f0448c1aa146bc9f6f.tar.gz
emacs-eaf89fe69327d054c12143f0448c1aa146bc9f6f.zip
Clean up intro to Transient Mark mode.
Explain that it changes the behavior of some commands.
-rw-r--r--man/mark.texi23
1 files changed, 17 insertions, 6 deletions
diff --git a/man/mark.texi b/man/mark.texi
index ba51aae3170..0587283f6cc 100644
--- a/man/mark.texi
+++ b/man/mark.texi
@@ -119,18 +119,21 @@ character, but its binding is still @code{set-mark-command}.
119@cindex highlighting region 119@cindex highlighting region
120@cindex region highlighting 120@cindex region highlighting
121 121
122 Emacs can highlight the current region on a terminal which supports 122 On a terminal that supports colors, Emacs can highlight the current
123colors. But normally it does not. Why not? 123region. But normally it does not. Why not?
124 124
125 Highlighting the region doesn't work well ordinarily in Emacs, because 125 Highlighting the region whenever it exists would not be desirable in
126once you have set a mark, there is @emph{always} a region (in that 126Emacs, because once you have set a mark, there is @emph{always} a
127buffer). And highlighting the region all the time would be a nuisance. 127region (in that buffer). And highlighting the region all the time
128would be a nuisance. So normally Emacs highlights the region only
129immediately after you have selected it with the mouse.
128 130
129 You can turn on region highlighting by enabling Transient Mark mode. 131 You can turn on region highlighting by enabling Transient Mark mode.
130This is a more rigid mode of operation in which the region ``lasts'' 132This is a more rigid mode of operation in which the region ``lasts''
131only temporarily, so you must set up a region for each command that uses 133only temporarily, so you must set up a region for each command that uses
132one. In Transient Mark mode, most of the time there is no region; 134one. In Transient Mark mode, most of the time there is no region;
133therefore, highlighting the region when it exists is convenient. 135therefore, highlighting the region when it exists is useful and
136not annoying.
134 137
135@findex transient-mark-mode 138@findex transient-mark-mode
136 To enable Transient Mark mode, type @kbd{M-x transient-mark-mode}. 139 To enable Transient Mark mode, type @kbd{M-x transient-mark-mode}.
@@ -172,6 +175,14 @@ You can activate the new region by executing @kbd{C-x C-x}
172 175
173@item 176@item
174Quitting with @kbd{C-g} deactivates the mark. 177Quitting with @kbd{C-g} deactivates the mark.
178
179@item
180Some commands operate on the region whenever it is active. For
181instance, @kbd{C-x u} in Transient Mark mode operates on the region
182when there is a region. Outside Transient Mark mode, you must type
183@kbd{C-u C-x u} if you want it to operate on the region.
184@xref{Undo}. Other commands that act this way are identified
185in their own documentation.
175@end itemize 186@end itemize
176 187
177 Highlighting of the region uses the @code{region} face; you can 188 Highlighting of the region uses the @code{region} face; you can