* Problem with dxsession environment.
@ 1997-04-11 4:00 Steven W Orr
0 siblings, 0 replies; only message in thread
From: Steven W Orr @ 1997-04-11 4:00 UTC (permalink / raw)
I am running OSF1-3.2/Alpha. My login shell is bash and I'm running
emacs-19.34. I have a proper setup for bash; i.e. a .bashrc and a
.bash_profile .
My PATH variable has ~/bin close to the beginning. My problem is that
when emacs is started, it starts with the PATH variable as initially
defined by /etc/profile. The point being that I do not get the
benefit of the environment variables that I'm supposed to be getting
from my bash init files. Normally this is not a problem. Recently
though I realized that emacs was executing something from
/usr/local/bin, when I had a newer version of the desired utility in
~/bin. (/usr/local/bin was set up in /etc/profile) I looked, and sure
enough, (getenv "PATH") was returning only what was spec'd in
/etc/profile.
Can someone tell me what the proper sequence is and/or what it's
supposed to be? Is this a bug? Is there a workaround? Right now I'm
dealing with it via
(setenv "PATH" (concat (getenv "HOME") "/bin:" (getenv "PATH")))
in my .emacs, but this is obviously fragile.
What might make sense would be for xdm to do an exec bash dxsession
instead of dxsession. Does this make sense?
Please email. Thanks in advance.
--
----------Time flies like the wind. Fruit flies like a banana.----------------
--------Stranger things have happened but none stranger than this.-------------
Steven W. Orr steveo@world.std.com <site of former bang addr:-)>
---------------"Listen to me! We are all individuals."-------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-04-11 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-11 4:00 Problem with dxsession environment Steven W Orr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox