* Configure the package manager to sync with `load-path
@ 2012-09-20 5:27 Avery Chan
2012-09-20 6:48 ` Tassilo Horn
2012-10-19 3:01 ` Kevin Rodgers
0 siblings, 2 replies; 3+ messages in thread
From: Avery Chan @ 2012-09-20 5:27 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 880 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1625 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Configure the package manager to sync with `load-path
2012-09-20 5:27 Configure the package manager to sync with `load-path Avery Chan
@ 2012-09-20 6:48 ` Tassilo Horn
2012-10-19 3:01 ` Kevin Rodgers
1 sibling, 0 replies; 3+ messages in thread
From: Tassilo Horn @ 2012-09-20 6:48 UTC (permalink / raw)
To: help-gnu-emacs
Avery Chan <avery@ootbdev.com> writes:
> 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?
If you mean `M-x package-list-packages RET' with package manager, which
seems likely given the ~/.emacs.d/elpa/ path below, then this should
happen automatically.
> version: GNU Emacs 24.0.92.1 (i386-apple-darwin11.2.0, NS
> apple-appkit-1138.23) of 2011-12-14
Maybe you could try a recent released version of emacs (24.1, 24.2)
instead of some outdated snapshot?
Bye,
Tassilo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Configure the package manager to sync with `load-path
2012-09-20 5:27 Configure the package manager to sync with `load-path Avery Chan
2012-09-20 6:48 ` Tassilo Horn
@ 2012-10-19 3:01 ` Kevin Rodgers
1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2012-10-19 3:01 UTC (permalink / raw)
To: help-gnu-emacs
On 9/19/12 11:27 PM, Avery Chan wrote:
> 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?
Not recursively, but you can do this:
(let ((default-directory "~/emacs.d/elpa"))
(normal-top-level-add-subdirs-to-load-path))
--
Kevin Rodgers
Denver, Colorado, USA
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-10-19 3:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-20 5:27 Configure the package manager to sync with `load-path Avery Chan
2012-09-20 6:48 ` Tassilo Horn
2012-10-19 3:01 ` Kevin Rodgers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).