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.)
Cheers,
-- Nikodemus
On Thu, Oct 30, 2008 at 9:39 AM, Nikodemus Siivola nikodemus@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
On Thu, Oct 30, 2008 at 8:34 PM, Matthias Koeppe mkoeppe+slime@mail.math.uni-magdeburg.de wrote:
Does someone actually use them? Any objections to deleting them? (And the first leg of the OR in Slime.)
Gone from both SBCL and Slime now.
Cheers,
-- Nikodemus