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

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 27 Mar 2012 00:38:03 +0000

Your bug report

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

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
8331: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8331
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#8331: UNIX Environment variables get lost in ver23.3 as opposed to 23.2
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Mon, 26 Mar 2012 20:06:45 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

tags 8331 wontfix,notabug
stop

Stefan Monnier wrote:

> 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".

This bug is being closed because it could not be reproduced and there
was no response to a request for more information.
If you still see the problem with the latest Emacs release, 23.4,
please reply with the requested information and it can be reopened if
needed.

You can view the whole report at http://debbugs.gnu.org/8331

Subject: UNIX Environment variables get lost in ver23.3 as opposed to 23.2
From: Vishwajith Singh <[email-masked]>
To: [email-masked]
Date: Wed, 23 Mar 2011 11:24:27 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

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.

This works in emacs ver23.2 but fails in ver23.3 with the message "FOO:
Undefined variable."

Why is this difference of behaviour in the latest version?
Can someone suggest a workaround..

Thanks,
- V