Re: Swank style-warning
Stas Boukarev <[email protected]> Sat, 19 Oct 2024 17:16:01 +0300
| Newsgroups | gmane.lisp.slime.devel |
|---|---|
| Message-ID | <CAF63=13uqfXzDJxD3S0XP6w+VqqYJFiE6EUmP9ZCK2f7+PPqLg@mail.gmail.com> |
--000000000000da87be0624d50f18 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Fixed in another fashion. On Tue, Oct 15, 2024 at 6:27=E2=80=AFPM Douglas Katzman <[email protected]> = wrote: > Can you push something like this to avoid a warning? I don't remember if = I > can commit. > > --- a/swank/backend.lisp > +++ b/swank/backend.lisp > @@ -1386,6 +1386,9 @@ return nil. > > Return :interrupt if an interrupt occurs while waiting." > (declare (ignore streams timeout)) > + ;; This defvar can't be moved to 'backend.lisp' because the > initializing form isn't evaluable > + ;; until an implementation method is loaded for > (preferred-communication-style) > + (declare (special swank:*communication-style*)) > ;; Invoking the slime debugger will just endlessly loop. > (call-with-debugger-hook > nil > --000000000000da87be0624d50f18 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Fixed in another fashion.</div><br><div class=3D"gmail_quo= te"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Oct 15, 2024 at 6:27=E2= =80=AFPM Douglas Katzman <<a href=3D"mailto:[email protected]">dougk@goog= le.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"m= argin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left= :1ex"><div dir=3D"ltr">Can you push something like this to avoid a warning?= I don't remember if I can commit.<div><div><div><br></div></div></div>= <div>--- a/swank/backend.lisp<br>+++ b/swank/backend.lisp<br>@@ -1386,6 +13= 86,9 @@ return nil.<br>=C2=A0<br>=C2=A0Return :interrupt if an interrupt oc= curs while waiting."<br>=C2=A0 =C2=A0(declare (ignore streams timeout)= )<br>+ =C2=A0;; This defvar can't be moved to 'backend.lisp' be= cause the initializing form isn't evaluable<br>+ =C2=A0;; until an impl= ementation method is loaded for (preferred-communication-style)<br>+ =C2=A0= (declare (special swank:*communication-style*))<br>=C2=A0 =C2=A0;; Invoking= the slime debugger will just endlessly loop.<br>=C2=A0 =C2=A0(call-with-de= bugger-hook<br>=C2=A0 =C2=A0 nil<br></div></div> </blockquote></div> --000000000000da87be0624d50f18--