Taro Muraoka wrote:

> I want to know policy of patch including.
> 
> Patch#289 is a fix for vim's incomplete feature.
> Some plugins has redundant script lines to avoid it.  Those are in
> unatural ways, makes many lines and waste developer times.  Of course,
> I
> understand that patch#289 causes some troubles for some plugins.
> 
> # It may be included when major upgrading.
> 
> Although, I have to complain this reverting, because it slows vim's
> improvement speed.
> 
> So pathc#289 has these characteristics:
> 
>   * Vim is not perfect.
>     * Plugin covers it. (and depending on it)
>   * A patch makes vim more perfect.
>     * It breaks those plugins (depending on vim's imperfect features).
> 
> I want to know including policy for this like patches.

Several users complained that the patch has broken existing plugins.
That's a good reason to revert it.

The Insert mode completion is very complex. It's hard to say what the
right way is to do something.  We need specific examples to find out
what is the best solution.

A complete function can be slow, thus we should only call it when
needed.  In your specific case it's needed in a very unexpected way.
Adding a character is expected to reduce the number of matches.  You
wrote:
    * Complete "a" to "foo1", "foo2" and "foo3".
    * Complete "ab" to "bar1", "bar2" and "bar3".
That's not logical, thus it is no surprise this is not the default
behavior.  Perhaps the complete function should somehow indicate that it
must be called whenever the leader changes.

-- 
Are leaders born or made?  And if they're made, can we return them under
warranty?
                                (Scott Adams - The Dilbert principle)

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

Raspunde prin e-mail lui