technomancy/emacs-starter-kit — Issue #109: packages from elpa appears in load-path after user-specific configuration
Author: eoranged
Created: 2011-11-19 20:58:38+00:00
State: open

The problem is when I'm adding something like

(require 'color-theme)

to my ~/.emacs.d/eoranged.el (assuming eoranged is my username), I see error message during startup like this:

Warning (initialization): An error occurred while loading `/home/eoranged/.emacs.d/init.el':
File error: Cannot open load file, color-theme

The problem is not only with color-theme, but with any package, which is not loaded by starter-kit itself.
I'm not elisp guru, but looks like that packages from ~/.emacs.d/elpa are appears in load-path only after eoranged.el (and el/org files in ~/.emacs.d/eoranged/ directory).
For now I've moved lots of mode-specific requirements to module-hooks and it works for me, but things like color-scheme, autopair and others are global (I want them to be) and I do not want to create hooks for each mode to load it.
I like starter-kit's way, but this thing looks strange for me.

Some information, which may be useful:

* I'm using GNU Emacs 24.0.91.1 from Ubuntu's PPA https://launchpad.net/~cassou/+archive/emacs (oneiric), found on http://emacs.naquadah.org/
* emacs-starter-kit is installed with package.el from marmalade repo.

Thanks in advance,
Vladimir.