fluxbox is altering emacs environment

Haines Brown <[email protected]>
Newsgroups gmane.comp.window-managers.fluxbox.user
Message-ID <[email protected]>
I've been runing Fluxbox for some time without problem. But now 
things have suddenly changed. When I now start emacs from a terminal, 
it has a proper environment, but when I start it from the fluxbox 
menu, the texlive portion of the path is truncated and shows up as

  M-x getenv, PATH

  /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

However, the path I want is this:

  $ echo $PATH
  /usr/local/texlive/2011/bin/i386-linux:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

The texlive portion is appended to default user's environment by a
line in ~/.bachrc.

Oddly, but I don't know if at all relevant, when I start emacs in text 
mode from the fluxbox menu, I can issue C-x commands from it, but no 
M-x commands. When I enter M-x, garbage appears in the minibuffer and 
a slash O in the scratch buffer. But when I start emacs from a 
terminal as text-only

  $ emacs -nw

I can issue the M-x genenv command, and it returns a proper full PATH.

Any ideas?


Haines Brown 

------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.