GNU bug report logs - #15372
eshell gives environment variables high precedence

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Fri, 13 Sep 2013 17:41:02 UTC

Severity: normal

Found in version 24.3

Fixed in version 24.4

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

Bug is archived. No further changes may be made.

Full log


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

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: eshell gives environment variables high precedence
Date: Fri, 13 Sep 2013 13:40:30 -0400
Package: emacs
Version: 24.3

I don't use eshell, so maybe this is how it is supposed to work, but
from the point of view of normal shells, this seems wrong:

foo=FOOBAR emacs -Q -f eshell
eshell> for foo in 5 { echo $foo }
        -> FOOBAR

Cf:

bash> export foo=FOOBAR
bash> for foo in 5; do echo $foo; done
      -> 5




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

Previous Next


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