Mercurial > emacs
changeset 72166:d8c9fc01d95e
(Transient Mark): Clarify that region never disappears
when Transient Mark mode is off, and not when it is on.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 29 Jul 2006 01:52:29 +0000 |
parents | 301cc56a3482 |
children | b0a67cf52eb6 |
files | man/mark.texi |
diffstat | 1 files changed, 15 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/man/mark.texi Fri Jul 28 23:20:21 2006 +0000 +++ b/man/mark.texi Sat Jul 29 01:52:29 2006 +0000 @@ -139,21 +139,23 @@ On a terminal that supports colors, Emacs has the ability to highlight the current region. But normally it does not. Why not? - Once you have set the mark in a buffer, there is @emph{always} a -region in that buffer. This is because every command that sets the -mark also activates it, and nothing ever deactivates it. Highlighting -the region all the time would be a nuisance. So normally Emacs -highlights the region only immediately after you have selected one -with the mouse. + In the normal mode of use, every command that sets the mark also +activates it, and nothing ever deactivates it. Thus, once you have +set the mark in a buffer, there is @emph{always} a region in that +buffer. Highlighting the region all the time would be a nuisance. So +normally Emacs highlights the region only immediately after you have +selected one with the mouse. If you want region highlighting, you can use Transient Mark mode. -This is a more rigid mode of operation in which the region always -``lasts'' only until you use it; you explicitly must set up a region -for each command that uses one. In Transient Mark mode, most of the -time there is no region; therefore, highlighting the region when it -exists is useful and not annoying. When Transient Mark mode is -enabled, Emacs always highlights the region whenever there is a -region. +This is a more rigid mode of operation in which the region ``lasts'' +only until you use it; operating on the region text deactivates the +mark, so there is no region any more. Therefore, you must explicitly +set up a region for each command that uses one. + + When Transient Mark mode is enabled, Emacs highlights the region, +whenever there is a region. In Transient Mark mode, most of the time +there is no region; therefore, highlighting the region when it exists +is useful and not annoying. @findex transient-mark-mode To enable Transient Mark mode, type @kbd{M-x transient-mark-mode}.