Benji Fisher wrote:

> On Tue, May 02, 2006 at 12:13:37AM +0200, Bram Moolenaar wrote:
> > 
> > Charles Campbell wrote:
> > 
> > > Bram Moolenaar wrote:
> > > 
> > > >The problem of changing something like this is that all scripts that are
> > > >included in the release need to be checked for effects.  And there are
> > > >lots of scripts now.  I wouldn't be surprised if, for example, the netrw
> > > >plugin stops working properly.
> > > 
> > > In perusing netrw, I believe that all the netrw usages of 
> > > exists("*func") give exists() a full function
> > > name; ie. they don't depend on its just being a prefix.  So, I expect 
> > > that netrw should work ok with
> > > such a change.
> > 
> > Bad example...  I meant that there are scripts that are too big to
> > check.
> 
>      I tried
> 
> :vimgrep /exists[^)]*\*/ $VIMRUNTIME/**/*.vim
> :cl
> 
> and found that there are 111 matches.  If all we are worried about is
> exists("*<string>") where <string> contains non-'isk' characters, then I
> am willing to check them.  I bet there are very few.

The point is that the past year we have been testing everything with the
way it works now.  If this is changed then we have to make sure that
there is not a new problem anywhere.

Also keep in mind that scripts sometimes contain bugs that are not
discovered until something seemingly harmless is changed in how Vim
behaves.

But if you are willing to carefully inspect all places where exists() is
used and make sure that this change will not cause any problem then I
might reconsider.  If you make a mistake and we find a bug anyway than
you will be severely punished (we'll send the Spanish inquisition)!

-- 
DENNIS: Look,  strange women lying on their backs in ponds handing out
        swords ... that's no basis for a system of government.  Supreme
        executive power derives from a mandate from the masses, not from some
        farcical aquatic ceremony.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to