bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggestion: Make tar-mode activated in Emacs


From: Peter S Galbraith
Subject: Re: Suggestion: Make tar-mode activated in Emacs
Date: Wed, 01 Aug 2001 14:21:22 -0400

David Masterson wrote:

> It might be nicer to have a package management system (a la XEmacs) in 
> Emacs that can take care of adding things to auto-mode-alist (etc.)
> when the package is installed.

See also the way Debian implements an init.d-like directory where
each file installed there is loaded by Emacs on startup.  

e.g. on my system:

$ ls /etc/emacs/site-start.d/
00debian-vars.el  50gnuserv.el           50mgp.el
50auctex.el       50gnuserv.el.dpkg-old  50octave.el
50debbugs-el.el   50gre.el               50octave.el.dpkg-old
50debview.el      50gri-html-doc.el      50python-mode.el
50dpkg-dev-el.el  50gri.el
50ess.el          50mailcrypt.el

$ ls /etc/emacs20/site-start.d/
00debian-vars.elc  35elib-startup.el  50psgml-init.el
20apel-init.el     50flim-init.el     51semi-init.el

These files then set autoloads and auto-mode-alist such that the
installed package works out of the box.

Peter



reply via email to

[Prev in Thread] Current Thread [Next in Thread]