Loading ...
Sorry, an error occurred while loading the content.

54961Re: au_exists bug, was Re: Test Existence of Autocommand?

Expand Messages
  • Bob Hiestand
    Sep 13, 2009
      On Sun, Sep 6, 2009 at 12:11 PM, Bram Moolenaar <Bram@...> wrote:

      Bob Hiestand wrote:

      > On Thu, Sep 3, 2009 at 6:13 AM, Bram Moolenaar<Bram@...> 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.

      Thank you,


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

    • Show all 6 messages in this topic