GNU bug report logs - #17353
24.3.90; Broken destructuring-bind of `with' clause in `cl-loop'

Previous Next

Package: emacs;

Reported by: Tomohiro Matsuyama <tomo <at> cx4a.org>

Date: Sat, 26 Apr 2014 20:45:02 UTC

Severity: normal

Found in version 24.3.90

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

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 17353 in the body.
You can then email your comments to 17353 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#17353; Package emacs. (Sat, 26 Apr 2014 20:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tomohiro Matsuyama <tomo <at> cx4a.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 26 Apr 2014 20:45:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tomohiro Matsuyama <tomo <at> cx4a.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.90; Broken destructuring-bind of `with' clause in `cl-loop'
Date: Sun, 27 Apr 2014 00:46:53 +0900
The following expression is evaluated to `6' on a stable release.

    (cl-loop with (a b c) = '(1 2 3) return (+ a b c))

On 24.3.90.2, however, an error occurs.

    Attempt to set a constant symbol: nil

ANSI Common Lisp allows such destructuring-bind of `with' clause, by
the way.



In GNU Emacs 24.3.90.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23)
 of 2014-04-18 on x220
Windowing system distributor `The X.Org Foundation', version 11.0.11500901
System Description:	Debian GNU/Linux testing (jessie)

Configured using:
 `configure --prefix=/home/tomo/opt/emacs-24.3.90'

Important settings:
  value of $LC_MESSAGES: C
  value of $LANG: ja_JP.UTF-8
  value of $XMODIFIERS: @im=none
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-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

Recent input:
M-x r e p o r t - b u g <backspace> <backspace> <backspace> 
e m a c s - b u g <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util help-fns mail-prsvr mail-utils time-date japan-util tooltip
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer 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 make-network-process
dbusbind gfilenotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
((conses 16 73343 6709)
 (symbols 48 17385 0)
 (miscs 40 36 163)
 (strings 32 9182 4179)
 (string-bytes 1 254384)
 (vectors 16 9471)
 (vector-slots 8 449842 37451)
 (floats 8 63 185)
 (intervals 56 177 0)
 (buffers 960 11)
 (heap 1024 39160 853))




Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. (Sun, 27 Apr 2014 14:35:03 GMT) Full text and rfc822 format available.

Notification sent to Tomohiro Matsuyama <tomo <at> cx4a.org>:
bug acknowledged by developer. (Sun, 27 Apr 2014 14:35:04 GMT) Full text and rfc822 format available.

Message #10 received at 17353-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Tomohiro Matsuyama <tomo <at> cx4a.org>
Cc: 17353-done <at> debbugs.gnu.org
Subject: Re: bug#17353: 24.3.90;
 Broken destructuring-bind of `with' clause in `cl-loop'
Date: Sun, 27 Apr 2014 10:34:33 -0400
> The following expression is evaluated to `6' on a stable release.
>     (cl-loop with (a b c) = '(1 2 3) return (+ a b c))
> On 24.3.90.2, however, an error occurs.
>     Attempt to set a constant symbol: nil

Thanks.  This was fixed a few days ago in emacs-24.


        Stefan


PS: My message asking you to make a bug-report for it was sent long
before you received it.  Sorry about that.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 26 May 2014 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 30 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.