emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#19699: closed (25.0.50; lexical-let + mapcar cause


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#19699: closed (25.0.50; lexical-let + mapcar cause infloop)
Date: Tue, 27 Jan 2015 23:56:02 +0000

Your message dated Wed, 28 Jan 2015 08:55:39 +0900
with message-id <address@hidden>
and subject line Re: bug#19699: 25.0.50; lexical-let + mapcar cause infloop
has caused the debbugs.gnu.org bug report #19699,
regarding 25.0.50; lexical-let + mapcar cause infloop
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
19699: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19699
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 25.0.50; lexical-let + mapcar cause infloop Date: Tue, 27 Jan 2015 17:06:44 +0900 User-agent: Gnus/5.130012 (真 Gnus v0.12) Emacs/25.0.50 (i686-pc-cygwin)
A Lisp form that uses `lexical-let' and `mapcar' (or `mapc'),
like this, cannot be evaluated nor byte-compiled because it
looks like causing an infinite loop[1].

(defun testing ()
  (lexical-let (var)
    (mapcar #'identity '("Hello" "World"))))

[1] There is no means to stop infloop on Cygwin Emacs, so I'm
  hard to debug it.

In GNU Emacs 25.0.50.1 (i686-pc-cygwin, GTK+ Version 3.10.9)
 of 2015-01-27 on localhost
Windowing system distributor `The Cygwin/X Project', version 11.0.11501000
Configured using:
 `configure --verbose --with-x-toolkit=gtk3'



--- End Message ---
--- Begin Message --- Subject: Re: bug#19699: 25.0.50; lexical-let + mapcar cause infloop Date: Wed, 28 Jan 2015 08:55:39 +0900 User-agent: Gnus/5.130012 (真 Gnus v0.12) Emacs/25.0.50 (i686-pc-cygwin)
On Tue, 27 Jan 2015 17:06:44 +0900, Katsumi Yamaoka wrote:
> A Lisp form that uses `lexical-let' and `mapcar' (or `mapc'),
> like this, cannot be evaluated nor byte-compiled because it
> looks like causing an infinite loop[1].

Oops, this is my fault that was made as the revno
<1fe087a1ab4182b2e6c1d05444461acc4e78e2d8> in cl.el.

> (defun testing ()
>   (lexical-let (var)
>     (mapcar #'identity '("Hello" "World"))))

The cause of the infinite loop is that the macro expander tries
to expand #'foo again and again.  Fixed.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]