To: vim_dev@googlegroups.com Subject: Patch 8.2.5094 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.5094 Problem: MS-Windows GUI: empty command may cause a dialog. Solution: Delete the dialog file. Improve the message. Files: src/testdir/runtest.vim, src/testdir/test_ex_mode.vim *** ../vim-8.2.5093/src/testdir/runtest.vim 2022-06-13 21:42:40.949531347 +0100 --- src/testdir/runtest.vim 2022-06-14 17:13:37.356057835 +0100 *************** *** 246,253 **** endif if filereadable('guidialogfile') ! call add(v:errors, "Unexpected dialog:") ! call add(v:errors, readfile('guidialogfile').join('\n')) call delete('guidialogfile') endif --- 246,252 ---- endif if filereadable('guidialogfile') ! call add(v:errors, "Unexpected dialog: " .. readfile('guidialogfile')->join('')) call delete('guidialogfile') endif *** ../vim-8.2.5093/src/testdir/test_ex_mode.vim 2022-04-16 18:52:13.225151870 +0100 --- src/testdir/test_ex_mode.vim 2022-06-14 17:12:14.388448353 +0100 *************** *** 261,266 **** --- 261,269 ---- call assert_equal(1, RunVim([], [], '-u NONE -e -s -S Xexmodescript')) call delete('Xexmodescript') + + " This may cause a dialog to be displayed for an empty command, ignore it. + call delete('guidialogfile') endfunc *** ../vim-8.2.5093/src/version.c 2022-06-14 16:06:03.861470994 +0100 --- src/version.c 2022-06-14 17:11:07.748773836 +0100 *************** *** 736,737 **** --- 736,739 ---- { /* Add new patch number below this line */ + /**/ + 5094, /**/ -- Violators can be fined, arrested or jailed for making ugly faces at a dog. [real standing law in Oklahoma, United States of America] /// 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 ///