[slime-devel] sb-impl::indenting-streams on the chopping block
Matthias Koeppe
mkoeppe+slime at mail.math.uni-magdeburg.de
Thu Oct 30 18:34:40 UTC 2008
On Thu, Oct 30, 2008 at 9:39 AM, Nikodemus Siivola
<nikodemus at random-state.net> wrote:
> Aside from slime/contrib/swank-presentations.lisp
>
> (or (and (typep stream 'sb-impl::indenting-stream)
> (slime-stream-p (sb-impl::indenting-stream-stream stream)))
> (and (typep stream (find-symbol "PRETTY-STREAM" 'sb-pretty))
> (find-symbol "ENQUEUE-ANNOTATION" 'sb-pretty)
> (not *use-dedicated-output-stream*)
> (slime-stream-p (sb-pretty::pretty-stream-target stream)))))
>
> SB-IMPL::INDENTING-STREAM is, as far as I can tell, otherwise unused.
>
> Does someone actually use them? Any objections to deleting them? (And
> the first leg of the OR in Slime.)
CMUCL uses these streams within DESCRIBE. The above code in SLIME was
meant to ensure that "presentations" work inside the DESCRIBE output
-- I must have added it under the assumption that if INDENTING-STREAMS
exist in SBCL, they are also used.
I have now checked that SBCL does actually not use INDENTING-STREAMs
in DESCRIBE, so please feel free to remove them from SBCL and also
this code from SLIME.
Matthias
--
Matthias Koeppe -- http://www.math.ucdavis.edu/~mkoeppe
More information about the slime-devel
mailing list