Hi,

what the vim-remote project basically does, is to extract the client/server 
functionality into a library so that you can have different programs which 
are not Vim to interact with. So I can for example have a clojure backend 
server which understands this protocol. The vim side would then send some 
command via ':call remote_expr("My Clojure server", "(doc reduce)")' to eg. 
retrieve the documentation for the reduce function. Note how the expression 
is actually a *Clojure* expression. The clojure server can then a reply 
again with maybe '(remote-expr "the vim client" (format 
"ShowDocumentation('%s')" (-> (resolve reduce) meta :doc))'. Note how now 
the remote expression is again a vim expression, now. (Of course the actual 
interaction would be more complicated; just to show the idea...)

With vim-remote this is possible for X11 and Windows applications which are, 
important fact, not Vim. For MacVim I suppose I have to get a suitable 
NSConnection object AFAICT from my current reverse-engineering tries.

(The "call vim with approriate flags" doesn't help, because the receiving 
part must again be Vim, which is not what I want.)

Unfortunately Vim does not expose this interface via sockets. *geez*

Sincerely
Meikel

-- 
You received this message from the "vim_mac" 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

Reply via email to