From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Avery Chan Newsgroups: gmane.emacs.help Subject: Configure the package manager to sync with `load-path Date: Thu, 20 Sep 2012 13:27:17 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="505aa935_153ea438_795" X-Trace: ger.gmane.org 1348121665 6694 80.91.229.3 (20 Sep 2012 06:14:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Sep 2012 06:14:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 20 08:14:30 2012 Return-path: Envelope-to: geh-help-gnu-emacs@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 1TEa1t-0004Ak-Q0 for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Sep 2012 08:14:29 +0200 Original-Received: from localhost ([::1]:47042 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEa1p-0000xH-6D for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Sep 2012 02:14:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEZIQ-0007r8-Dh for help-gnu-emacs@gnu.org; Thu, 20 Sep 2012 01:27:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEZIP-0005uI-4T for help-gnu-emacs@gnu.org; Thu, 20 Sep 2012 01:27:30 -0400 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:45694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEZIO-0005u8-US for help-gnu-emacs@gnu.org; Thu, 20 Sep 2012 01:27:29 -0400 Original-Received: by pbbro12 with SMTP id ro12so4701487pbb.0 for ; Wed, 19 Sep 2012 22:27:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:message-id:subject:x-mailer:mime-version:content-type :x-gm-message-state; bh=mqbMPbcWxaUxehCpwTNkrxvKQ7J5b4IgbIZG2sqoduw=; b=jpsGm4JNCEx7xbhQ5v5wdaM/Ih6ivp600FSE59BywFZc6PeelD0JEdgxlrkJG9LmzC FSoBrWM+dS0uoO+wKUz7uJPhu6PH5zpwvNw2mow8PMwt9Ec/TS+DBLjahx/jwHvZ9euq vhNEcHryJ3pCxxLMb7lPOI8Hlv5wQzWn5GjfeEaFL09kqGyq40IRENgqp5hqzdnTqG9m FUoalAG8nhQp1TP0JlBxNk+pvjm1Es/PZDD83uhzHFhdldIaD7fWmBbv/HbCbotTj9XL 6nr8eMrY4jarA7iIoPoW8TBaqfniFDYNm5NPeo/U7h64xRlylRrL93Utx0sjFqKi+RUC YMXw== Original-Received: by 10.66.78.6 with SMTP id x6mr2579353paw.41.1348118847239; Wed, 19 Sep 2012 22:27:27 -0700 (PDT) Original-Received: from [10.119.2.26] ([64.69.46.146]) by mx.google.com with ESMTPS id ka4sm2956214pbc.61.2012.09.19.22.27.23 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 19 Sep 2012 22:27:25 -0700 (PDT) X-Mailer: sparrow 1.6.3 (build 1172) X-Gm-Message-State: ALoCoQkLq1pCHSOxxZ2aVp8NHx9tN4dbMyBOg+EnD2uWhIJ3WtZVNC0mfKZXPqVI+IzZ0/57NUYJ X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.41 X-Mailman-Approved-At: Thu, 20 Sep 2012 02:14:20 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86842 Archived-At: --505aa935_153ea438_795 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline I have the package manager download packages but I'm having to set my load path to each of the individually downloaded packages. Is there a way to have my load-path set so that I don't have to manually configure my .emacs file each time? For example: I install color-themes via the package manager. It is installed at the following path: /Users/achan/.emacs.d/elpa/color-theme-6.5.5/ In order to successfully add: (require 'color-theme) to my .emacs file, I need to add-on (add-to-list 'load-path "~/.emacs.d/elpa/color-theme-20080305.834") for each package that I install. Is there a way to set load-path to recursively scan so I don't have to do this? Thanks! Avery version: GNU Emacs 24.0.92.1 (i386-apple-darwin11.2.0, NS apple-appkit-1138.23) of 2011-12-14 -- Avery Chan | Co-founder ootbdev.com --505aa935_153ea438_795 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
I have the package manager download packages but I'm= having to set my load path to each of the individually downloaded packag= es. Is there a way to have my load-path set so that I don't have to manua= lly configure my .emacs file each time=3F

=46or example:

I install color-themes via the package manager. It is installed = at the following path:
/Users/achan/.emacs.d/elpa/color-theme-6= .5.5/

In order to successfully add:
(require 'color-theme)

to my .emacs= file, I need to add-on

(add-to-list 'load-= path =22=7E/.emacs.d/elpa/color-theme-20080305.834=22)     &nbs= p;                     =                     &nb= sp;                  
<= div>
for each package that I install. Is there a way to set= load-path to recursively scan so I don't have to do this=3F
<= div>
Thanks=21

Avery
version: GNU Emacs 24.0.92.1 (i386-apple-darwin11.2.0, N= S apple-appkit-1138.23) of 2011-12-14
-- 
A= very Chan =7C Co-founder
ootbdev.com

=
--505aa935_153ea438_795--