From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gregor Zattler Newsgroups: gmane.emacs.bugs Subject: bug#15231: 24.3.50; eshell: variable `name' treated different from other variables Date: Sun, 01 Sep 2013 01:40:19 +0200 Message-ID: <8761ule8f0.fsf@boo.workgroup> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1377992545 14875 80.91.229.3 (31 Aug 2013 23:42:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Aug 2013 23:42:25 +0000 (UTC) To: 15231@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 01 01:42:27 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 1VFuoD-0002jr-RG for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Sep 2013 01:42:25 +0200 Original-Received: from localhost ([::1]:56258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFuoC-0002Sn-P9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Aug 2013 19:42:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFuo0-0002Rf-Lk for bug-gnu-emacs@gnu.org; Sat, 31 Aug 2013 19:42:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VFunr-00031h-59 for bug-gnu-emacs@gnu.org; Sat, 31 Aug 2013 19:42:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFunq-00031d-Oo for bug-gnu-emacs@gnu.org; Sat, 31 Aug 2013 19:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VFunq-0003CP-5r for bug-gnu-emacs@gnu.org; Sat, 31 Aug 2013 19:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregor Zattler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Aug 2013 23:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15231 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.137799246312201 (code B ref -1); Sat, 31 Aug 2013 23:42:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 31 Aug 2013 23:41:03 +0000 Original-Received: from localhost ([127.0.0.1]:33791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VFums-0003Ah-9v for submit@debbugs.gnu.org; Sat, 31 Aug 2013 19:41:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44955) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VFump-0003A9-Kc for submit@debbugs.gnu.org; Sat, 31 Aug 2013 19:41:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VFumb-0002dc-1p for submit@debbugs.gnu.org; Sat, 31 Aug 2013 19:40:54 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:46337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFuma-0002dW-Tj for submit@debbugs.gnu.org; Sat, 31 Aug 2013 19:40:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFumT-0002PU-8b for bug-gnu-emacs@gnu.org; Sat, 31 Aug 2013 19:40:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VFumK-0002Xm-6v for bug-gnu-emacs@gnu.org; Sat, 31 Aug 2013 19:40:36 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:57345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFumI-0002Wb-QM for bug-gnu-emacs@gnu.org; Sat, 31 Aug 2013 19:40:27 -0400 Original-Received: from boo.workgroup ([87.187.187.222]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0LgZRV-1VmAai2h4X-00o1XM for ; Sun, 01 Sep 2013 01:40:25 +0200 Original-Received: from grfz by boo.workgroup with local (Exim 4.80) (envelope-from ) id 1VFumB-0006bh-Sk; Sun, 01 Sep 2013 01:40:19 +0200 User-Agent: Notmuch/0.16 (http://notmuchmail.org) Emacs/24.3.50.1 (i486-pc-linux-gnu) X-Provags-ID: V03:K0:xmz3ZBXinSue7u9ZwOgB8GFV3CD+zR7idC8yznqN6PIFBdWU0z8 ubbzrUySRO6CQZr+ZoiJlANByQpwI9n4D5Z6y9XgFojSdtS4EkgxFBp1FsCBqajCwNs0om4 q6FT95EnfJ1CBb9N3MDkCU/FFg3kQI6yKON8GPnhKcx2eVBRSTMaCZ3PKp4YBQWkTGKzeJC yDjp0INPsxh3acfZyfPjA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:77847 Archived-At: Dear Emacs developers, eshell treats a variable named `name' different than a variable named `foo' (or any(?) other name): How to reproduce: emacs -Q -nw -f eshell #now type for foo in * { echo "$foo" } # this lists the directory Emacs was started in #now type for name in * { echo "$name" } # this instead lists as many times 'name' as the above # for statement listed objects in the directory. E.g.: ~/src/emacs/doc $ for foo in * { echo "$foo" } Emacs/ lispintro/ lispref/ man/ misc/ ~/src/emacs/doc $ for name in * { echo "$name" } name name name name name ~/src/emacs/doc $ This is the case with GNU Emacs 24.3.50.1 (i486-pc-linux-gnu, X toolkit, Xaw scroll bars) of 2013-08-31 on dex, modified by Debian and with GNU Emacs 23.4.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2013-07-01 on binet, modified by Debian Is this a bug? Thanks, Gregor