On Tuesday, June 7, 2016 at 12:14:25 AM UTC+3, Bram Moolenaar wrote:
> Xavier de Gaye wrote:
> 
> > On 06/05/2016 04:11 PM, Bram Moolenaar wrote:
> >  >> Xavier de Gaye wrote:
> >  >>
> >  >>> Two pyclewn tests fail after patch 7.4.1891. It seems that not all 
> > 'insert'
> >  >>> function messages are matched with a reply from Vim after this patch.
> >  >>> This happens with a test that sends 50 'insert' of 353 bytes in a row
> >  >>> interleaved with about the same amount of 'remove' and only 5 of these
> >  >>> are acknowledged with a reply.
> >  >>
> >  >> Can you debug to find out what happens?
> >  >>
> >  >> To narrow down the problem, you could change this TRUE to FALSE:
> >  >>
> >  >>          if (channel_collapse(nb_channel, PART_SOCK, TRUE) == FAIL)
> >  >>
> >  >> This is in netbeans.c
> >  >>
> >  >
> >  > Never mind.  I thought this was covered by a test but it wasn't.  Now
> >  > that I add a test for collapsing I can see the error.
> > 
> > 
> > Not sure if v7.4.1902 is supposed to fix this, anyway it still fails with 
> > this
> > last change.
> > 
> >  >> Or how could I reproduce this myself?
> > 
> > Install pyclewn and run in the distribution directory:
> 
> What is the distribution directory?  I looked in 
> /usr/local/lib/python2.7/dist-packages/clewn
> but there is no setup.py there.
> 
> >      EDITOR=vim python setup.py test --test=simple -d -p test_014
> > 
> > The ./logfile file traces the netbeans messages.
> > 
> > I will be able to debug this problem by the end of this week.
> 
> -- 
> Over the years, I've developed my sense of deja vu so acutely that now
> I can remember things that *have* happened before ...
> 
>  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
> \\\  an exciting new programming language -- http://www.Zimbu.org        ///
>  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

I can reproduce this using:

vim -u NONE -N
:call job_start('ls -R /', {'out_io': 'buffer', 'out_buf': 1})

I get only 405 lines in response.

-- 
-- 
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/d/optout.

Raspunde prin e-mail lui