From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vitalie Spinu Newsgroups: gmane.emacs.devel Subject: /usr/local/share/emacs/site-lisp is not expanded on ubuntu installs Date: Thu, 21 Nov 2013 16:26:22 -0800 Organization: UCLA Anderson School of Management Message-ID: <87mwkxp9ht.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1385080009 10001 80.91.229.3 (22 Nov 2013 00:26:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Nov 2013 00:26:49 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 22 01:26:53 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VjeaD-0000IP-Cg for ged-emacs-devel@m.gmane.org; Fri, 22 Nov 2013 01:26:53 +0100 Original-Received: from localhost ([::1]:35961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjeaC-0001IF-Tz for ged-emacs-devel@m.gmane.org; Thu, 21 Nov 2013 19:26:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vjea3-0001F7-81 for emacs-devel@gnu.org; Thu, 21 Nov 2013 19:26:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VjeZv-0008Rv-Tn for emacs-devel@gnu.org; Thu, 21 Nov 2013 19:26:43 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:34878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjeZv-0008Ro-L8 for emacs-devel@gnu.org; Thu, 21 Nov 2013 19:26:35 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VjeZt-00008D-UQ for emacs-devel@gnu.org; Fri, 22 Nov 2013 01:26:33 +0100 Original-Received: from cs178-204.anderson.ucla.edu ([164.67.178.204]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Nov 2013 01:26:33 +0100 Original-Received: from spinuvit by cs178-204.anderson.ucla.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Nov 2013 01:26:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cs178-204.anderson.ucla.edu User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:hkpJxT1m0TCU/W+Apc0l5senoAA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:165515 Archived-At: 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