From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Z Newsgroups: gmane.emacs.help Subject: Inherit the path environment from .bash_profile (Mac OS 10.5) Date: Fri, 6 Aug 2010 11:17:17 +0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016364c7819a2d28b048d1f1a04 X-Trace: dough.gmane.org 1281064669 19257 80.91.229.12 (6 Aug 2010 03:17:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 Aug 2010 03:17: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 Fri Aug 06 05:17:48 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 1OhDRM-00086T-6t for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Aug 2010 05:17:48 +0200 Original-Received: from localhost ([127.0.0.1]:36426 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OhDRL-00031l-K6 for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Aug 2010 23:17:47 -0400 Original-Received: from [140.186.70.92] (port=36765 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OhDQt-0002zu-8f for help-gnu-emacs@gnu.org; Thu, 05 Aug 2010 23:17:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OhDQs-0001WZ-Aa for help-gnu-emacs@gnu.org; Thu, 05 Aug 2010 23:17:19 -0400 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:61398) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OhDQs-0001WQ-4M for help-gnu-emacs@gnu.org; Thu, 05 Aug 2010 23:17:18 -0400 Original-Received: by fxm20 with SMTP id 20so3947201fxm.0 for ; Thu, 05 Aug 2010 20:17:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=GmJDxq8PVz4mYTRGYIJdzI8Th/NRGVrOwjMEPencUOw=; b=blAt0eThO2Il0WT+Ao4cL/w0H1T3Xz+SYP34GKwpjd3quU0p4ykT33oMd8zJGds9xc cwXzfNgHnNy+psSSqLATjbAZb0Ly/mw8ZT3YMS8CsXxwXd94OVFN+9TJGyz6ZE+haxNo il9yIcYKhm+aIOUo+JzrclMNhliLK3XBbMZvo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=W6oOPokGUvFzUNl3EQ9p18OIPZmshdIMAI5UuFvqSosvZIhT94903/E6m0zPr+/5b5 +6HGoW2/hEkw6PxFY+SH8fG0yBgH4r1/f25/98IKOpv6VcG+WFCmwbfr/efMQ26G4Vkj bv6qg0HZJ2ivydhw+pptkl7vVTZ4VuI1D03MU= Original-Received: by 10.103.219.10 with SMTP id w10mr992488muq.40.1281064637222; Thu, 05 Aug 2010 20:17:17 -0700 (PDT) Original-Received: by 10.103.108.14 with HTTP; Thu, 5 Aug 2010 20:17:17 -0700 (PDT) X-Google-Sender-Auth: GKcTm0j-Kx45HOLMbLFV2M372Kg X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:74464 Archived-At: --0016364c7819a2d28b048d1f1a04 Content-Type: text/plain; charset=ISO-8859-1 Hello, Is there a way to inherit the path environments of .bash_profile, when we lance emacs directly from the dock of Macs? In fact, I am using Mac OS X 10.5. I launch carbon emacs from the dock (which is the icons list normally at the bottom of the screen) . Then, if I invoke a shell from within emacs, it does not inherit the path environment defined at .bash_profile ! So in my case, how can I achieve this inheritance of path environments? Maybe it suffices to add something at the initialization file .emacs? Thank you for your ideas. Z. -- Zhoulai FU INRIA Rennes - Bretagne Atlantique Campus Universitaire de Beaulieu 35042 RENNES Cedex - FRANCE --0016364c7819a2d28b048d1f1a04 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

Is there a way to inherit the pat= h environments of .bash_profile, when we lance emacs directly from the dock= of Macs?

In fact, I am using Mac OS X 10.5. I launch carbon emacs f= rom the dock (which is the icons list normally at the bottom of the screen)= . Then, if I invoke a shell from within emacs, it does not inherit the pat= h environment defined at .bash_profile !

So in my case, how can I achieve this inheritance of path environments?= Maybe it suffices to add something at the initialization file .emacs?
<= br>Thank you for your ideas.

Z.

=A0



--
Zhoulai FU

INRIA Renne= s - Bretagne Atlantique
Campus Universitaire de Beaulieu
35042 RENNES= Cedex - FRANCE



--0016364c7819a2d28b048d1f1a04--