From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#15231: 24.3.50; eshell: variable `name' treated different from other variables Date: Thu, 12 Sep 2013 00:50:41 -0400 Message-ID: References: <8761ule8f0.fsf@boo.workgroup> <87k3imssvn.fsf@dimension8.tehua.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1378961483 23747 80.91.229.3 (12 Sep 2013 04:51:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Sep 2013 04:51:23 +0000 (UTC) Cc: Gregor Zattler , 15231@debbugs.gnu.org To: Aidan Gauland Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 12 06:51:25 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VJysD-0007MR-5d for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Sep 2013 06:51:21 +0200 Original-Received: from localhost ([::1]:39253 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJysC-0003VB-KS for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Sep 2013 00:51:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJys2-0003Ug-5O for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2013 00:51:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJyru-0007Sx-QN for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2013 00:51:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJyru-0007St-N8 for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2013 00:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VJyru-0000vL-6c for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2013 00:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Sep 2013 04:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15231 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15231-submit@debbugs.gnu.org id=B15231.13789614533526 (code B ref 15231); Thu, 12 Sep 2013 04:51:02 +0000 Original-Received: (at 15231) by debbugs.gnu.org; 12 Sep 2013 04:50:53 +0000 Original-Received: from localhost ([127.0.0.1]:57523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VJyrk-0000un-2s for submit@debbugs.gnu.org; Thu, 12 Sep 2013 00:50:52 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:56080) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VJyrg-0000uO-A9 for 15231@debbugs.gnu.org; Thu, 12 Sep 2013 00:50:48 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFG4rxBo/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCwsOJhIUGA0kiB4GwS2RCgOkeoFegxM X-IPAS-Result: Av8EABK/CFG4rxBo/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCwsOJhIUGA0kiB4GwS2RCgOkeoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="27396106" Original-Received: from 184-175-16-104.dsl.teksavvy.com (HELO ceviche.home) ([184.175.16.104]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 12 Sep 2013 00:47:13 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id AB104660E6; Thu, 12 Sep 2013 00:50:41 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Wed, 11 Sep 2013 23:39:33 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:78260 Archived-At: > 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