From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#32506: 27.0.50; loop regression Date: Mon, 27 Aug 2018 17:30:44 -0400 Message-ID: <4p36uzpke3.fsf@fencepost.gnu.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1535405347 12142 195.159.176.226 (27 Aug 2018 21:29:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 27 Aug 2018 21:29:07 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: 32506@debbugs.gnu.org, tino.calancha@gmail.com To: Helmut Eller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 27 23:29:03 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fuP4I-00033V-Kx for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Aug 2018 23:29:02 +0200 Original-Received: from localhost ([::1]:35194 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fuP6P-0003CS-15 for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Aug 2018 17:31:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fuP6G-0003CC-Ty for bug-gnu-emacs@gnu.org; Mon, 27 Aug 2018 17:31:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fuP6G-0002i4-04 for bug-gnu-emacs@gnu.org; Mon, 27 Aug 2018 17:31:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57743) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fuP6E-0002hL-K9 for bug-gnu-emacs@gnu.org; Mon, 27 Aug 2018 17:31:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fuP6E-0001Jt-Fr for bug-gnu-emacs@gnu.org; Mon, 27 Aug 2018 17:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Aug 2018 21:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32506 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 32506-submit@debbugs.gnu.org id=B32506.15354054555061 (code B ref 32506); Mon, 27 Aug 2018 21:31:02 +0000 Original-Received: (at 32506) by debbugs.gnu.org; 27 Aug 2018 21:30:55 +0000 Original-Received: from localhost ([127.0.0.1]:34528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fuP67-0001JY-0X for submit@debbugs.gnu.org; Mon, 27 Aug 2018 17:30:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52269) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fuP64-0001JL-KU for 32506@debbugs.gnu.org; Mon, 27 Aug 2018 17:30:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fuP5y-0002X0-Ss for 32506@debbugs.gnu.org; Mon, 27 Aug 2018 17:30:47 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fuP5x-0002Vp-Dx; Mon, 27 Aug 2018 17:30:45 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1fuP5w-0007Aq-47; Mon, 27 Aug 2018 17:30:44 -0400 X-Spook: Colombia Abu Sayyaf Antiviral Fortezza Juarez North Korea X-Ran: W04}"6i,wt3SV]ZJ$a< (Helmut Eller's message of "Thu, 23 Aug 2018 09:17:12 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:149772 Archived-At: 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"