GNU bug report logs -
#32506
27.0.50; loop regression
Previous Next
Reported by: Helmut Eller <eller.helmut <at> gmail.com>
Date: Thu, 23 Aug 2018 07:18:02 UTC
Severity: normal
Tags: confirmed, fixed
Merged with 33890
Found in version 27.0.50
Fixed in version 27.0.90
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32506 in the body.
You can then email your comments to 32506 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32506
; Package
emacs
.
(Thu, 23 Aug 2018 07:18:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Helmut Eller <eller.helmut <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 23 Aug 2018 07:18:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
With Emacs25 this
(require 'cl)
(defun foo (vector)
(loop for i from -1
for exp = 0 then (list exp e i)
for e across vector
finally (return exp)))
(assert (equal (foo [a b]) '((0 a 0) b 1)))
works as it should. With the current Emacs version (foo [a b])
incorrectly returns (0 a 0).
In GNU Emacs 27.0.50 (build 7, x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
of 2018-08-23 built on caladan
Repository revision: a4a3c92e9de59bd0251f36326375cce898919edc
Windowing system distributor 'The X.Org Foundation', version 11.0.11902000
System Description: Debian GNU/Linux 9 (stretch)
Configured using:
'configure --with-xpm=no --with-gif=no --with-tiff=no --with-jpeg=no
--without-pop'
Configured features:
PNG SOUND DBUS GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 THREADS LIBSYSTEMD GMP
Important settings:
value of $LANG: C.UTF-8
locale-coding-system: utf-8-unix
Added tag(s) confirmed.
Request was from
Noam Postavsky <npostavs <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sat, 25 Aug 2018 02:03:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32506
; Package
emacs
.
(Mon, 27 Aug 2018 21:31:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 32506 <at> debbugs.gnu.org (full text, mbox):
Helmut Eller wrote:
> With Emacs25 this
>
> (require 'cl)
>
> (defun foo (vector)
> (loop for i from -1
> for exp = 0 then (list exp e i)
> for e across vector
> finally (return exp)))
>
> (assert (equal (foo [a b]) '((0 a 0) b 1)))
>
> works as it should. With the current Emacs version (foo [a b])
> incorrectly returns (0 a 0).
[...]
> In GNU Emacs 27.0.50 (build 7, x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
> of 2018-08-23 built on caladan
> Repository revision: a4a3c92e9de59bd0251f36326375cce898919edc
Bisects to a0365437c9ee308ad7978e436631020f513b25e7 (bug#29799).
"cl-loop: Add missing guard condition"
Merged 32506 33890.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 31 Dec 2018 06:24:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32506
; Package
emacs
.
(Wed, 29 Apr 2020 18:28:02 GMT)
Full text and
rfc822 format available.
Message #15 received at 32506 <at> debbugs.gnu.org (full text, mbox):
tags 32506 fixed
close 32506 27.0.90
quit
Helmut Eller <eller.helmut <at> gmail.com> writes:
> With Emacs25 this
>
> (require 'cl)
>
> (defun foo (vector)
> (loop for i from -1
> for exp = 0 then (list exp e i)
> for e across vector
> finally (return exp)))
>
> (assert (equal (foo [a b]) '((0 a 0) b 1)))
>
> works as it should. With the current Emacs version (foo [a b])
> incorrectly returns (0 a 0).
This was fixed by [1: 045cfbef09a].
[1: 045cfbef09a]: 2019-11-22 15:53:58 +0100
Refix conditional step clauses in cl-loop
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=045cfbef09a67c334e4772cb045181cf2203d839
Added tag(s) fixed.
Request was from
Noam Postavsky <npostavs <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Wed, 29 Apr 2020 18:28:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 27.0.90, send any further explanations to
32506 <at> debbugs.gnu.org and Helmut Eller <eller.helmut <at> gmail.com>
Request was from
Noam Postavsky <npostavs <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Wed, 29 Apr 2020 18:28:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 28 May 2020 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 173 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.