unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Vitalie Spinu <spinuvit@gmail.com>
To: emacs-devel@gnu.org
Subject: /usr/local/share/emacs/site-lisp is not expanded on ubuntu installs
Date: Thu, 21 Nov 2013 16:26:22 -0800	[thread overview]
Message-ID: <87mwkxp9ht.fsf@gmail.com> (raw)



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




             reply	other threads:[~2013-11-22  0:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-22  0:26 Vitalie Spinu [this message]
2013-11-22  2:29 ` /usr/local/share/emacs/site-lisp is not expanded on ubuntu installs Vitalie Spinu
2013-11-22  3:04   ` Glenn Morris
2013-11-22  3:03 ` Glenn Morris
2013-11-22  3:35   ` Vitalie Spinu
2013-11-22  4:02     ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mwkxp9ht.fsf@gmail.com \
    --to=spinuvit@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).