From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gnutux Newsgroups: gmane.emacs.help Subject: Re: add directories to load-path Date: Tue, 15 Sep 2009 16:22:34 +0900 Message-ID: <8463bky8n9.wl%tuxliste@gmail.com> References: <87zl8w3h26.fsf@online.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1253077248 891 80.91.229.12 (16 Sep 2009 05:00:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Sep 2009 05:00:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 16 07:00:41 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 1MnmdF-0006Og-3s for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Sep 2009 07:00:41 +0200 Original-Received: from localhost ([127.0.0.1]:39367 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MnmdE-0006tt-MF for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Sep 2009 01:00:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MnSNC-0003LY-0l for help-gnu-emacs@gnu.org; Tue, 15 Sep 2009 03:22:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MnSN7-0003Ij-Ds for help-gnu-emacs@gnu.org; Tue, 15 Sep 2009 03:22:45 -0400 Original-Received: from [199.232.76.173] (port=44150 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MnSN7-0003Ig-6B for help-gnu-emacs@gnu.org; Tue, 15 Sep 2009 03:22:41 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:17064) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MnSN5-0004wo-K8 for help-gnu-emacs@gnu.org; Tue, 15 Sep 2009 03:22:39 -0400 Original-Received: from mail-yw0-f178.google.com ([209.85.211.178]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MnSN4-0008J7-Q5 for help-gnu-emacs@gnu.org; Tue, 15 Sep 2009 03:22:38 -0400 Original-Received: by ywh8 with SMTP id 8so6149028ywh.14 for ; Tue, 15 Sep 2009 00:22:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:message-id:from:to :newsgroups:subject:in-reply-to:references:user-agent:mime-version :content-type; bh=ywpNHqBBrWTkdNmykJ8wSN0F3OSl7utrRj+wKAEB7xA=; b=UMoxHBcuL/siwZRP9pg5dQ+Bk1bwHIjcrrhiDxvMhLPVYUdZkPpcFDNrLX0/nDndPm KoiTBGGQCkOJmANpUUcM5DAGxC4+MhBjREyEaOrH9LzphbBocioGkyB4JDyD9DMTO6Vm ajDWrpuYun2P+Mfu3/8Pvm3UdLYS1wXwjR+EY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:message-id:from:to:newsgroups:subject:in-reply-to:references :user-agent:mime-version:content-type; b=gtwhwlOYgUrQsbbrQWtiJi2tExuIT2GLVOgogsu+zy38TYaWluvde+BZSL2R4IWY9x ekQRIpDIDvSj4k2ya9wtfUZC9mkp3k8i9s4QbY/8XSOW8Zzf/1gSwIDNM3FSZOSHAzqw yAFAz2kbi3YDBZKpm3fIQISIhLNE/wBEOawDU= Original-Received: by 10.91.191.17 with SMTP id t17mr4437854agp.51.1252999358088; Tue, 15 Sep 2009 00:22:38 -0700 (PDT) Original-Received: from aist-bt.gmail.com ([150.82.207.232]) by mx.google.com with ESMTPS id 2sm1504814agd.67.2009.09.15.00.22.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 15 Sep 2009 00:22:37 -0700 (PDT) Original-Newsgroups: gnu.emacs.help In-Reply-To: <87zl8w3h26.fsf@online.de> User-Agent: Wanderlust/2.15.7 (Almost Unreal) X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Wed, 16 Sep 2009 00:43:41 -0400 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:68189 Archived-At: Taken from http://emacs-fu.blogspot.com or from djcb's dot emacs (thanks by the way), I have the following in my init.el ; Load all recursively all folders (defconst elisp-path '("~/.emacs.d")) (mapcar '(lambda(p) (add-to-list 'load-path p) (cd p) (normal-top-level-add-subdirs-to-load-path)) elisp-path)