Christian, thanks for the feedback.

About this issue of vim not responding, did you try to call the Stop()
function of the test plugin? I added this function because python will
never exit by itself unless the background thread is killed.

I'm gonna try the redraw_later tip later, thanks.

Thiago

On Sun, Dec 8, 2013 at 5:21 PM, Christian Brabandt <[email protected]> wrote:
> Hi Thiago!
>
> Wow, nice work. There are some issues, I noticed. It doesn't quite work
> flawlessly
>
> Here are some things I noticed:
> - Vim didn't link with  -lphtread. I fixed it for now, by declaring
>   LEAK_LIBS=-lpthread in the Makefile
> - the output of your python plugin will be appened to whatever buffer is
>   currently visible. This is most probably not a problem of your patch,
>   but rather of your test plugin and is certainly not expected.
> - I saw some random SIGSEGV (I can't seem to reproduce them so won't be
>   able to post a stacktrace)
> - I think the redrawing issue can be solved by calling
>   :redraw_later(CLEAR) in the message_push() function
> - sometimes, Vim doesn't seem to react anymore (probaby because it is
>   busy writing the data from the background thread to the main thread)
>   (in face, after having your plugin run for several times, Vim doesn't
>   seem to react anymore to :qa! and I need to kill it) As I play around
>   more and more, this is really critical. Vim doesn't seem to react
>   anymore.
>
> (I haven't checked the gui yet).
>
> Best,
> Christian
> --
> Auch nach der Schulzeit gibt es kein Entrinnen vor den Bibelwerfern.
>                 -- Frank Welker
>
> --
> --
> You received this message from the "vim_dev" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups 
> "vim_dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui