From: Glenn Morris <rgm@gnu.org>
To: Helmut Eller <eller.helmut@gmail.com>
Cc: 32506@debbugs.gnu.org, tino.calancha@gmail.com
Subject: bug#32506: 27.0.50; loop regression
Date: Mon, 27 Aug 2018 17:30:44 -0400 [thread overview]
Message-ID: <4p36uzpke3.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <m2zhxd1rif.fsf@gmail.com> (Helmut Eller's message of "Thu, 23 Aug 2018 09:17:12 +0200")
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"
next prev parent reply other threads:[~2018-08-27 21:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-23 7:17 bug#32506: 27.0.50; loop regression Helmut Eller
2018-08-27 21:30 ` Glenn Morris [this message]
2020-04-29 18:27 ` Noam Postavsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4p36uzpke3.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=32506@debbugs.gnu.org \
--cc=eller.helmut@gmail.com \
--cc=tino.calancha@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.