Article View: gnu.emacs.bug
Article #98582Re: Enabling a command forever - too easy
From: Kyle Jones
Date: Mon, 29 Apr 1991 23:58
Date: Mon, 29 Apr 1991 23:58
17 lines
1694 bytes
1694 bytes
fox@allegra.att.com (David Fox) writes: > Kill-region would be much safer if the region was highlighted > while the mark was set. The Brown University editor bb did this > and it was one thing that was much better than emacs. There were > some other things too, but I don't remember... so long ago... > Set-mark would have to turn the mark off if it was on, rather > than setting a new mark. 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. This is the main reason I've never been thrilled with the idea of having the region highlighted. C-x C-x is a simple enough way to check the bounds of the region before doing a kill. As for accidental kills, I think the code posted by Stephen Gildea is good way to provide a warning of what you just did. It's also a good start toward a more general facility.
Technical Details
Message-ID:
<130906@uunet.UU.NET>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbageReferences:
<1991Apr23.052551.650@Think.COM> <130314@uunet.UU.NET> <FOX.91Apr25204457@abaco.tempo.att.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,f0c2779800ac87fa X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-04-29 16:58:53 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbage From: kyle@UUNET.UU.NET (Kyle Jones) Newsgroups: gnu.emacs.bug Subject: Re: Enabling a command forever - too easy Message-ID: <130906@uunet.UU.NET> Date: 29 Apr 91 23:58:53 GMT References: <1991Apr23.052551.650@Think.COM> <130314@uunet.UU.NET> <FOX.91Apr25204457@abaco.tempo.att.com> Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: UUNET Communications Services, Falls Church, VA Lines: 17 Approved: bug-gnu-emacs@prep.ai.mit.edu