Patch 7.4.2346
Problem:    Autocommand test fails when run directly, passes when run as part
            of test_alot.
Solution:   Add command to make the cursor move.  Close a tab page.
Files:      src/testdir/test_autocmd.vim


*** ../vim-7.4.2345/src/testdir/test_autocmd.vim        2016-09-06 
22:15:04.753077591 +0200
--- src/testdir/test_autocmd.vim        2016-09-08 22:06:01.039674235 +0200
***************
*** 13,18 ****
--- 13,21 ----
    endfunc
  
    func Test_cursorhold_insert()
+     " Need to move the cursor.
+     call feedkeys("ggG", "xt")
+ 
      let g:triggered = 0
      au CursorHoldI * let g:triggered += 1
      set updatetime=20
***************
*** 93,98 ****
--- 96,102 ----
    augroup END
    call setline(1, ['a', 'b', 'c'])
    edit! a.txt
+   tabclose
  endfunc
  
  " SEGV occurs in older versions.  (At least 7.4.2321 or older)
*** ../vim-7.4.2345/src/version.c       2016-09-08 20:28:42.196597755 +0200
--- src/version.c       2016-09-08 22:08:51.410236915 +0200
***************
*** 765,766 ****
--- 765,768 ----
  {   /* Add new patch number below this line */
+ /**/
+     2346,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
203. You're an active member of more than 20 newsgroups.

 /// Bram Moolenaar -- b...@moolenaar.net -- 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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui