Subject: bug#17353: closed (Re: bug#17353: 24.3.90; Broken destructuring-bind of `with' clause in `cl-loop')

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 27 Apr 2014 14:35:04 +0000

Your bug report

#17353: 24.3.90; Broken destructuring-bind of `with' clause in `cl-loop'

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
17353: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17353
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#17353: 24.3.90; Broken destructuring-bind of `with' clause in `cl-loop'
From: Stefan Monnier <[email-masked]>
To: Tomohiro Matsuyama <[email-masked]>
Cc: [email-masked]
Date: Sun, 27 Apr 2014 10:34:33 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

> 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.

Subject: 24.3.90; Broken destructuring-bind of `with' clause in `cl-loop'
From: Tomohiro Matsuyama <[email-masked]>
To: [email-masked]
Date: Sun, 27 Apr 2014 00:46:53 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

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))