![]() |
James Thornton |
| Internet Business Consultant |
| Home | Blog | Bio | Projects | Contact | Latest Blog (new site): How to Get to Genius |
|---|
H.2 Transient Mark ModeOn a terminal that supports colors, Emacs can highlight the current region. But normally it does not. Why not? Highlighting the region whenever it exists would not be desirable in Emacs, because once you have set a mark, there is always a region (in that buffer). And 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. You can turn on region highlighting by enabling Transient Mark mode. This is a more rigid mode of operation in which the region "lasts" only temporarily, so you 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. To enable Transient Mark mode, type M-x transient-mark-mode. This command toggles the mode, so you can repeat the command to turn off the mode. Here are the details of Transient Mark mode:
The highlighting of the region uses the
When multiple windows show the same buffer, they can have different
regions, because they can have different values of point (though they
all share one common mark position). Ordinarily, only the selected
window highlights its region (see section O. Multiple Windows). However, if the
variable When Transient Mark mode is not enabled, every command that sets the mark also activates it, and nothing ever deactivates it.
If the variable Transient Mark mode is also sometimes known as "Zmacs mode" because the Zmacs editor on the MIT Lisp Machine handled the mark in a similar way.
This document was generated on April 2, 2002 using texi2html |
|
James Thornton, jamesthornton.com>Services: Search Engine Optimization |
Electric Speed: Web Dev |