Stanislaw Halik sthalik@test123.ltd.pl writes:
Here's a new protocol message for outputting images. Unlike the previous approach, it doesn't rely upon EVAL-IN-EMACS. The Bad Thing is that it puts REPL-specific code inside DISPATCH-EVENT which should be contrib-agnostic. There seems to be no way to add protocol messages in contribs, maybe there's some better way not involving protocol messages.
SWANK::DISPATCH-EVENT should probably involve some hook like slime-dispatch-event does. In CL, it could just involve a generic function so contribs can add methods eql-specizializing on an event's name.
I added the `fake-p' stuff because if it isn't there, the image is displayed right before the last REPL result (maybe dependent upon presentations?).
This sounds like a long-time bug that is also shown by the `repl-type-ahead' test failing at the moment (IIRC) in combination with presentations.
-T.