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

Re: QuitPre event doesn't occur when :quitall or :wq commands are executed

Expand Messages
  • Bram Moolenaar
    ... Thanks for the patch. I ll look into it. -- hundred-and-one symptoms of being an internet addict: 22. You ve already visited all the links at Yahoo and
    Message 1 of 2 , Mar 3 4:28 AM
    • 0 Attachment
      Tatsuro Fujii wrote:

      > Hi.
      > I have an issue about QuitPre event.
      >
      > [step]
      > 1. Add following autocmd statements to .vimrc.
      > - autocmd QuitPre * call system('touch ~/quitpre.txt')
      > 2. Open some file.
      > 3. exec :wq or :qall.
      >
      > [expected]
      > After step3, ~/quitpre.txt exists. ('autocmd QuitPre' is executed)
      >
      > [actual]
      > After step3, ~/quitpre.txt DOESNOT exist.
      >
      > [Version]
      > version 7.3.843
      >
      > And I've created the patch. Could you check it?

      Thanks for the patch. I'll look into it.


      --
      hundred-and-one symptoms of being an internet addict:
      22. You've already visited all the links at Yahoo and you're halfway through
      Lycos.

      /// Bram Moolenaar -- Bram@... -- 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 vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    Your message has been successfully submitted and would be delivered to recipients shortly.