Patch 8.2.0834
Problem: :drop command in terminal popup causes problems.
Solution: Check for using a popup window. (closes #6151)
Files: src/ex_cmds.c, src/testdir/test_popupwin.vim
*** ../vim-8.2.0833/src/ex_cmds.c 2020-05-13 13:40:12.690995638 +0200
--- src/ex_cmds.c 2020-05-27 23:10:33.811029816 +0200
***************
*** 6349,6354 ****
--- 6349,6357 ----
buf_T *buf;
tabpage_T *tp;
+ if (ERROR_IF_POPUP_WINDOW || ERROR_IF_TERM_POPUP_WINDOW)
+ return;
+
/*
* Check if the first argument is already being edited in a window. If
* so, jump to that window.
*** ../vim-8.2.0833/src/testdir/test_popupwin.vim 2020-05-18
19:46:00.074602945 +0200
--- src/testdir/test_popupwin.vim 2020-05-27 23:10:33.815029799 +0200
***************
*** 2445,2450 ****
--- 2445,2453 ----
call assert_fails('call feedkeys("gf", "xt")', 'E863:')
call feedkeys("a\<C-U>", 'xt')
+ " Cannot escape from terminal window
+ call assert_fails('tab drop xxx', 'E863:')
+
" Cannot open a second one.
let termbuf2 = term_start(&shell, #{hidden: 1})
call assert_fails('call popup_create(termbuf2, #{})', 'E861:')
*** ../vim-8.2.0833/src/version.c 2020-05-27 22:08:30.127660296 +0200
--- src/version.c 2020-05-27 23:12:51.662517066 +0200
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 834,
/**/
--
Some of the well known MS-Windows errors:
EHUH Unexpected error
EUSER User error, not our fault!
EGOD Horrible problem, god knows what has happened
EERR Errornous error: nothing wrong
/// Bram Moolenaar -- [email protected] -- 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202005272119.04RLJIsU945020%40masaka.moolenaar.net.