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

Re: site-start.el and lout-mode.el

>>>>> "eichin" == eichin  <eichin@kitten.gen.ma.us> wrote:

eichin> If someone wants to write an "install-elisp" (there have been
eichin> some quite clever suggestions here) some time this week, I'll
eichin> try and include it in the 19.32-1 package.

I like the way is done in w3: all the commands necessary to (auto)load
the package are included in a new file, say w3-init.el, which is put
in the site-lisp directory. Than, a single line "entry" is put in
/etc/site-start.el. Something like:

(load "/usr/lib/emacs/site-list/w3-init" t nil nil)

Note that the optional arguments ensure that no error will be signaled
if the file does not exist.

The deinstallation can be done with a simple "grep -v" command.

Just my $0.02.

Ciao, Emilio.

                 Emilio C. Lopes <mailto:ecl@finpe.if.usp.br>
               Instituto de Fisica da Universidade de Sao Paulo
             Caixa Postal 66318, 05389-970 Sao Paulo - SP, BRAZIL
              Phone: (+55) (11) 818-6724 (Voice) / 818-6715 (Fax)

Reply to: