Article View: gnu.emacs.bug
Article #98636Re: Enabling a command forever - too easy
From: Jim Blandy
Date: Wed, 17 Apr 1991 17:14
Date: Wed, 17 Apr 1991 17:14
28 lines
1988 bytes
1988 bytes
In article <1991Apr16.170934.11292@athena.mit.edu> bjaspan@ATHENA.MIT.EDU (Barr3y Jaspan) writes:
I would argue that "making the command permanent" is not something
emacs lisp code should try to do. All it is going to do is add a
sexp to the end of the user's .emacs file, and that isn't always
appropriate. (For example, my .emacs is a symlink to emacs.elc,
which is a compiled form of my emacs.el. Adding something to the
end of emacs.elc would be the wrong choice since it will get blown
away next time I compile emacs.el.)
I don't agree that adding code to the end of your .emacs is too
fragile. It assumes that your .emacs exists or is creatible, has
valid lisp code in it, and doesn't get wiped out except under the
user's control, and it preserves these assumptions.
Instead of removing a feature that seems to work well for the majority
of Emacs users, I would rather expect those users who have set up
unusual configurations to solve the problems their changes introduce.
I mean, if your .emacs is so big it should be compiled, can't you put
the enabling clauses in your .emacs.el yourself?
Perhaps instead of a symbolic link, your .emacs could ("load "~/.emacs").
-JimB
--
-Jim Blandy
jimb@ai.mit.edu
Technical Details
Message-ID:
<JIMB.91Apr17131435@geech.gnu.ai.mit.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!lll-winken!elroy.jpl.nasa.gov!sdd.hp.com!caen!hellgate.utah.edu!dog.ee.lbl.gov!ucbvax!tut.cis.ohio-state.edu!unreplyable!garbageShow 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-17 23:45:39 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!lll-winken!elroy.jpl.nasa.gov!sdd.hp.com!caen!hellgate.utah.edu!dog.ee.lbl.gov!ucbvax!tut.cis.ohio-state.edu!unreplyable!garbage From: jimb@GEECH.GNU.AI.MIT.EDU (Jim Blandy) Newsgroups: gnu.emacs.bug Subject: Re: Enabling a command forever - too easy Message-ID: <JIMB.91Apr17131435@geech.gnu.ai.mit.edu> Date: 17 Apr 91 17:14:35 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: I see no organization here. Lines: 28 Approved: bug-gnu-emacs@prep.ai.mit.edu