From: "Young, Ed" <Ed_Young@cable.comcast.com>
To: Perry Smith <pedzsan@gmail.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: How to make emacs path aware on MacOSX
Date: Thu, 14 Apr 2011 02:17:55 +0000 [thread overview]
Message-ID: <C9CBB462.4059%ed_young@cable.comcast.com> (raw)
In-Reply-To: <29BF0E4E-8FAC-401F-9A22-97B2C0A25F9F@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1836 bytes --]
Thanks for the reply.
I must not have the environment syntax right.
I was able to set the path by adding in individual path elements like this:
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/comcast/software/groovy/current/bin:/opt/comcast/software/grails/current/bin:/usr/local/git/bin:/usr/X11/bin:/opt/comcast/software/gradle/current/bin
But what I wanted to do was to set up some environment variables and include them in the path so as to shorten it:
SW_HOME /opt/summitbid/software
GROOV_HOME $SW_HOME/groovy/currrent
Path …:$GROOVY_HOME:/bin
But GROOVY_HOME never resolves to the actual path.
From: Perry Smith <pedzsan@gmail.com<mailto:pedzsan@gmail.com>>
Date: Wed, 13 Apr 2011 15:58:47 -0500
To: Edward Young <ed_young@cable.comcast.com<mailto:ed_young@cable.comcast.com>>
Cc: "help-gnu-emacs@gnu.org<mailto:help-gnu-emacs@gnu.org>" <help-gnu-emacs@gnu.org<mailto:help-gnu-emacs@gnu.org>>
Subject: Re: How to make emacs path aware on MacOSX
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.
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
[-- Attachment #2: Type: text/html, Size: 3838 bytes --]
next prev parent reply other threads:[~2011-04-14 2:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-13 12:14 How to make emacs path aware on MacOSX Young, Ed
2011-04-13 20:53 ` Edward O'Connor
2011-04-13 20:58 ` Perry Smith
2011-04-13 23:00 ` Peter Dyballa
2011-04-14 2:17 ` Young, Ed [this message]
2011-04-14 9:05 ` Peter Dyballa
2011-04-14 12:19 ` Young, Ed
2011-04-14 14:18 ` Peter Dyballa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C9CBB462.4059%ed_young@cable.comcast.com \
--to=ed_young@cable.comcast.com \
--cc=help-gnu-emacs@gnu.org \
--cc=pedzsan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.