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

load-path in emacs-snapshot includes too much.



Hi all,

I thought I'd discuss here before reporting a bug.  The load-path of
emacs-snapshot includes all the /usr/share/emacs/site-lisp
subdirectories.  This has the side effect that Debian packages that
don't want to setup themselves for emacs-snapshot find themselves in the
load-path anyway.

For various packages, I don't put the /usr/share/emacs/site-lisp/PACKAGE
in the load-path and byte-compile files only for valid flavours. This is
the case for emacs-goodies-el.

For the mh-e package, I skip installation altogether for emacs-snapshot.
Yet I get:

M-: (locate-library "mh-e")
-> "/usr/share/emacs/site-lisp/mh-e/mh-e.el"

(This currently results in a broken MH-E installation because it can't
find the etc/images directory relative to the mh-e library, but I'll
fix that in CVS Emacs since that's too fragile anyway.)

Any thoughts?

Peter





Reply to: