From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: ESS/Matlab Path in Cocoa Emacs Date: Sat, 25 Dec 2010 11:32:14 +0100 Message-ID: References: <81FF9CD0-F958-41C4-B8C9-BC9C4BD653AD@gmail.com> <9E0C344F-F051-4E0B-9D92-BD40CFD05610@Web.DE> <5F78B08B-BB4A-4B10-BE7C-955C786BA309@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1293273251 871 80.91.229.12 (25 Dec 2010 10:34:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 25 Dec 2010 10:34:11 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Harold Pimentel Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 25 11:34:06 2010 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 1PWRRu-0003Us-CD for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Dec 2010 11:34:06 +0100 Original-Received: from localhost ([127.0.0.1]:42864 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PWRRt-0001Mk-Sr for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Dec 2010 05:34:05 -0500 Original-Received: from [140.186.70.92] (port=35533 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PWRRU-0001MZ-S7 for help-gnu-emacs@gnu.org; Sat, 25 Dec 2010 05:33:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PWRRT-00007N-Ja for help-gnu-emacs@gnu.org; Sat, 25 Dec 2010 05:33:40 -0500 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:39036) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PWRRT-000077-BS for help-gnu-emacs@gnu.org; Sat, 25 Dec 2010 05:33:39 -0500 Original-Received: from smtp01.web.de ( [172.20.0.243]) by fmmailgate03.web.de (Postfix) with ESMTP id 63C921811CEA0; Sat, 25 Dec 2010 11:32:15 +0100 (CET) Original-Received: from [91.35.184.109] (helo=[192.168.1.2]) by smtp01.web.de with asmtp (WEB.DE 4.110 #2) id 1PWRQ7-0000xO-00; Sat, 25 Dec 2010 11:32:15 +0100 In-Reply-To: <5F78B08B-BB4A-4B10-BE7C-955C786BA309@gmail.com> X-Mailer: Apple Mail (2.936) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX19J/5uPHae6NyzsQm/XGCneCHEpqU1VKPJrwLg1 ckKwXZTqlkAZMmcrqFs89AEVSkxigSXFBw9+FQFKbstQOBMIbf 7PUBNJZm8Zt7mYEkuPnA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 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:77878 Archived-At: Am 25.12.2010 um 10:46 schrieb Harold Pimentel: > Do you know why AquaMacs or http://vgoulet.act.ulaval.ca/en/ressources/emacs/ > detect my BASH path correctly, but Cocoa does not? I'm guessing > there is some plist file somewhere in the distribution? No, I don't know (except that AquaMacs is using some hack). What I know is that in Mac OS X processes are not launched as in other UNICes with the aid of a shell. Outside of Mac OS X these processes inherit (almost) the same environment as your interactive command shell (almost, because bash allows to set up the interactive environment differently from the one for batch use). You can achieve a bit with / private/etc/bashrc, I think. In Snow Leopard, Mac OS X 10.6, /private/ etc/paths.d (and /private/etc/manpaths.d) are provided to give you lots of time to go shopping while logging in... (this is my experience with this scheme in Mac OS X 10.5, Leopard) The working way, since the times of the NeXT Cube, is ~/.MacOSX/ environment.plist. Because *all* processes inherit their environment from this file. -- Greetings Pete To most people solutions mean finding the answers. But to chemists solutions are things that are still all mixed up.