Article View: gnu.emacs.bug
Article #98663Re: Enabling a command forever - too easy
From: Dave Gillespie
Date: Wed, 24 Apr 1991 19:22
Date: Wed, 24 Apr 1991 19:22
15 lines
1425 bytes
1425 bytes
>>>>> On 16 Apr 91 17:09:34 GMT, bjaspan@ATHENA.MIT.EDU (Barr3y Jaspan) said: > 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.) Calc has a calc-settings-file variable which defaults to "~/.emacs", which all the "permanent" commands use. Perhaps this variable should be moved to Emacs itself. Then you could change this to "~/emacs.el" if that's the way you have arranged things. -- Dave
Technical Details
Message-ID:
<DAVEG.91Apr24152232@near.cs.caltech.edu>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,f0c2779800ac87fa X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-04-24 12:22:32 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbage From: daveg@NEAR.CS.CALTECH.EDU (Dave Gillespie) Newsgroups: gnu.emacs.bug Subject: Re: Enabling a command forever - too easy Message-ID: <DAVEG.91Apr24152232@near.cs.caltech.edu> Date: 24 Apr 91 19:22:32 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: California Institute of Technology Lines: 15 Approved: bug-gnu-emacs@prep.ai.mit.edu