[OS X Emacs] Environment variables and Aquamacs 2.0
David Reitter
david.reitter at gmail.com
Wed May 26 12:57:56 EDT 2010
George,
thanks for your kind words.
I'm interesting in fixing the problem in Aquamacs if there is any.
What is the value of `shell-file-name' in your Aquamacs?
Also, please have a look at your *Messages* buffer. For me, near the top, it says something like this:
"46 environment variables imported from login shell (/bin/bash)."
This should give you an indication of whether the import is working.
There is no need to use Environment.plist, especially not in 10.6 (this mechanism is obsolete).
Best
- David
--
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project!
On May 26, 2010, at 12:25 PM, George Nurser wrote:
> Hi,
> First to say that I have been using Aquamacs 2.0 for a few months now
> and I am really very impressed. It's now a really nice application.
>
> My problem is a fairly standard one I think, though. In the Aquamacs
> manual under changes to v1.2a it states
> 'Aquamacs has always imported the environment from the login shell,
> e.g. any environment variable you might have set in your
> ~/.bash_profile'
>
> However, (running Aquamacs from a Dock icon, 10.6.3) this does not
> appear to be the case.
> If I do e.g.
> M: (getenv USER)
> I get
> Debugger entered--Lisp error: (void-variable USER)
> (getenv USER)
> eval((getenv USER))
> eval-expression((getenv USER) nil)
>
> I get the same for other environment variables that I have explicitly
> exported in my ~/.bash_profile
>
> So, do I have to change the environment.plist, or is there a less
> invasive way of getting environment variables into Aquamacs?
>
> --George.
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
More information about the MacOSX-Emacs
mailing list