bbatsov/emacs-prelude — Issue #48: Can't append to exec-path or env PATH
Author: jhenahan
Created: 2011-12-25 07:06:54+00:00
State: open

Or my emacs-fu is weak. In my usual init file, I have the following (ugly) lines:

(setenv "PATH" (concat "~/GHC/bin:/usr/local/bin:/usr/texbin:/usr/local/Cellar/ruby/1.9.3-p0/bin:/usr/local/share/python:" (getenv "PATH")))
(setq exec-path (append exec-path '("~/GHC/bin")) )
(setq exec-path (append exec-path '("/usr/local/bin")) )
(setq exec-path (append exec-path '("/usr/local/texbin")) )
(setq exec-path (append exec-path '("/usr/local/Cellar/ruby/1.9.3-p0/bin")) )
(setq exec-path (append exec-path '("/usr/local/share/python")) )

But when I (getenv PATH) or (describe-variable exec-path), these don't show up, which causes a couple of the other things in personal to throw up. Am I missing something?