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: multiple load-paths? Date: Sat, 24 Nov 2007 16:57:40 +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 1195919896 1954 80.91.229.12 (24 Nov 2007 15:58:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Nov 2007 15:58:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 24 16:58:23 2007 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 1IvxOc-0003FX-JX for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Nov 2007 16:58:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvxOO-0005rU-4z for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Nov 2007 10:58:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvxO5-0005qb-PR for help-gnu-emacs@gnu.org; Sat, 24 Nov 2007 10:57:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvxO2-0005q6-WE for help-gnu-emacs@gnu.org; Sat, 24 Nov 2007 10:57:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvxO2-0005q2-Pf for help-gnu-emacs@gnu.org; Sat, 24 Nov 2007 10:57:42 -0500 Original-Received: from wa-out-1112.google.com ([209.85.146.179]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IvxO2-0000w6-1g for help-gnu-emacs@gnu.org; Sat, 24 Nov 2007 10:57:42 -0500 Original-Received: by wa-out-1112.google.com with SMTP id k34so175176wah for ; Sat, 24 Nov 2007 07:57:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=6neU+X6QnLKxKIftWh1Yq8PckKSpUzVLwAD9pTbwrwY=; b=PBkjOKFHECxdjSiuReIGSB8qo1Yg/DKlfxSU14Vkksp5y0hJ6/EdIYVfJ52nRKe4EnweinplnoCBrb1avKUMgGDGv8zjBVJWicjlvDsnSvfP9IV4ZX9H1LiURJ+qWrj9wLHDNcW9CjzhpQ8C2hQ06NoUHXeLHp/n2/O6NBfm1yE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OOp4QUr582aPU6r9PQ/firMgeCYVOBsnFvhIilszX0wF8jrA+jlGBYgjeiqo3s6HdCVIYYugZQwhjGxGC4cS4YSvf7WglsjZweKlYzl1Yzv7H5rrqpocerIg0okbuHsLO2VdWtOThNcG/lg/TgfeJbAu/aFL+7d/7aL3qp/BM6g= Original-Received: by 10.114.196.1 with SMTP id t1mr607878waf.1195919860224; Sat, 24 Nov 2007 07:57:40 -0800 (PST) Original-Received: by 10.114.168.11 with HTTP; Sat, 24 Nov 2007 07:57:40 -0800 (PST) In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: 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:49472 Archived-At: On Nov 24, 2007 4:30 PM, someusernamehere wrote: > (setq load-path (cons (expand-file-name "~/lisp") load-path)) > (setq load-path (cons (expand-file-name "~/repos") load-path)) > (setq load-path (cons (expand-file-name "~/testing") load-path)) > (setq load-path (cons (expand-file-name "~/elisp") load-path)) > > there is a way to do this more "posh" ?, I mean may be in one line o > something similar? You could do (dolist (dir '("lisp" "repos" "testing" "elisp")) (push (expand-file-name (concat "~/" dir)) load-path)) About the "poshiness" of it, that's you call :-) Juanma