From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: queries0 Newsgroups: gmane.emacs.help Subject: Re: MAC OSX Emacs does not find PATH Date: Mon, 5 Apr 2010 19:47:45 -0700 (PDT) Organization: http://groups.google.com Message-ID: <1db3ff4d-e907-42c9-9c32-11e339a433bb@q15g2000yqj.googlegroups.com> References: <54cea182-c0db-41dd-b835-0b9268d2acb0@n34g2000yqb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1273003614 29885 80.91.229.12 (4 May 2010 20:06:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 May 2010 20:06:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 04 22:06:51 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@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 1O9ON3-0003wj-Ca for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 22:06:47 +0200 Original-Received: from localhost ([127.0.0.1]:40807 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9OMx-0003mu-6X for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 16:05:27 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!q15g2000yqj.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: 166.84.147.210 Original-X-Trace: posting.google.com 1270522066 15945 127.0.0.1 (6 Apr 2010 02:47:46 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 6 Apr 2010 02:47:46 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: q15g2000yqj.googlegroups.com; posting-host=166.84.147.210; posting-account=3MXXGgoAAACgnjMdPtToqZVH8F6rAZdl User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.7 Safari/533.2, gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:177649 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73123 Archived-At: On Apr 5, 6:21=A0pm, Harald Hanche-Olsen wrote: > + "Daniel (Youngwhan)" : > > > On Apr 5, 6:21=A0am, Harald Hanche-Olsen wrote: > >> + "Daniel (Youngwhan)" : > > >> > I [...] and found that > > >> > defaults write $HOME/.MacOSX/environment PATH "$PATH" > > >> > will make it work, but in my case, it does not work at all. > > >> Did you remember to log out and back in afterwards? > > > Of course, I did, but no luck. > > I think something is odd with your mac setup, not with emacs. > Try locating your Finder process (ps uxww | grep Finder) and inspect its > environment with =A0ps eww PID, =A0where PID is the pid of your Finder > process. If the PATH value you set in .MacOSX/environment is not present > in the output, this is not an emacs problem, and you're better off > asking in a mac newsgroup. For what it's worth, I am running Emacs 22.3.1 on OS X 10.6.3 and I am having (and have had under previous OS versions) similar problems to Daniels's. In the Emacs shell, my .zshrc and .zshenv customizations (my login shell is /bin/zsh) are not recognized, even if I explicitly $ source ~/ zsh* the files. My workaround is to use either Terminal.app or an X windows terminal, but I agree that it would be much better if Emacs recognized my default shell, and its customizations.