all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#8331: UNIX Environment variables get lost in ver23.3 as opposed to 23.2
@ 2011-03-23 18:24 Vishwajith Singh
  2011-03-23 18:26 ` Fwd: " Vishwajith Singh
  2011-03-23 20:42 ` bug#8331: " Stefan Monnier
  0 siblings, 2 replies; 4+ messages in thread
From: Vishwajith Singh @ 2011-03-23 18:24 UTC (permalink / raw)
  To: 8331

[-- Attachment #1: Type: text/plain, Size: 646 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 741 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Fwd: UNIX Environment variables get lost in ver23.3 as opposed to 23.2
  2011-03-23 18:24 bug#8331: UNIX Environment variables get lost in ver23.3 as opposed to 23.2 Vishwajith Singh
@ 2011-03-23 18:26 ` Vishwajith Singh
  2011-03-23 20:42 ` bug#8331: " Stefan Monnier
  1 sibling, 0 replies; 4+ messages in thread
From: Vishwajith Singh @ 2011-03-23 18:26 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 869 bytes --]

---------- Forwarded message ----------
From: Vishwajith Singh <vnsblore@gmail.com>
Date: Wed, Mar 23, 2011 at 11:24 AM
Subject: UNIX Environment variables get lost in ver23.3 as opposed to 23.2
To: bug-gnu-emacs@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

[-- Attachment #2: Type: text/html, Size: 1215 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#8331: UNIX Environment variables get lost in ver23.3 as opposed to 23.2
  2011-03-23 18:24 bug#8331: UNIX Environment variables get lost in ver23.3 as opposed to 23.2 Vishwajith Singh
  2011-03-23 18:26 ` Fwd: " Vishwajith Singh
@ 2011-03-23 20:42 ` Stefan Monnier
  2012-03-27  0:06   ` Glenn Morris
  1 sibling, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2011-03-23 20:42 UTC (permalink / raw)
  To: Vishwajith Singh; +Cc: 8331

> 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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#8331: UNIX Environment variables get lost in ver23.3 as opposed to 23.2
  2011-03-23 20:42 ` bug#8331: " Stefan Monnier
@ 2012-03-27  0:06   ` Glenn Morris
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2012-03-27  0:06 UTC (permalink / raw)
  To: 8331-done

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-27  0:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-23 18:24 bug#8331: UNIX Environment variables get lost in ver23.3 as opposed to 23.2 Vishwajith Singh
2011-03-23 18:26 ` Fwd: " Vishwajith Singh
2011-03-23 20:42 ` bug#8331: " Stefan Monnier
2012-03-27  0:06   ` Glenn Morris

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.