unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Daniel (Youngwhan)" <breadncup@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: MAC OSX Emacs does not find PATH
Date: Mon, 5 Apr 2010 01:10:04 -0700 (PDT)	[thread overview]
Message-ID: <54cea182-c0db-41dd-b835-0b9268d2acb0@n34g2000yqb.googlegroups.com> (raw)

Hello,

I am using GNU Emacs 23.1.95.1 (x86_64-apple-darwin, NS apple-
appkit-1038.29) of 2010-04-03 on black.local in MAC OSX (intel)

And, I found that it does not recognize added PATH in bash/
environment.plist at all.

I googled it, and found that

defaults write $HOME/.MacOSX/environment PATH "$PATH"

will make it work, but in my case, it does not work at all.

I tried

defaults write -globalDomain PATH "$PATH"

but no luck.

I tried insert /etc/profile, /etc/bashrc, $HOMW/.emacs_bash, but no
luck too.

When it goes shell mode, PATH is showing correctly when (setenv "PATH"
path) is being set in .emacs, but while using cscope, it says it
cannot find cscope which is in /opt/local/bin where should be added.

When I launch it through terminal, it works as expected.

Is there any body how I can resolve this one, please?

Thanks,

Daniel


             reply	other threads:[~2010-04-05  8:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-05  8:10 Daniel (Youngwhan) [this message]
2010-04-05 13:21 ` MAC OSX Emacs does not find PATH Harald Hanche-Olsen
2010-04-05 14:47   ` Daniel (Youngwhan)
2010-04-05 22:16     ` Harald Hanche-Olsen
2010-04-05 22:21     ` Harald Hanche-Olsen
2010-04-06  2:47       ` queries0
2010-04-06  3:53       ` Daniel (Youngwhan)
2010-04-06  8:17 ` Stefan Kamphausen
2010-04-06 14:32   ` Daniel (Youngwhan)

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54cea182-c0db-41dd-b835-0b9268d2acb0@n34g2000yqb.googlegroups.com \
    --to=breadncup@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).