Patch 9.0.0315
Problem:    Shell command is displayed in message window.
Solution:   Do not echo the shell command in the message window.
Files:      src/ex_cmds.c, src/message.c


*** ../vim-9.0.0314/src/ex_cmds.c       2022-08-25 15:11:11.400084545 +0100
--- src/ex_cmds.c       2022-08-29 12:06:59.412452311 +0100
***************
*** 1011,1016 ****
--- 1011,1017 ----
      if (addr_count == 0)              // :!
      {
        // echo the command
+       dont_use_message_window();
        msg_start();
        msg_putchar(':');
        msg_putchar('!');
*** ../vim-9.0.0314/src/message.c       2022-08-28 22:46:17.455056755 +0100
--- src/message.c       2022-08-29 12:22:56.013725893 +0100
***************
*** 1472,1478 ****
      }
  
  #ifdef FEAT_EVAL
!     if (need_clr_eos || p_ch == 0)
      {
        // Halfway an ":echo" command and getting an (error) message: clear
        // any text from the command.
--- 1472,1478 ----
      }
  
  #ifdef FEAT_EVAL
!     if (need_clr_eos || use_message_window())
      {
        // Halfway an ":echo" command and getting an (error) message: clear
        // any text from the command.
***************
*** 1508,1515 ****
  #endif
            0;
      }
!     else if (msg_didout || p_ch == 0)     // start message on next line
      {
        msg_putchar('\n');
        did_return = TRUE;
        if (exmode_active != EXMODE_NORMAL)
--- 1508,1516 ----
  #endif
            0;
      }
!     else if (msg_didout || use_message_window())
      {
+       // start message on next line
        msg_putchar('\n');
        did_return = TRUE;
        if (exmode_active != EXMODE_NORMAL)
*** ../vim-9.0.0314/src/version.c       2022-08-29 11:57:14.385885679 +0100
--- src/version.c       2022-08-29 12:08:30.712068631 +0100
***************
*** 709,710 ****
--- 709,712 ----
  {   /* Add new patch number below this line */
+ /**/
+     315,
  /**/

-- 
This message contains 78% recycled characters.

 /// 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/20220829113928.E32F61C07CD%40moolenaar.net.

Raspunde prin e-mail lui