From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ben Key Newsgroups: gmane.emacs.devel Subject: exec-path question Date: Fri, 25 Feb 2011 21:51:56 -0600 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e6daa8145e4992049d275f5b X-Trace: dough.gmane.org 1298692568 21594 80.91.229.12 (26 Feb 2011 03:56:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 26 Feb 2011 03:56:08 +0000 (UTC) To: Emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 26 04:56:02 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PtBEK-0006M5-BR for ged-emacs-devel@m.gmane.org; Sat, 26 Feb 2011 04:56:01 +0100 Original-Received: from localhost ([127.0.0.1]:38618 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PtBDv-0000Gj-UE for ged-emacs-devel@m.gmane.org; Fri, 25 Feb 2011 22:53:39 -0500 Original-Received: from [140.186.70.92] (port=56221 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PtBDC-00009v-Sf for Emacs-devel@gnu.org; Fri, 25 Feb 2011 22:53:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PtBCb-0005gz-Qw for Emacs-devel@gnu.org; Fri, 25 Feb 2011 22:52:18 -0500 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:58232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PtBCb-0005go-JC for Emacs-devel@gnu.org; Fri, 25 Feb 2011 22:52:17 -0500 Original-Received: by bwz17 with SMTP id 17so2927617bwz.0 for ; Fri, 25 Feb 2011 19:52:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=Cjce3PTocvJADa7kx1vkM+8wAiFWUPW5UuHg/LF7eNY=; b=OjW0lOCxGYRfXG1jC9wRTmVpiIEVRzbrS0VdSD5YkjNGfMltx/NpM5MN2ULxxY9TR1 EdtKqxTF6abDn2XPAtkwhrImKUCDwCx/vuRFsQrjAhTnEOhOlJ/cLE9thlHAKH2cCOcq Pf1GJD4GR5QmOnzi3H0RBb/gE7mZpI+icTSMA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=xs0e88dQPLp+upkY0WDCpeatUnul7USuqn3o/9/t5/+y3GNEpn23hcbcJTxgf4UFgm qABDEA05aa8dYtWYbTeJmNLQ3HENl30lqSbSuq2PUhqInlgx6D57LDr88E/zh+M4xpbG ow2Cnv/buq0g8r/F/MiZ7RcOAUwH2XZI2l2k0= Original-Received: by 10.204.45.166 with SMTP id e38mr2698974bkf.61.1298692336142; Fri, 25 Feb 2011 19:52:16 -0800 (PST) Original-Received: by 10.204.25.81 with HTTP; Fri, 25 Feb 2011 19:51:56 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:136539 Archived-At: --0016e6daa8145e4992049d275f5b Content-Type: text/plain; charset=ISO-8859-1 Hello, I have a question about the exec-path variable. I am using the Nextstep build of Emacs on Mac OS X 10.6.6. In both Emacs 23.2 and Emacs 24.0, the "/usr/local/bin" directory is not included in the list, even though it is included in my PATH environment variable. In Emacs 23.2, the exec-path variable has the value ("/usr/bin" "/bin" "/usr/sbin" "/sbin" "/Applications/Emacs.app/Contents/MacOS/bin"). In Emacs 24, the exec-path variable has the value ("/usr/bin" "/bin" "/usr/sbin" "/sbin" "/Applications/Emacs24.app/Contents/MacOS/bin"). In Emacs 24 the following additional information is provided. Original value was ("/usr/bin" "/bin" "/usr/sbin" "/sbin" "/usr/local/bin" "/usr/X11/bin" "/Users/bkey/src/emacs/trunk/lib-src" "/Users/bkey/src/emacs/trunk/nextstep/Emacs.app/Contents/MacOS//libexec/emacs/24.0.50/x86_64-apple-darwin10.6.0") It looks like, at least in Emacs 24, the "/usr/local/bin" directory is initially included in the exec-path but is latter removed for some reason. In both versions of Emacs, the "/usr/local/bin" directory is included in the path if I run Emacs from the command line using the full path to the Emacs executable. It is also included in the path if am debugging Emacs using GDB so I at a loss as to how best to discover the cause of the problem. I only get the problem if I start Emacs using the icon in the Applications menu, which is my preferred method of starting Emacs. I need the "/usr/local/bin" directory to be included in my exec-path because I wish to use the ispell function and my hunspell executable is located there. I know I can simply modify my .emacs file to add the "/usr/local/bin" directory to the exec-path, but I should not have to do that. Emacs should not be removing this directory from the exec-path. Does anyone have any idea how I should go about tracking down the cause of this problem? --0016e6daa8145e4992049d275f5b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

I have a question about the exec-path variab= le.=A0 I am using the Nextstep build of Emacs on Mac OS X 10.6.6.=A0 In bot= h Emacs 23.2 and Emacs 24.0, the "/usr/local/bin" directory is no= t included in the list, even though it is included in my PATH environment v= ariable.=A0 In Emacs 23.2, the exec-path variable has the value ("/usr= /bin" "/bin" "/usr/sbin" "/sbin" "/= Applications/Emacs.app/Contents/MacOS/bin").=A0 In Emacs 24, the exec-= path variable has the value ("/usr/bin" "/bin" "/u= sr/sbin" "/sbin" "/Applications/Emacs24.app/Contents/Ma= cOS/bin").=A0 In Emacs 24 the following additional information is prov= ided.

Original valu= e was ("/usr/bin" "/bin" "/usr/sbin" "/s= bin" "/usr/local/bin" "/usr/X11/bin" "/Users/= bkey/src/emacs/trunk/lib-src" "/Users/bkey/src/emacs/trunk/nextst= ep/Emacs.app/Contents/MacOS//libexec/emacs/24.0.50/x86_64-apple-darwin10.6.= 0")

It looks like, at least in Emacs 24, the
= "/usr/local/bin" directory is initially included= in the exec-path but is latter removed for some reason.

In both versions of Emacs, the=A0 "/usr/local/bin" directory is i= ncluded in the path if I run Emacs from the command line using the full pat= h to the Emacs executable.=A0 It is also included in the path if am debuggi= ng Emacs using GDB so I at a loss as to how best to discover the cause of t= he problem.=A0 I only get the problem if I start Emacs using the icon in th= e Applications menu, which is my preferred method of starting Emacs.

I need the "/usr/local/bin" directory to be included in my ex= ec-path because I wish to use the ispell function and my hunspell executabl= e is located there.=A0 I know I can simply modify my .emacs file to add the= "/usr/local/bin" directory to the exec-path, but I should not ha= ve to do that.=A0 Emacs should not be removing this directory from the exec= -path.

Does anyone have any idea how I should go about tracking down the cause= of this problem?

--0016e6daa8145e4992049d275f5b--