> It would be good to know why the recursion is needed.

The canonical example is an autocommand handler in a remote plugin
that performs some actions that trigger another autocommand that also
has a remote handler.

But we have many others.

> One thing we can
> do is to only disallow closing channels when called recursively.

This would work. We only ever close the channel from Vim on exit, and
if we wanted to close if prior to that it would not be via a remote
function call, it would be via pure VimScript.

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CACoUkn6G1r_bSuC8p-1PG9RMpcu5JpG-xaEnMinz6fp9yEi02Q%40mail.gmail.com.

Raspunde prin e-mail lui