Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: steveo@world.std.com (Steven W Orr)
Subject: Problem with dxsession environment.
Date: 1997/04/11	[thread overview]
Message-ID: <3civ1ta8qu.fsf@world.std.com> (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."-------------------------



                 reply	other threads:[~1997-04-11  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox