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('<NL>'))
      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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220614161429.EAC491C233D%40moolenaar.net.

Raspunde prin e-mail lui