Re: Slime 2.30: Discrepancy in eval versus pretty-eval of a `loop' expression
Marco Antoniotti <[email protected]> Sat, 27 Jul 2024 09:58:07 +0300
| Newsgroups | gmane.lisp.slime.devel |
|---|---|
| Message-ID | <CAG0Nw2no3OyHBb+LRiRBWSS=FyCKjZ8bZjg+N=D6amx1uioejg@mail.gmail.com> |
--0000000000001c5a4a061e35275a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi check the *PRINT-CIRCLE* in both cases. I bet it is set differently. MA On Fri, Jul 26, 2024 at 8:41=E2=80=AFPM Mark Harig <[email protected]> wro= te: > 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= not > 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. > > -- > --=20 Marco Antoniotti, Professor tel. +39 - 02 64 48 79 01 DISCo, University of Milan-Bicocca U14 2043 http://dcb.disco.unimib.it Viale Sarca 336 I-20126 Milan (MI) ITALY --0000000000001c5a4a061e35275a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hi</div><div><br></div><div>check the *PRINT-CIRCLE* = in both cases.=C2=A0 I bet it is set differently.</div><div><br></div><div>= MA</div><div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr= " class=3D"gmail_attr">On Fri, Jul 26, 2024 at 8:41=E2=80=AFPM Mark Harig &= lt;<a href=3D"mailto:[email protected]">[email protected]</a>> wrote:<= br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e= x;border-left:1px solid rgb(204,204,204);padding-left:1ex">Slime Developers= ,<br> <br> The following was produced using SBCL version 2.3.11,<br> slime-version "2.30", and Emacs version 29.4.=C2=A0 (My copy of s= lime<br> was installed using the =E2=80=98list-packages=E2=80=99 command in Emacs.)<= br> <br> For the following =E2=80=98loop=E2=80=99 expression, the function<br> =E2=80=98slime-eval-last-expression=E2=80=99 returns the correct result:<br= > <br> (loop :for n :in '(a b c) :collect `(,n (gensym)))<br> =3D> ((A (GENSYM)) (B (GENSYM)) (C (GENSYM)))<br> <br> But the function =E2=80=98slime-pprint-eval-last-expression=E2=80=99 does n= ot<br> return the correct result.=C2=A0 Instead, it returns:<br> <br> (loop :for n :in '(a b c) :collect `(,n (gensym)))<br> =3D> ((A . #1=3D((GENSYM))) (B . #1#) (C . #1#))<br> <br> in the *slime-description* buffer.=C2=A0 Is this a known error, that<br> is, is it an acceptable result?<br> <br> Please let me know if there is any other information you<br> need to reproduce or diagnose this potential error.<br> <br> Thank you.<br> <br> --<br> </blockquote></div><br clear=3D"all"><br><span class=3D"gmail_signature_pre= fix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"l= tr"><span style=3D"font-family:monospace">Marco Antoniotti, Professor=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 tel. +39 - 02 64 48 79 01<br>DISCo, University = of Milan-Bicocca U14 2043=C2=A0=C2=A0 <a href=3D"http://dcb.disco.unimib.it= " target=3D"_blank">http://dcb.disco.unimib.it</a><br>Viale Sarca 336<br>I-= 20126 Milan (MI) ITALY</span></div></div> --0000000000001c5a4a061e35275a--