Bot Hiestand wrote:

> > > On Thu, Sep 3, 2009 at 6:13 AM, Bram Moolenaar<[email protected]>
> > wrote:
> > >
> > > >> Here's a probably better patch, and a test case to show the behavior I
> > > >> expect from exists() with respect to autocommands:
> > > >
> > > > Thanks for the patch and testcase script.  Would you be able to turn
> > the
> > > > script into a test for src/testdir?  That will greatly help avoid
> > > > regressions.
> > >
> > > Sure, something like the following?
> >
> > Looks good.
> >
> > To make it a bit easier to locate any exists() that doesn't do what was
> > expected, can you make it:
> >
> >  :call add(results, '##BufEnter: ' + exists('##BufEnter'))
> >
> >
> Sure, a revised patch is attached.

I had already done this myself, since it was simple.  It is in patch
7.2.259.  Please have a look and let me know if something can be
improved.

-- 
Marriage isn't a word.  It's a sentence.

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

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui