Nikolay Pavlov wrote:

[...]

> >> , this needs absolutely no extensions to expression syntax should it
> >> define lambdas (and I really used this in Python). Such things are
> >> also a reason why `extended-funcref` was required: the more plugins
> >> and the longer Vim session lives, the more likely that anonymous
> >> functions counter gets overflown. My `extended-funcref` removed global
> >> registry which contained *all* functions: specifically lambdas in
> >> extended-funcref-lambdas preview and regular anonymous functions from
> >> the main feature branch no longer lived with other user functions:
> >> they were connected to funcref only and nothing else, no global name.
> >
> > What patch are you referring to?
> 
> I refer to my branches in https://bitbucket.org/ZyX_I/vim. They were
> posted as patches here AFAIR, but not accepted. In the current state
> extended-funcref branch does not work because something was broken
> during last merge and I did not fix this because nobody seemed to be
> interested; and actually more work is needed to implement partials on
> top of new funcrefs (BTW, in this branch no VAR_PARTIAL would be
> needed, everything is VAR_FUNC).

I believe that is in the todo list as a Python item:

Python: Extended funcrefs: use func_T* structure in place of char_u* function
names.
(ZyX, 2013 Jul 15, update Sep 22, 24, 28; Update 2013 Dec 15, 2014 Jan 6)
Also fixes Bug: E685 error for func_unref(). (ZyX, 2010 Aug 5)

Problem is that nobody else commented on that.

[...]

-- 
The term "free software" is defined by Richard M. Stallman as
being software that isn't necessarily for free.  Confusing?
Let's call it "Stallman software" then!
                                -- Bram Moolenaar

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

Raspunde prin e-mail lui