[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
/usr/local/share/emacs/site-lisp is not expanded on ubuntu installs
From: |
Vitalie Spinu |
Subject: |
/usr/local/share/emacs/site-lisp is not expanded on ubuntu installs |
Date: |
Thu, 21 Nov 2013 16:26:22 -0800 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
Hi,
On Ubuntu the directories of /usr/local/share/emacs/site-lisp are not
added to load-path as stated in the documentation:
If `EMACSLOADPATH' is not set (which is usually the case), Emacs
initializes `load-path' with the following two directories:
"/usr/local/share/emacs/VERSION/site-lisp"
and
"/usr/local/share/emacs/site-lisp"
[...]
Next, Emacs "expands" the initial list of directories in `load-path'
by adding the subdirectories of those directories. Both immediate
subdirectories and subdirectories multiple levels down are added. But
it excludes subdirectories whose names do not start with a letter or
digit, and subdirectories named `RCS' or `CVS', and subdirectories
containing a file named `.nosearch'.
I see the same thing on emacs23, emacs24 and emacs-snapshot on Kubuntu
13.04.
The path /usr/share/emacs/site-lisp is expanded. Does this mean that
/usr/share/emacs/site-lisp should be used for the installation of add-on
packages? If so, then the info page should be updated.
Thanks,
Vitalie
- /usr/local/share/emacs/site-lisp is not expanded on ubuntu installs,
Vitalie Spinu <=