From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Daniel (Youngwhan)" Newsgroups: gmane.emacs.help Subject: Re: MAC OSX Emacs does not find PATH Date: Tue, 6 Apr 2010 07:32:55 -0700 (PDT) Organization: http://groups.google.com Message-ID: <0ad40ef0-da51-4695-91d9-448b011f85e8@g30g2000yqc.googlegroups.com> References: <54cea182-c0db-41dd-b835-0b9268d2acb0@n34g2000yqb.googlegroups.com> <87ochx2dwk.fsf@usenet.my.skamphausen.de> 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 1273003789 30596 80.91.229.12 (4 May 2010 20:09:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 May 2010 20:09:49 +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:09:48 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 1O9OQk-0005bx-Mb for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 22:09:47 +0200 Original-Received: from localhost ([127.0.0.1]:37348 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9OQ3-0005nb-KO for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 16:08:39 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!g30g2000yqc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 67 Original-NNTP-Posting-Host: 98.248.49.23 Original-X-Trace: posting.google.com 1270564375 23975 127.0.0.1 (6 Apr 2010 14:32:55 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 6 Apr 2010 14:32:55 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g30g2000yqc.googlegroups.com; posting-host=98.248.49.23; posting-account=1n6WnAoAAACbXH3nD5I7RQWqdkbTxZki User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:177653 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:73125 Archived-At: On Apr 6, 1:17=A0am, Stefan Kamphausen wrote: > Hi, > > "Daniel (Youngwhan)" writes: > > Hello, > > > I am using GNU Emacs 23.1.95.1 (x86_64-apple-darwin, NS apple- > > appkit-1038.29) of 2010-04-03 on black.local in MAC OSX (intel) > > > And, I found that it does not recognize added PATH in bash/ > > environment.plist at all. > > [...] > > > When I launch it through terminal, it works as expected. > > I am by no means an OSX expert, just unhappily stuck with that machine > for two years... > > AFAIK the PATH together with the rest of your environment depends on how > you start things.. > > * From a terminal using some shell-script which opens Emacs.app: > =A0 This will inherit the PATH from you shell environment, just as in > =A0 Linux, so ~/.bashrc /etc/profile etc all should work. > > * From the Dock using some Icon: > =A0 This becomes a child process of the window server and has no knowledg= e > =A0 of your shell environment. =A0It should read the environment plist yo= u > =A0 mentioned already, though. =A0Unfortunately there is no (easy) way to > =A0 keep PATH in ~/.bashrc and in env-plist in sync, you'll have to take > =A0 care of that yourself > > * From spotlight, i.e. Apple-Space, search for Emacs, start the App: > =A0 This is a direct child of the init-process, called launchd on OSX. > =A0 Well, this one reads neither /etc/profile nor env-plist, it is > =A0 controlled by some other conf-file in /etc, which I forgot. =A0Since > =A0 fiddling with that could lead to an unbootable system (as far as I ca= n > =A0 tell, that is) I stopped at that point, when I had problems with PATH= , > =A0 and just chose not to start Emacs (or Netbeans or whatever) using > =A0 spotlight. > > Ridiculous if you ask me, but then, I'm already through one year and for > me there's only one more left ;-) > > Cheers, > Stefan > -- > a blessed +42 regexp of confusion (weapon in hand) > You hit. The format string crumbles and turns to dust. > user=3D> (clojure-buch (Locale/GERMANY)) > # Great info, Stefan. Thank you, Actually, it has been two day's experience for mac for me. Just bought it and started to use mac for my life for the first time. :) However, I am familiar with linux, so it is very convenient to use it, and I like it. Thank you! Daniel.