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: Dmitry Gutov
Subject: Re: Cannot use `vc-annotate' on OS X
Date: Sun, 02 Jun 2013 20:47:39 +0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt)

Eli Zaretskii <eliz@gnu.org> writes:

>> 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.

Sounds like the problem described in and apparently solved by
https://github.com/purcell/exec-path-from-shell



reply via email to

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