[slim-vim] Possible issues with vim:add-input-listener

Brad Beveridge brad.beveridge at gmail.com
Sat May 20 13:48:38 CDT 2006


Hi guys (and especially Jim :)
I am trying to add automatic response to incoming Swank data, so I basically did
      (vim:add-input-listener stream #'slime-process-available-input)
where stream is the socket stream to Swank, this works as expected -
ie slime-process-available-input is called when incoming data is
detected.
However, in the course of handling this data, output is written to Vim
buffers and possibly vim:msg - after a few packets of data have been
handled Vim crashes (with various different errors), usually in
dropping back to an ECL prompt - with the terminal no longer echoing.
I have to issue (QUIT) and then "reset" at the console.

I'm wondering if outputting to a buffer during the stream event
handler is a bad thing.  I'm pretty stuck right now and would
appreciate it if somebody who knows Vim internals better (Jim? :)
could take a look.

Basically take the attached tarball and follow the instructions I
posted a couple of days ago to reproduce the error.

Thanks
Brad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: broken-slim.tgz
Type: application/x-gzip
Size: 11888 bytes
Desc: not available
Url : http://www.lispniks.com/pipermail/slim-vim/attachments/20060520/92cdfd41/broken-slim.tgz


More information about the slim-vim mailing list