GNU bug report logs - #9907
24.0.90; eshell:for command destructivly modifies list variables

Previous Next

Package: emacs;

Reported by: Andreas Politz <politza <at> fh-trier.de>

Date: Sat, 29 Oct 2011 23:08:02 UTC

Severity: normal

Found in version 24.0.90

Fixed in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
To: 9907 <at> debbugs.gnu.org
Subject: bug#9907: 24.0.90; eshell:for command destructivly modifies list variables
Date: Sun, 30 Oct 2011 06:43:46 +0100
Stefan Monnier <monnier <at> iro.umontreal.ca> 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.
 

-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





This bug report was last modified 13 years and 247 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.