From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Perry Smith Newsgroups: gmane.emacs.help Subject: Re: How to make emacs path aware on MacOSX Date: Wed, 13 Apr 2011 15:58:47 -0500 Message-ID: <29BF0E4E-8FAC-401F-9A22-97B2C0A25F9F@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-4-151096993 X-Trace: dough.gmane.org 1302728342 14125 80.91.229.12 (13 Apr 2011 20:59:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Apr 2011 20:59:02 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: "Young, Ed" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 13 22:58:57 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QA79N-0008QR-Bk for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Apr 2011 22:58:57 +0200 Original-Received: from localhost ([::1]:51325 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA79M-0001hj-Pl for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Apr 2011 16:58:56 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA79H-0001he-TN for help-gnu-emacs@gnu.org; Wed, 13 Apr 2011 16:58:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QA79G-0000FZ-Ry for help-gnu-emacs@gnu.org; Wed, 13 Apr 2011 16:58:51 -0400 Original-Received: from mail-yw0-f41.google.com ([209.85.213.41]:55302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA79G-0000FT-Og for help-gnu-emacs@gnu.org; Wed, 13 Apr 2011 16:58:50 -0400 Original-Received: by yws5 with SMTP id 5so551609yws.0 for ; Wed, 13 Apr 2011 13:58:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to:x-mailer; bh=axAdgWYOsSaH2uN0gqGGxL/7ZP05BQD5NoxU0sABGtQ=; b=moF4g/FsExQ2N9tQ0GRPLP3PCQODE8GvHmwD4xp0fSYVimP/lvb2mKGsnpfkQplT5g I/c63CreSAr0/7WcFbjAI2rYJaUC9qTOgzHpeJ1v+bPoLWCpIJQw3k5QsPfL9qHKSba5 NvIHvMcFUdc3rJVTImZyF4qBFLZ6vHHe8/RB0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer; b=vM6uix15l2ZmmaJh0Y2Mon1qmmNXWykfITk2Zmw9Jx/Jr7MuqjozJJPtwu3S+96sUa lEuadfdZS6LI+tSRPXo+xTvb/4AJG3HO6rVFxAWTcTKPnRQSY6HvwkM7zFBIhYolltJl MHM64SE6naKw7RAMXUi8dwDIgVEp/gnqu/XRc= Original-Received: by 10.101.178.21 with SMTP id f21mr5658833anp.32.1302728329843; Wed, 13 Apr 2011 13:58:49 -0700 (PDT) Original-Received: from magicbook.austin.ibm.com ([32.97.110.54]) by mx.google.com with ESMTPS id b28sm918139anb.22.2011.04.13.13.58.48 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Apr 2011 13:58:49 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.213.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80781 Archived-At: --Apple-Mail-4-151096993 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Apr 13, 2011, at 7:14 AM, Young, Ed wrote: > Apologies if this is the wrong forum for this. If so please redirect = me.=20 >=20 > I am running emacs on MacOSX, installed from a DMG file.=20 >=20 > It works great, but it is not aware of my path, so I can't execute = commands like 'git' or 'svn' etc.=20 >=20 > How can I configure it to be aware of my path. I'm using the global = path variable file /etc/profile.=20 The Finder on the Mac (that starts emacs) doesn't look at /etc/profile, = etc. For a particular user, it does look at ~/.MacOSX/environment.plist Its a "property list" thing that is normal for Mac settings. You can = find it documented more on Mac forums and those kinds of places. e.g. http://developer.apple.com/library/mac/#qa/qa1067/_index.html If you are talking about shells started within emacs, thats a different = matter. HTH, pedz --Apple-Mail-4-151096993 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii
On Apr 13, 2011, at 7:14 AM, Young, Ed wrote:

Apologies if this is the wrong forum for this. If so please redirect me. 

I am running emacs on MacOSX, installed from a DMG file. 

It works great, but it is not aware of my path, so I can't execute commands like 'git' or 'svn' etc. 

How can I configure it to be aware of my path. I'm using the global path variable file /etc/profile. 

The Finder on the Mac (that starts emacs) doesn't look at /etc/profile, etc.  For a particular user, it does look at ~/.MacOSX/environment.plist

Its a "property list" thing that is normal for Mac settings.  You can find it documented more on Mac forums and those kinds of places.


If you are talking about shells started within emacs, thats a different matter.

HTH,
pedz

--Apple-Mail-4-151096993--