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: Wed, 11 Sep 2013 23:39:33 -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 1378957220 17301 80.91.229.3 (12 Sep 2013 03:40:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Sep 2013 03:40:20 +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 05:40:21 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 1VJxlV-00082m-ET for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Sep 2013 05:40:21 +0200 Original-Received: from localhost ([::1]:39136 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJxlV-0002uO-0F for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Sep 2013 23:40:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJxlK-0002tK-NS for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2013 23:40:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJxlD-0006jq-3W for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2013 23:40:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJxlD-0006ic-0P for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2013 23:40:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VJxlB-0007QV-QQ for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2013 23:40: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 03:40:01 +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.137895718228512 (code B ref 15231); Thu, 12 Sep 2013 03:40:01 +0000 Original-Received: (at 15231) by debbugs.gnu.org; 12 Sep 2013 03:39:42 +0000 Original-Received: from localhost ([127.0.0.1]:57422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VJxkr-0007Po-HD for submit@debbugs.gnu.org; Wed, 11 Sep 2013 23:39:41 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:62151) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VJxkp-0007Pa-Sv for 15231@debbugs.gnu.org; Wed, 11 Sep 2013 23:39:40 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFG4rxBo/2dsb2JhbABEuzWDWRdzgh4BAQQBViMQCw4mEhQYDSSIHgbBLZEKA6R6gV6DEw X-IPAS-Result: Av8EABK/CFG4rxBo/2dsb2JhbABEuzWDWRdzgh4BAQQBViMQCw4mEhQYDSSIHgbBLZEKA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="27391320" 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; 11 Sep 2013 23:36:06 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id F103A660E6; Wed, 11 Sep 2013 23:39:33 -0400 (EDT) In-Reply-To: <87k3imssvn.fsf@dimension8.tehua.net> (Aidan Gauland's message of "Thu, 12 Sep 2013 13:58:36 +1200") 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:78259 Archived-At: >>> Is this a bug? >> Sounds like it, yes. More specifically it sounds like changing Eshell >> to use lexical-binding would fix this bug. > But why is this happening with just `name'? 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". Stefan