Slime 2.30: Discrepancy in eval versus pretty-eval of a `loop' expression

Mark Harig <[email protected]> Fri, 26 Jul 2024 17:37:46 +0000 (UTC)
Newsgroups gmane.lisp.slime.devel
Message-ID <[email protected]>
Slime Developers,

The following was produced using SBCL version 2.3.11,
slime-version "2.30", and Emacs version 29.4.  (My copy of slime
was installed using the =E2=80=98list-packages=E2=80=99 command in Emacs.)

For the following =E2=80=98loop=E2=80=99 expression, the function
=E2=80=98slime-eval-last-expression=E2=80=99 returns the correct result:

(loop :for n :in '(a b c) :collect `(,n (gensym)))
=3D> ((A (GENSYM)) (B (GENSYM)) (C (GENSYM)))

But the function =E2=80=98slime-pprint-eval-last-expression=E2=80=99 does n=
ot
return the correct result.  Instead, it returns:

(loop :for n :in '(a b c) :collect `(,n (gensym)))
=3D> ((A . #1=3D((GENSYM))) (B . #1#) (C . #1#))

in the *slime-description* buffer.  Is this a known error, that
is, is it an acceptable result?

Please let me know if there is any other information you
need to reproduce or diagnose this potential error.

Thank you.

--