Patch 8.2.2419

6 views
Skip to first unread message

Bram Moolenaar

unread,
Jan 28, 2021, 6:09:30 AM1/28/21
to vim...@googlegroups.com

Patch 8.2.2419
Problem: Autocmd test was failing on MS-Windows with GUI.
Solution: Remove stray feedkeys().
Files: src/testdir/test_autocmd.vim


*** ../vim-8.2.2418/src/testdir/test_autocmd.vim 2021-01-26 22:42:17.690836814 +0100
--- src/testdir/test_autocmd.vim 2021-01-28 12:05:30.834333269 +0100
***************
*** 214,220 ****

normal! i1
call assert_fails('edit a.txt', 'E517:')
- call feedkeys("\<CR>")

autocmd! test_autocmd_bufunload
augroup! test_autocmd_bufunload
--- 214,219 ----
***************
*** 503,516 ****
" Using :blast and :ball for many events caused a crash, because b_nwindows was
" not incremented correctly.
func Test_autocmd_blast_badd()
- " The system() here causes SetChangeMarks() to fail, when run in the GUI
- " under Windows. No idea why. Happens with any external command, not
- " related to the actual test.
- " TODO: find the cause
- if has('win32')
- throw 'Skipped: calling system() causes problems'
- endif
-
let content =<< trim [CODE]
au BufNew,BufAdd,BufWinEnter,BufEnter,BufLeave,BufWinLeave,BufUnload,VimEnter foo* blast
edit foo1
--- 502,507 ----
*** ../vim-8.2.2418/src/version.c 2021-01-28 11:07:40.881497383 +0100
--- src/version.c 2021-01-28 12:06:28.297739958 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2419,
/**/

--
If VIM were a woman, I'd marry her. Slim, organized, helpful
and beautiful; what's not to like? --David A. Rogers

/// Bram Moolenaar -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages