From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.help Subject: Re: Adding Additional Trees to the Load Path Date: Tue, 27 Jan 2009 21:16:21 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233087416 14481 80.91.229.12 (27 Jan 2009 20:16:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2009 20:16:56 +0000 (UTC) Cc: Emacs Help List To: Tim Visher Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 27 21:18:09 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LRuNo-0007Vl-8m for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jan 2009 21:18:04 +0100 Original-Received: from localhost ([127.0.0.1]:52852 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRuMV-0006tQ-Ts for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jan 2009 15:16:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRuMC-0006sU-Os for help-gnu-emacs@gnu.org; Tue, 27 Jan 2009 15:16:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRuMA-0006qP-Qa for help-gnu-emacs@gnu.org; Tue, 27 Jan 2009 15:16:24 -0500 Original-Received: from [199.232.76.173] (port=59344 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRuMA-0006qM-LO for help-gnu-emacs@gnu.org; Tue, 27 Jan 2009 15:16:22 -0500 Original-Received: from mail-ew0-f20.google.com ([209.85.219.20]:48369) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LRuMA-0004cb-9j for help-gnu-emacs@gnu.org; Tue, 27 Jan 2009 15:16:22 -0500 Original-Received: by ewy13 with SMTP id 13so2384517ewy.18 for ; Tue, 27 Jan 2009 12:16:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=AipEVLCMkXISoXxHs2eEBmDLiFwEQs2XqRGEoK7KfEs=; b=GlIrcSEYzP6vt72WvjYdOQHAykT1dbfxipsFVeb0MmTEfYfZ+EPJdAweXPBHyYc5iL 92tlFkYwEqKxSSS2i0dGI1Fr+3ID3LyBWyiAo2a251TXlhHNxaTe2UGhYtza3MZRL5gq xlku5VO7OqE5tTwisyg3krHEWVUCyedCtyyS0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=e2Y92N4aDrtNs9Y2lS1QnUurirgsSJVQqNqGdOKXM56uJD5xbBjsRhuzo2AxJOJdgY g4TUgYHo4XU8XXetSSxUNBfK+5qjThhYajuNudcHJtUaIcu0FruzIoUwhlWHHqareO3d whup9ro6Qa2O/JXGY1yf3Hd3KN9i/5PZ2C8Lc= Original-Received: by 10.210.12.13 with SMTP id 13mr1624583ebl.12.1233087381168; Tue, 27 Jan 2009 12:16:21 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61712 Archived-At: On Tue, Jan 27, 2009 at 21:07, Tim Visher wrote: > (add-to-list 'load-path (expand-file-name "~/.emacs.d")) > > But that had no effect. I would like behaviour similar to site-lisp > where all of the trees under site-lisp are automitacally added. Any > way I can do this? After adding ~/.emacs.d to load path, try adding a subdirs.el file to ~/.emacs.d with the following contents: ;; -*- no-byte-compile: t -*- (if (fboundp 'normal-top-level-add-subdirs-to-load-path) (normal-top-level-add-subdirs-to-load-path)) Juanma