GNU bug report logs - #15231
24.3.50; eshell: variable `name' treated different from other variables

Previous Next

Package: emacs;

Reported by: Gregor Zattler <telegraph <at> gmx.net>

Date: Sat, 31 Aug 2013 23:42:01 UTC

Severity: normal

Found in version 24.3.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Aidan Gauland <aidalgol <at> no8wireless.co.nz>
Cc: Gregor Zattler <telegraph <at> gmx.net>, 15231 <at> debbugs.gnu.org
Subject: bug#15231: 24.3.50; eshell: variable `name' treated different from other variables
Date: Thu, 12 Sep 2013 00:50:41 -0400
> I don't know the precise cause of the bug, but my crystal ball says that
> the Eshell code that interprets your command itself uses a variable
> named "name".  There are probably a few other variables names used by
> Eshell that suffer from the same kind of "capture".

I've just tried to convert Eshell to use lexical-binding and it appears
that this problem would indeed be fixed by such a change (if someone has
some kind of test suite for Eshell it would be very helpful, since
changing it to use lexical-binding is not completely trivial and might
introduce unexpected regressions).


        Stefan




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

Previous Next


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