From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#9907: 24.0.90; eshell:for command destructivly modifies list variables Date: Sun, 30 Oct 2011 19:37:04 +0100 Message-ID: <877h3mnx67.fsf@gmail.com> References: <87ehxv5ral.fsf@luca.i-did-not-set--mail-host-address--so-tickle-me> <87boszjap9.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319999887 18839 80.91.229.12 (30 Oct 2011 18:38:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 30 Oct 2011 18:38:07 +0000 (UTC) Cc: 9907@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 30 19:38:03 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RKaGg-0001zL-Bg for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Oct 2011 19:38:02 +0100 Original-Received: from localhost ([::1]:41117 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKaGf-0000ye-Db for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Oct 2011 14:38:01 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKaGc-0000xn-SB for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2011 14:37:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKaGa-0000wt-DL for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2011 14:37:58 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKaGa-0000wo-7T for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2011 14:37:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RKaIc-0002Ul-OM for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2011 14:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Oct 2011 18:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9907 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9907-submit@debbugs.gnu.org id=B9907.13199999639522 (code B ref 9907); Sun, 30 Oct 2011 18:40:02 +0000 Original-Received: (at 9907) by debbugs.gnu.org; 30 Oct 2011 18:39:23 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RKaHx-0002TW-KV for submit@debbugs.gnu.org; Sun, 30 Oct 2011 14:39:22 -0400 Original-Received: from mail-fx0-f44.google.com ([209.85.161.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RKaHv-0002TO-8a for 9907@debbugs.gnu.org; Sun, 30 Oct 2011 14:39:20 -0400 Original-Received: by faas12 with SMTP id s12so5072859faa.3 for <9907@debbugs.gnu.org>; Sun, 30 Oct 2011 11:37:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=j944m3/1tBoUSOAfBcDN0Z8KpmUD0eZanaTOBfNWku4=; b=wK62GeolmUYhgtQIf/Qa1oydJc9Qyn90tCPONwQtONUw90wM3juu3uPmBq+IVv3KeH x96Ed7Y/Sv2Z5LitDWwmI+gkSLTdNzWFDsNSHnyPnDnQZYBQDAuvOVMPVtFFsozleylT iDaQzCI+uPWpsPJLbL8OQ0tRotQCduk1a2ilQ= Original-Received: by 10.223.76.27 with SMTP id a27mr22749261fak.12.1319999830465; Sun, 30 Oct 2011 11:37:10 -0700 (PDT) Original-Received: from thierry-MM061 (205.77.197.77.rev.sfr.net. [77.197.77.205]) by mx.google.com with ESMTPS id l26sm20377145fad.17.2011.10.30.11.37.06 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 30 Oct 2011 11:37:08 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Sun, 30 Oct 2011 04:00:55 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 30 Oct 2011 14:40:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:53329 Archived-At: Stefan Monnier writes: >>>> Do this two times. After the first time the value of `load-path' is >>>> gone, because the lisp code implementing the loop destructively modifies >>>> this list. Idea of the following solution: Copy it. >>> Thanks. I've installed the patch below instead, which uses backquotes >>> to clarify the code and simply avoids the in-place modification instead >>> of copying the list. >> Eshell hang forever with this patch when using initial example given by >> Andy. > > Sorry 'bout that. Should be fixed now, but please confirm. It is working fine now, thanks. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997