diff options
Diffstat (limited to 'man/mark.texi')
| -rw-r--r-- | man/mark.texi | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/man/mark.texi b/man/mark.texi index cf7b87366e8..2736dccd297 100644 --- a/man/mark.texi +++ b/man/mark.texi | |||
| @@ -139,21 +139,23 @@ have a text terminal where typing @kbd{C-@key{SPC}} does not produce | |||
| 139 | On a terminal that supports colors, Emacs has the ability to | 139 | On a terminal that supports colors, Emacs has the ability to |
| 140 | highlight the current region. But normally it does not. Why not? | 140 | highlight the current region. But normally it does not. Why not? |
| 141 | 141 | ||
| 142 | Once you have set the mark in a buffer, there is @emph{always} a | 142 | In the normal mode of use, every command that sets the mark also |
| 143 | region in that buffer. This is because every command that sets the | 143 | activates it, and nothing ever deactivates it. Thus, once you have |
| 144 | mark also activates it, and nothing ever deactivates it. Highlighting | 144 | set the mark in a buffer, there is @emph{always} a region in that |
| 145 | the region all the time would be a nuisance. So normally Emacs | 145 | buffer. Highlighting the region all the time would be a nuisance. So |
| 146 | highlights the region only immediately after you have selected one | 146 | normally Emacs highlights the region only immediately after you have |
| 147 | with the mouse. | 147 | selected one with the mouse. |
| 148 | 148 | ||
| 149 | If you want region highlighting, you can use Transient Mark mode. | 149 | If you want region highlighting, you can use Transient Mark mode. |
| 150 | This is a more rigid mode of operation in which the region always | 150 | This is a more rigid mode of operation in which the region ``lasts'' |
| 151 | ``lasts'' only until you use it; you explicitly must set up a region | 151 | only until you use it; operating on the region text deactivates the |
| 152 | for each command that uses one. In Transient Mark mode, most of the | 152 | mark, so there is no region any more. Therefore, you must explicitly |
| 153 | time there is no region; therefore, highlighting the region when it | 153 | set up a region for each command that uses one. |
| 154 | exists is useful and not annoying. When Transient Mark mode is | 154 | |
| 155 | enabled, Emacs always highlights the region whenever there is a | 155 | When Transient Mark mode is enabled, Emacs highlights the region, |
| 156 | region. | 156 | whenever there is a region. In Transient Mark mode, most of the time |
| 157 | there is no region; therefore, highlighting the region when it exists | ||
| 158 | is useful and not annoying. | ||
| 157 | 159 | ||
| 158 | @findex transient-mark-mode | 160 | @findex transient-mark-mode |
| 159 | To enable Transient Mark mode, type @kbd{M-x transient-mark-mode}. | 161 | To enable Transient Mark mode, type @kbd{M-x transient-mark-mode}. |
| @@ -367,7 +369,7 @@ negative) instead of the current page. | |||
| 367 | 369 | ||
| 368 | Finally, @kbd{C-x h} (@code{mark-whole-buffer}) sets up the entire | 370 | Finally, @kbd{C-x h} (@code{mark-whole-buffer}) sets up the entire |
| 369 | buffer as the region, by putting point at the beginning and the mark at | 371 | buffer as the region, by putting point at the beginning and the mark at |
| 370 | the end. | 372 | the end. (In some programs this is called ``select all.'') |
| 371 | 373 | ||
| 372 | In Transient Mark mode, all of these commands activate the mark. | 374 | In Transient Mark mode, all of these commands activate the mark. |
| 373 | 375 | ||