Hi Bram,
2016/2/6 Sat 6:37:07 UTC+9 Bram Moolenaar wrote:
> Patch 7.4.1263
> Problem: ch_open() hangs when the server isn't running.
> Solution: Add a timeout. Use a dict to pass arguments. (Yasuhiro Matsumoto)
> Files: runtime/doc/eval.txt, runtime/doc/channel.txt, src/channel.c,
> src/eval.c, src/netbeans.c, src/os_win32.c, src/proto/channel.pro,
> src/testdir/test_channel.vim
I found some typos in the document:
--- a/runtime/doc/channel.txt
+++ b/runtime/doc/channel.txt
@@ -93,7 +93,7 @@ The default is zero, don't wait, which i
be running already. A negative number waits forever.
"timeout" is the time to wait for a request when blocking, using
-ch_sendexpr(). Again in millisecons. The default si 2000 (2 seconds).
+ch_sendexpr(). Again in millisecons. The default is 2000 (2 seconds).
When "mode" is "json" the "msg" argument is the body of the received message,
converted to Vim types.
@@ -104,7 +104,7 @@ possible to receive a message after send
The handler can be added or changed later: >
call ch_setcallback(handle, {callback})
-When "callback is empty (zero or an empty string) the handler is removed.
+When "callback" is empty (zero or an empty string) the handler is removed.
NOT IMPLEMENTED YET
The timeout can be changed later: >
Regards,
Ken Takata
--
--
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.