To: vim_dev@googlegroups.com Subject: Patch 9.0.0315 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- 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 ///