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: Inherit the path environment from .bash_profile (Mac OS 10.5) Date: Fri, 6 Aug 2010 10:47:51 +0200 Message-ID: <00986741-2EF9-49E3-8148-0584E62C3E66@Web.DE> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1281084517 4050 80.91.229.12 (6 Aug 2010 08:48:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 Aug 2010 08:48:37 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Z Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 06 10:48:36 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 1OhIbT-0007ev-1g for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Aug 2010 10:48:35 +0200 Original-Received: from localhost ([127.0.0.1]:38274 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OhIbS-0005Od-AX for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Aug 2010 04:48:34 -0400 Original-Received: from [140.186.70.92] (port=60382 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OhIav-0005OG-94 for help-gnu-emacs@gnu.org; Fri, 06 Aug 2010 04:48:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OhIaq-0004i4-LD for help-gnu-emacs@gnu.org; Fri, 06 Aug 2010 04:48:01 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:49797) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OhIaq-0004ho-FV for help-gnu-emacs@gnu.org; Fri, 06 Aug 2010 04:47:56 -0400 Original-Received: from smtp07.web.de ( [172.20.5.215]) by fmmailgate03.web.de (Postfix) with ESMTP id 3C1A315D054C6; Fri, 6 Aug 2010 10:47:54 +0200 (CEST) Original-Received: from [91.35.177.217] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (WEB.DE 4.110 #24) id 1OhIan-0005JM-00; Fri, 06 Aug 2010 10:47:54 +0200 In-Reply-To: X-Mailer: Apple Mail (2.936) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX18erSWYChq/Abqs5Q4ylXlaDMHIFm8BqXcnF7UQ VipyAD12lI9FakXkmxujmE+OS/R7s80A4jbWxlTFIhoD5cAz5c ivtXJkPWQ0CPnGbBSmHA== 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:74473 Archived-At: Am 06.08.2010 um 05:17 schrieb Z: > So in my case, how can I achieve this inheritance of path =20 > environments? Either use a shell script which launches Carbon Emacs or =20 translate .bash_profile's contents into Elisp =E0 la: (setenv "PATH" (concat "/some/directory" path-separator (getenv =20= "PATH"))) You can save some work by first investigating the value of process-=20 environment. A different method is composing a file ~/.MacOSX/environment.plist. It =20= sets the environment for all processes at boot time. Read more here: = http://developer.apple.com/qa/qa2001/qa1067.html=20 (also available via Xcode on disk: /Developer/Documentation/DocSets/=20= com.apple.ADC_Reference_Library.CoreReference.docset/Contents/=20 Resources/Documents/qa/qa2001/qa1232.html). -- Greetings Pete Hard Disk, n.: A device that allows users to delete vast quantities of data = with =20 simple mnemonic commands.