0
I found that the elisp (emacs elisp) doesn't seem to read .bashrc, as the PATH variable is different from the one set in .bashrc, as I asked in here. I tried to load .bashrc using 'source .bashrc' in elisp, but when I do, elisp just quits.
- What files does elisp read when being loaded?
- Is there any way that I can use the setups that I made in .bashrc (alias, PATH, ...)?
SOLUTION
Gilles gave me a good answer, and with the PATH, it depends on how I start the Aquamcs.
- When I click the button to start Aquamacs, it has different PATH.
- When I run 'aquamacs' from the command line, it has the same PATH.
as I said on SO,
.bashrc
is not the right place to setPATH
or other environment variables, and which place is right depends on your OS and other environment information which you haven't provided. – Gilles 'SO- stop being evil' – 2010-09-02T07:30:53.840