From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Cannot use `vc-annotate' on OS X Date: Sun, 02 Jun 2013 18:11:34 +0300 Message-ID: <83sj10zgwp.fsf@gnu.org> References: <83txlhz0mv.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1370185962 6273 80.91.229.3 (2 Jun 2013 15:12:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Jun 2013 15:12:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 02 17:12:42 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uj9xa-000762-8Q for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Jun 2013 17:12:42 +0200 Original-Received: from localhost ([::1]:45833 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uj9xZ-00005k-PQ for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Jun 2013 11:12:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uj9xK-0008Ub-Ij for help-gnu-emacs@gnu.org; Sun, 02 Jun 2013 11:12:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uj9xJ-0006mI-MP for help-gnu-emacs@gnu.org; Sun, 02 Jun 2013 11:12:26 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:50937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uj9xJ-0006mA-CJ for help-gnu-emacs@gnu.org; Sun, 02 Jun 2013 11:12:25 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MNR00800TMPSK00@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Sun, 02 Jun 2013 18:11:42 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MNR0086KU7H8UE0@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Sun, 02 Jun 2013 18:11:41 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91230 Archived-At: > Date: Sun, 2 Jun 2013 11:05:05 +0800 > From: Xue Fuqiao > Cc: help-gnu-emacs > > `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.