From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#40727: 27.0.91; 'cl-loop ... across ... and' seems broken Date: Mon, 20 Apr 2020 02:33:51 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="121598"; mail-complaints-to="usenet@ciao.gmane.io" To: 40727@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 20 02:34:14 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jQKO4-000VUb-1j for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Apr 2020 02:34:12 +0200 Original-Received: from localhost ([::1]:55672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQKO2-0005Mh-Rr for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Apr 2020 20:34:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53512 helo=eggs1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQKNv-0005MY-Iz for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 20:34:04 -0400 Original-Received: from Debian-exim by eggs1p.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQKNu-0007d4-9p for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 20:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34723) by eggs1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQKNt-0007cj-U2 for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 20:34:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jQKNu-0005Sd-Hw for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 20:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Apr 2020 00:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40727 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.158734284120980 (code B ref -1); Mon, 20 Apr 2020 00:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Apr 2020 00:34:01 +0000 Original-Received: from localhost ([127.0.0.1]:46269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQKNs-0005SK-K0 for submit@debbugs.gnu.org; Sun, 19 Apr 2020 20:34:01 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:35722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQKNq-0005SC-1m for submit@debbugs.gnu.org; Sun, 19 Apr 2020 20:33:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53478 helo=eggs1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQKNp-0005MA-Ch for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 20:33:57 -0400 Original-Received: from Debian-exim by eggs1p.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQKNn-0007YR-SU for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 20:33:56 -0400 Original-Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:55151) by eggs1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQKNn-0007XI-DM for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 20:33:55 -0400 Original-Received: by mail-wm1-x333.google.com with SMTP id h2so9081729wmb.4 for ; Sun, 19 Apr 2020 17:33:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=XFV+WOIdzN9GgwR3ykqUb1ZkSdYCoRkFbGtNkilrWmA=; b=pK4H5JMD8mhlg8DGDS5Ees5qQoN0du/zRmEzCBpAe7dfZysEucOqEPPpZ6j93Z07TH 59ZqSt3eKnKN/upWXZ4FmDSRNIDlGi1jfl563cFDRmvUDGlO0XJnj1Jmj4KV17faF5ye +xcS5yd7qgpQPTEfhrfZ7cP6IbWs+vTWsbzcAN1nNpQt1ZwqOrBV+1s6fvgzVYGY7krK zIiQ+RT68RpQVVRZdi1XERY5vC/vKqm7kiL9Vw59cBLod5R+C07vBbJk2T+OCRbPm9aZ DdZR6+wwTHf5J254f14ivtibCupssQwX8DHwQbBmwXpGWFNr8xxZM5/lZRbLRBDNCwdy 3aGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=XFV+WOIdzN9GgwR3ykqUb1ZkSdYCoRkFbGtNkilrWmA=; b=eWKqHg5840Rk+exklUhYZ3x9huF0jg+3h1mqhogS6NEicrKXh2UeZo2eo9zBAfdHr1 NU7JWa01AnJY0chjPE3dGVEyaiERNMUEMiIixuJeJnMyHukZ6W3NBjT+htCrsGZ+c6DM 5vPTLzZjAM3y5qYPeo3vFG/p9651wbg+j7ijI61Lt9MvQR0aFjW+gIwsv8fBFV4azbRt K/HkiAj+w5jVBybfu7FKm6dNrD9HC5X9usppGqxWgZn1GbYsUI6SSSX1UR/HBWvQOnDr SdQlSyvp2ubqaTDaSAr016iIluQKZq7gvd3oIn308HukSuEl6O2j64dolZrMuaWuW/E/ OyWw== X-Gm-Message-State: AGi0PuYslsUoGdTvEIwMuEnSGf4guFzXx1wMF0hvyhvlWF2ji/KjQ5b7 ma3SlsPtvG8fsy98iKKnbbR1TwXmcAc= X-Google-Smtp-Source: APiQypIm1NGt2VlUYqNq/pJeeEzagDwqHl2t0Vv2JYjDDafX0cK0fDRWqX0hSpi4PVMtsZJkOAYhdg== X-Received: by 2002:a1c:3281:: with SMTP id y123mr14737642wmy.30.1587342833341; Sun, 19 Apr 2020 17:33:53 -0700 (PDT) Original-Received: from phst1 ([2a02:2455:2a2:100:c351:ffcc:5d8e:4288]) by smtp.gmail.com with ESMTPSA id j11sm21085502wrr.62.2020.04.19.17.33.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Apr 2020 17:33:52 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=p.stephani2@gmail.com; helo=mail-wm1-x333.google.com X-detected-operating-system: by eggs1p.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178689 Archived-At: In Emacs 26: emacs -Q -batch -l cl-lib -eval '(cl-loop for x across [1 2] and y across [= 3 4])' works (i.e. no error), but in Emacs 27 it gives an error Symbol=E2=80=99s value as variable is void: --cl-vec-- This doesn't happen with "for" instead of "and", and also doesn't happen with lists and "in". If it helps, here's the backtrace: (length --cl-vec--) (let ((--cl-vec-- [1 2]) (--cl-len-- (length --cl-vec--)) (--cl-idx-- -1)= (x nil) (--cl-vec-- [3 4]) (--cl-len-- (length --cl-vec--)) (--cl-idx-- -1= ) (y nil)) (while (and (< (setq --cl-idx-- (1+ --cl-idx--)) --cl-len--) (< = (setq --cl-idx-- (1+ --cl-idx--)) --cl-len--)) (cl-psetq x (aref --cl-vec--= --cl-idx--) y (aref --cl-vec-- --cl-idx--))) nil) (catch '--cl-block-nil-- (let ((--cl-vec-- [1 2]) (--cl-len-- (length --c= l-vec--)) (--cl-idx-- -1) (x nil) (--cl-vec-- [3 4]) (--cl-len-- (length --= cl-vec--)) (--cl-idx-- -1) (y nil)) (while (and (< (setq --cl-idx-- (1+ --c= l-idx--)) --cl-len--) (< (setq --cl-idx-- (1+ --cl-idx--)) --cl-len--)) (cl= -psetq x (aref --cl-vec-- --cl-idx--) y (aref --cl-vec-- --cl-idx--))) nil)) (cl--block-wrapper (catch '--cl-block-nil-- (let ((--cl-vec-- [1 2]) (--c= l-len-- (length --cl-vec--)) (--cl-idx-- -1) (x nil) (--cl-vec-- [3 4]) (--= cl-len-- (length --cl-vec--)) (--cl-idx-- -1) (y nil)) (while (and (< (setq= --cl-idx-- (1+ --cl-idx--)) --cl-len--) (< (setq --cl-idx-- (1+ --cl-idx--= )) --cl-len--)) (cl-psetq x (aref --cl-vec-- --cl-idx--) y (aref --cl-vec--= --cl-idx--))) nil))) (cl-block nil (let ((--cl-vec-- [1 2]) (--cl-len-- (length --cl-vec--)) (= --cl-idx-- -1) (x nil) (--cl-vec-- [3 4]) (--cl-len-- (length --cl-vec--)) = (--cl-idx-- -1) (y nil)) (while (and (< (setq --cl-idx-- (1+ --cl-idx--)) -= -cl-len--) (< (setq --cl-idx-- (1+ --cl-idx--)) --cl-len--)) (cl-psetq x (a= ref --cl-vec-- --cl-idx--) y (aref --cl-vec-- --cl-idx--))) nil)) (cl-loop for x across [1 2] and y across [3 4]) eval((cl-loop for x across [1 2] and y across [3 4]) t) command-line-1(("-f" "toggle-debug-on-error" "-l" "cl-lib" "-eval" "(cl-l= oop for x across [1 2] and y across [3 4])")) command-line() normal-top-level() In GNU Emacs 27.0.91 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.24.13) of 2020-04-20 Repository revision: a1040861f118881004f59866111f64cd0ae03b7a Repository branch: emacs-27 Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux rodete Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --enable-checking=3Dall --enable-gtk-deprecation-warnings --enable-gcc-warnings=3Dwarn-only --enable-check-lisp-object-type --with-mailutils --without-pop 'CFLAGS=3D-O0 -g3' LDFLAGS=3D-g3' Configured features: XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS FREETYPE HARFBUZZ XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS PDUMPER GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec epa epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils phst skeleton derived edmacro kmacro pcase ffap thingatpt url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars mailcap subr-x rx gnutls puny seq byte-opt gv bytecomp byte-compile cconv dbus xml cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 63095 5761) (symbols 48 8435 1) (strings 32 22388 1823) (string-bytes 1 711569) (vectors 16 12506) (vector-slots 8 174130 5982) (floats 8 25 34) (intervals 56 201 0) (buffers 1000 12)) --=20 Google Germany GmbH Erika-Mann-Stra=C3=9Fe 33 80636 M=C3=BCnchen Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Gesch=C3=A4ftsf=C3=BChrer: Paul Manicle, Halimah DeLaine Prado If you received this communication by mistake, please don=E2=80=99t forward= it to anyone else (it may contain confidential or privileged information), please erase all copies of it, including all attachments, and please let the sender know it went to the wrong person. Thanks.