Article View: gnu.emacs.bug
Article #98590region hilighting (was Re: Enabling a command forever - too easy)
From: Jamie Zawinski
Date: Thu, 02 May 1991 00:00
Date: Thu, 02 May 1991 00:00
32 lines
2062 bytes
2062 bytes
In article <130906@uunet.UU.NET> kyle@UUNET.UU.NET (Kyle Jones) wrote: > fox@allegra.att.com (David Fox) writes: > >> Kill-region would be much safer if the region was highlighted >> while the mark was set. > > This would make using the mark ring very cumbersome. But if you > didn't have some way to turn off the mark, the screen would be > ablaze with light most of the time, because a number of commands > set the mark. In Zmacs (TI Explorer version, probably all the others) and, I believe, in CMU's emacs-like editor Hemlock, the commands which operate on the region (that is, take the region as an argument) work only if the region is hilighted. The region is not always hilighted. When you set a mark (^X SPC) and move the point to another place, the text between those two points becomes hilighted. If you then execute most other commands (insertion, for example) the text becomes unhilighted. The "region" still exists, that is, there is still a mark in the buffer, but the region between point and mark is now "inactive." Typing ^W does not work. But ^X ^X would reactivate the region, making region-manipulating commands work again. At top level, ^G deactivated the region if it was active, otherwise beeped. Many region-oriented commands were written such that they operated on the region if it was selected, and the entire buffer otherwise. I sorely miss this behaviour. -- Jamie
Technical Details
Message-ID:
<JWZ.91May1200026@thalidomide.lucid.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbageShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,8c49646557cb7913,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-05-01 17:00:26 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbage From: jwz@LUCID.COM (Jamie Zawinski) Newsgroups: gnu.emacs.bug Subject: region hilighting (was Re: Enabling a command forever - too easy) Message-ID: <JWZ.91May1200026@thalidomide.lucid.com> Date: 2 May 91 00:00:26 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: Lucid, Inc., Menlo Park, CA Lines: 32 Approved: bug-gnu-emacs@prep.ai.mit.edu