unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Cannot use `vc-annotate' on OS X
Date: Sun, 02 Jun 2013 18:11:34 +0300	[thread overview]
Message-ID: <83sj10zgwp.fsf@gnu.org> (raw)
In-Reply-To: <CAAF+z6EcJppTWXDhyxP-P=nc58cf_Mo9csOpyJv7iivCOGp3vw@mail.gmail.com>

> 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	other threads:[~2013-06-02 15:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-02  1:26 Cannot use `vc-annotate' on OS X Xue Fuqiao
2013-06-02  2:50 ` Eli Zaretskii
2013-06-02  3:05   ` Xue Fuqiao
2013-06-02 15:11     ` Eli Zaretskii [this message]
2013-06-02 16:47       ` Dmitry Gutov
2013-06-03 23:00         ` Xue Fuqiao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83sj10zgwp.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).