[SM-Discuss] emacs config file

Eric Sandall eric at sandall.us
Thu Aug 19 12:31:40 EDT 2004


Quoting Seth Alan Woolley <seth at positivism.org>:
> On Fri, Aug 13, 2004 at 10:07:02PM +0000, Robert Figura wrote:
<snip>
> > no. i think there should be an /etc/smgl.el (site-lisp instead of etc may
> be 
> > better though) which the user may include if he really wants to. if you 
> > really want to do babysitting put an .emace file into /etc/skel. 
> > 
> 
> This is the way to go, to me.  In /etc though, not /usr/share...  config
> files belong in /etc.  And we should put a config file into /etc/skel if
> emacs doesn't fall back to the site config (which it should), otherwise,
> try to keep /etc/skel clean.
> 
> > > I'm pretty sure that we need option 2, but I'm totally lost in the
> > > emacs-directories. who can point me out?

I think this is the way to go. Have a default .emacs file in /etc/skel that
includes /etc/smgl.el, then your emacs plugins can modify /etc/smgl.el.

Or better yet, use Mads' idea with a /etc/emacs.d/ directory structure where
each plugin puts its files (that way spells are not modifying another spell's
files) and have /etc/smgl.el just include everything in /etc/emacs.d/ (if it
can do that without having to explicitly list each file).

-sandalle

-- 
Eric Sandall                     |  Source Mage GNU/Linux Developer
eric at sandall.us PGP: 0xA8EFDD61  |  http://www.sourcemage.org/
http://eric.sandall.us/          |  SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/  #196285  |  http://www.shock.wsu.edu/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the SM-Discuss mailing list