unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Aidan Gauland <aidalgol@no8wireless.co.nz>
Cc: Gregor Zattler <telegraph@gmx.net>, 15231@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	[thread overview]
Message-ID: <jwv1u4uzlu8.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <jwvd2oezp9z.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 11 Sep 2013 23:39:33 -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





  reply	other threads:[~2013-09-12  4:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-31 23:40 bug#15231: 24.3.50; eshell: variable `name' treated different from other variables Gregor Zattler
2013-09-03  1:27 ` Stefan Monnier
     [not found] ` <mailman.1220.1378171698.10748.bug-gnu-emacs@gnu.org>
2013-09-12  1:58   ` Aidan Gauland
2013-09-12  3:39     ` Stefan Monnier
2013-09-12  4:50       ` Stefan Monnier [this message]
2013-09-12  6:56         ` Michael Albinus
2013-09-12 20:16           ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv1u4uzlu8.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=15231@debbugs.gnu.org \
    --cc=aidalgol@no8wireless.co.nz \
    --cc=telegraph@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).