Patch 9.0.0301
Problem:    The message window popup is delayed after an error message.
Solution:   Do not set emsg_on_display when using the message window.
Files:      src/message.c


*** ../vim-9.0.0300/src/message.c       2022-08-28 17:08:14.857917390 +0100
--- src/message.c       2022-08-28 17:51:26.488440696 +0100
***************
*** 750,757 ****
  #endif
      }
  
!     emsg_on_display = TRUE;   // remember there is an error message
!     attr = HL_ATTR(HLF_E);    // set highlight mode for error messages
      if (msg_scrolled != 0)
        need_wait_return = TRUE;    // needed in case emsg() is called after
                                    // wait_return has reset need_wait_return
--- 750,761 ----
  #endif
      }
  
! #ifdef HAS_MESSAGE_WINDOW
!     if (!use_message_window())
! #endif
!       emsg_on_display = TRUE;     // remember there is an error message
! 
!     attr = HL_ATTR(HLF_E);        // set highlight mode for error messages
      if (msg_scrolled != 0)
        need_wait_return = TRUE;    // needed in case emsg() is called after
                                    // wait_return has reset need_wait_return
*** ../vim-9.0.0300/src/version.c       2022-08-28 17:44:13.937443970 +0100
--- src/version.c       2022-08-28 17:52:52.727523226 +0100
***************
*** 709,710 ****
--- 709,712 ----
  {   /* Add new patch number below this line */
+ /**/
+     301,
  /**/

-- 
Communication is one of the most compli..., eh, well, it's hard.
You know what I mean.  Not?

 /// 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/20220828165403.60E2B1C07CD%40moolenaar.net.

Raspunde prin e-mail lui