I noticed something strange when calling C-h v (describe-variable
) on exec-path
today:
exec-path
is a variable defined in `C source code'.Its value is
("/usr/bin" ...)
Original value was
("/home/juergen/.opam/4.02.0/bin" "/home/juergen/.cabal/bin" "/usr/local/sbin" "/usr/local/bin" "/usr/bin" "/opt/google-appengine-java/bin" "/usr/lib/jvm/default/bin" "/usr/bin/site_perl" "/usr/bin/vendor_perl" "/usr/bin/core_perl" "/home/juergen/Android/ndk/" "/home/juergen/.gem/ruby/2.0.0/bin/" "/home/juergen/bin/" "/home/juergen/bin/gnome-terminal-colors-solarized" "/home/juergen/tmp/emacs/trunk/src/emacs-24.4/lib-src" "/usr/lib/emacs/24.4/x86_64-unknown-linux-gnu")
The thing is, there is no user called juergen
on my system.
Q: Is this the exec-path
of the user who originally compiled the Emacs binary I am using? If so, why does its value get carried over into a binary that is distributed to end users? Shouldn't exec-path
have a more generic default value (i.e., a value that doesn't include any /home/juergen
entries)?