Yo, Mike! Is this about right?
>>>> "Andrew" == Andrew Begel
<abegel(a)eecs.berkeley.edu> writes:
Andrew> Where is the accepted place to put these expressions? the
Andrew> site-lisp/site-packages etc directories are apparently
Andrew> deprecated,
site-lisp is deprecated in _favor_ of site-packages. If code is going
to be packaged, but you always want it run, you can autoload arbitrary
expressions.
Andrew> and my code isn't a package (and doesn't really want to
Andrew> be).
It's not the code that decides whether something should be a package.
Any Lisp code can (and should, if you want to install it more than
once) be packaged. [n.b. We have fallen down by not providing a
simple packaging function that takes a few lisp libraries and
generates a trivial package from them.] I suppose that's what you
meant (ie, it's site-specific, so probably won't be installed anywhere
else, and it's trivial, so not going to be installed on your site more
than once)?
Andrew> I don't want to put it in every user's .xemacs/init.el
Andrew> files...
There are two files. One is "site-start.el" which is loaded before
the user init files, and can be inhibited only by using
--no-site-files (or switches that imply it). The other is
"default.el", which is loaded after the user init files, and can be
inhibited on a per-user basis by setq'ing `inhibit-default-init' in
the user init file.
Hm.... In the old model, these would naturally live in site-lisp.
There used to be sample versions in the source ./lisp directory, but
they were eliminated in 1998. I guess now the suggested location
would be in .../site-packages/lisp/site-config/ or something like that.
Mike?
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.