Christian J. Robinson wrote:
> Previously this worked, but in the last day or so it has broken.
>
> Vim sends a message to the server, the server first sends Vim a
> message with message number 0, then Vim completely ignores a message
> with the same index it sent.
>
> Attached files reproduce this. Place both in the same directory, and
> source the Vim script. Vim should echo two messages, but only echos
> one.
Thanks for reporting. I managed to reproduce it and write a test case
in test_channel.vim.
What happens is that when the message with zero ID arrives it takes the
callback that's queued up to wait for the ch_sendexpr() response.
We need to check for a callback without a sequence number.
--
For large projects, Team Leaders use sophisticated project management software
to keep track of who's doing what. The software collects the lies and guesses
of the project team and organizes them in to instantly outdated charts that
are too boring to look at closely. This is called "planning".
(Scott Adams - The Dilbert principle)
/// 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 ///
--
--
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.