GNU bug report logs - #8331
UNIX Environment variables get lost in ver23.3 as opposed to 23.2

Previous Next

Package: emacs;

Reported by: Vishwajith Singh <vnsblore <at> gmail.com>

Date: Wed, 23 Mar 2011 18:32:02 UTC

Severity: normal

Tags: moreinfo, notabug, unreproducible, wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8331 in the body.
You can then email your comments to 8331 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8331; Package emacs. (Wed, 23 Mar 2011 18:32:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vishwajith Singh <vnsblore <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 23 Mar 2011 18:32:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vishwajith Singh <vnsblore <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: UNIX Environment variables get lost in ver23.3 as opposed to 23.2
Date: Wed, 23 Mar 2011 11:24:27 -0700
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8331; Package emacs. (Wed, 23 Mar 2011 20:43:02 GMT) Full text and rfc822 format available.

Message #8 received at 8331 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Vishwajith Singh <vnsblore <at> gmail.com>
Cc: 8331 <at> debbugs.gnu.org
Subject: Re: bug#8331: UNIX Environment variables get lost in ver23.3 as
	opposed to 23.2
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




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Tue, 27 Mar 2012 00:38:02 GMT) Full text and rfc822 format available.

Notification sent to Vishwajith Singh <vnsblore <at> gmail.com>:
bug acknowledged by developer. (Tue, 27 Mar 2012 00:38:03 GMT) Full text and rfc822 format available.

Message #13 received at 8331-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 8331-done <at> debbugs.gnu.org
Subject: Re: bug#8331: UNIX Environment variables get lost in ver23.3 as
	opposed to 23.2
Date: Mon, 26 Mar 2012 20:06:45 -0400
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




Added tag(s) notabug and wontfix. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 27 Mar 2012 00:39:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 24 Apr 2012 11:24:02 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 363 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.