Subject: Re: bug#8331: UNIX Environment variables get lost in ver23.3 as opposed to 23.2

From: Stefan Monnier <[email-masked]>
Date: Wed, 23 Mar 2011 16:42:52 -0400

> I switched to using the latest version of emacs 23.3. and am finding
> an issue.  The issues is that the ENV variables defined in the shell
> are lost within a buffer.

> Here's an example:
> 1) //Define an ENV variable call FOO
> UNIX setenv FOO FOO_VALUE
> 2) Open up a file in emacs called junk in the same window
> 3) In this new file, execute the shell command Ctrl-U Shift-! "echo $FOO"
> You are basically echoing the value of $FOO into the buffer junk.

Depending on how the `emacs' process is started w.r.t the shell process
where you set the env-var, this is perfectly normal.  So please show us
the *exact* way you set the env var, and the *exact* way you then "open
a file in Emacs".

        Stefan