To: vim_dev@googlegroups.com Subject: Patch 8.2.3885 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3885 Problem: Arglist test fails. Solution: Adjust for locking the arglist for ":all". Files: src/testdir/test_arglist.vim *** ../vim-8.2.3884/src/testdir/test_arglist.vim 2021-12-24 18:11:23.065159926 +0000 --- src/testdir/test_arglist.vim 2021-12-24 18:58:31.717606859 +0000 *************** *** 484,501 **** new " redefine arglist; go to Xxx1 next! Xxx1 Xxx2 Xxx3 ! " open window for all args; Reading Xxx2 will change the arglist and the ! " third window will get Xxx1: ! " win 1: Xxx1 ! " win 2: Xxx2 ! " win 3: Xxx1 ! all call assert_equal('test file Xxx1', getline(1)) wincmd w - wincmd w - call assert_equal('test file Xxx1', getline(1)) - rewind call assert_equal('test file Xxx2', getline(1)) autocmd! BufReadPost Xxx2 enew! | only --- 484,497 ---- new " redefine arglist; go to Xxx1 next! Xxx1 Xxx2 Xxx3 ! " open window for all args; Reading Xxx2 will try to change the arglist and ! " that will fail ! call assert_fails("all", "E1156:") call assert_equal('test file Xxx1', getline(1)) wincmd w call assert_equal('test file Xxx2', getline(1)) + wincmd w + call assert_equal('test file Xxx3', getline(1)) autocmd! BufReadPost Xxx2 enew! | only *************** *** 586,592 **** func Test_clear_arglist_in_all() n 0 00 000 0000 00000 000000 au! * 0 n 0 ! all au! * endfunc --- 582,588 ---- func Test_clear_arglist_in_all() n 0 00 000 0000 00000 000000 au! * 0 n 0 ! call assert_fails("all", "E1156") au! * endfunc *** ../vim-8.2.3884/src/version.c 2021-12-24 18:11:23.069159922 +0000 --- src/version.c 2021-12-24 18:17:21.044685176 +0000 *************** *** 751,752 **** --- 751,754 ---- { /* Add new patch number below this line */ + /**/ + 3885, /**/ -- From "know your smileys": C=}>;*{)) Drunk, devilish chef with a toupee in an updraft, a mustache, and a double chin /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///