[Slime-devel] [Sbcl-devel] Slime 2.11 and pretty-stream

Luís Oliveira luismbo at gmail.com
Tue Dec 2 22:32:37 UTC 2014


On Tue, Dec 2, 2014 at 9:02 PM, Stas Boukarev <stassats at gmail.com> wrote:
> And on the off chance that you actually want to use the contrib (and if
> it still works) a way which doesn't require any changes to sbcl is to
> redefine the make-pretty-stream function, returning a subclass of
> pretty-stream from it.
> Consequently, a clean approach would be to have
> (defvar sb-ext:*pretty-stream-maker* #'make-pretty-stream)
> in SBCL.

Oh, the thing is, swank contrib loading is currently all or nothing.
So, Fabrice probably doesn't want slime-presentation-streams
specifically, and I had assumed it was needed by the more basic
slime-presentations contrib, which it's not.

So, the first step is to disable this dangerous patching. (Done and
pushed to SLIME's repo.)

Then, we can look into re-enable this functionality using the clean
approach outlined above. Opened
https://github.com/slime/slime/issues/213 to track that. Patches
welcome, yada yada. :-)

Thanks Stas!

-- 
Luís Oliveira
http://kerno.org/~luis/




More information about the slime-devel mailing list