help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot use `vc-annotate' on OS X


From: Eli Zaretskii
Subject: Re: Cannot use `vc-annotate' on OS X
Date: Sun, 02 Jun 2013 18:11:34 +0300

> Date: Sun, 2 Jun 2013 11:05:05 +0800
> From: Xue Fuqiao <xfq.free@gmail.com>
> Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
> 
> `F1 v exec-path RET':
>   exec-path is a variable defined in `C source code'.
>   Its value is
>   ("/usr/bin" "/bin" "/usr/sbin" "/sbin"
> "/Users/xfq/emacs-repo/bzr/trunk/nextstep/Emacs.app/Contents/MacOS/libexec"
> "/Users/xfq/emacs-repo/bzr/trunk/nextstep/Emacs.app/Contents/MacOS/bin")
> 
> `/usr/local/bin' isn't in it.  I'll add this path into my `.emacs',
> thank you.

Not a good idea, if you ask me.  Your exec-path and PATH outside of
Emacs should be in agreement (with the exception of the libexec
directory).  Otherwise, Emacs will be able to find files that the
shell cannot, or vice versa.

So I would suggest to figure out why the shell outside Emacs can find
what Emacs cannot, and fix whatever causes that, instead of simply
adding directories to exec-path.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]