🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98668

Re: Enabling a command forever - too easy

#98668
From: Kyle Jones
Date: Wed, 24 Apr 1991 23:02
28 lines
2110 bytes
Kyle Jones writes:
 > I question the choice of eval-expression as a disabled command.
 > A person ignorant of Lisp isn't going to do themself any damage
 > with this command.
 >
 > On the other wand, it's quite easy to type C-w instead of C-e or
 > C-s or C-q, but oddly enough kill-region is not disabled by
 > default.

Barry Margolin writes:
 > Danger is not the only criterion used for deciding which commands should be
 > initially enabled.  Cutting and pasting are standard, essential operations
 > of most text editors, so disabling the cut command is not considered
 > reasonable.  Most users have little need to evaluate Lisp expressions, so
 > disabling this command doesn't impact many users.

kill-region is only one of several cut commands.  You can cuit
and paste lines, sentences, words and paragraphs without using
C-w.  These commands aren't as dangerous as kill-region because
they don't use the value of mark as a delimiter of the region to
kill.  The mark is pushed pretty often in an editing sessio,
often as the result of something besides set-mark-command.  You
can chop off a good sized region of text without realizing it.

I've pretty handy with Emacs and even I wouldn't mind having
something like vi's "set report" facility so you would get a
message if x number of lines are deleted.  This would be more
useful than disabling the command outright.
Technical Details
Message-ID: <130314@uunet.UU.NET>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbage
References: <1991Apr16.170934.11292@athena.mit.edu> <129695@uunet.UU.NET> <1991Apr23.052551.650@Think.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-24 16:02:18 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: <130314@uunet.UU.NET>
Date: 24 Apr 91 23:02:18 GMT
References: <1991Apr16.170934.11292@athena.mit.edu> <129695@uunet.UU.NET> <1991Apr23.052551.650@Think.COM>
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: UUNET Communications Services, Falls Church, VA
Lines: 28
Approved: bug-gnu-emacs@prep.ai.mit.edu