[slim-vim] Possible issues with vim:add-input-listener
Brad Beveridge
brad.beveridge at gmail.com
Sat May 20 18:29:12 CDT 2006
On 5/20/06, Jim Bailey <dgym.bailey at gmail.com> wrote:
> Hi Brad,
>
> I haven't looked at what you have done yet but this might be
> relevant so I thought it best to bring this up as soon as possible. One
> very good and sure-fire way of freezing vim is to add an input listener
> that doesn't read off all pending data on a socket. If you can think of
Thanks for the quick reply. My code sits in a
(loop while (listen stream)...) loop, so it should be OK. There is
potential for leaving data in the socket if an error in processing
occurs, but I am pretty sure this isn't the case.
>
> Outputting to a buffer should be perfectly fine, it is the first
> thing I tried when it became apparent that outputting to the message
> line was a very bad thing to try and do.
I ought to note that generally outputting to a buffer _does_ work, but
after three or four Swank exchanges things get screwy. The problem
doesn't appear to be particularly deterministic.
Cheers
Brad
More information about the slim-vim
mailing list