Lech Lorens wrote:

> Yesterday while remotely debugging some Vim scripts I discovered 
> (actually it is mentioned in the documentation) that remote_expr() 
> imposes a limitation on the type of expressions handled: the expression 
> must be a string or a list (although the implementation correctly 
> handles integers and floats as well).
> 
> I am wondering if there is a good reason for this limitation. In the 
> attached patch I applied the logic from f_string() on the result of 
> expression, thus eliminating the limitation.
> 
> Please, comment.
> 
> If the patch is to be applied upstream, documentation for remote_expr() 
> should be updated.

What happens with nested lists and dicts?


-- 
hundred-and-one symptoms of being an internet addict:
103. When you find yourself in the "Computer" section of Barnes & Noble
     enjoying yourself.

 /// 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/groups/opt_out.

Raspunde prin e-mail lui