Patch 8.1.1258
Problem:    The "N files to edit" message can not be surpressed.
Solution:   Surpress the message with --not-a-term. (closes #4320)
Files:      src/main.c


*** ../vim-8.1.1257/src/main.c  2019-04-28 22:25:03.244480028 +0200
--- src/main.c  2019-05-03 22:22:01.481884022 +0200
***************
*** 375,383 ****
        setvbuf(stdout, NULL, _IOLBF, 0);
  #endif
  
!     /* This message comes before term inits, but after setting "silent_mode"
!      * when the input is not a tty. */
!     if (GARGCOUNT > 1 && !silent_mode)
        printf(_("%d files to edit\n"), GARGCOUNT);
  
      if (params.want_full_screen && !silent_mode)
--- 375,383 ----
        setvbuf(stdout, NULL, _IOLBF, 0);
  #endif
  
!     // This message comes before term inits, but after setting "silent_mode"
!     // when the input is not a tty. Omit the message with --not-a-term.
!     if (GARGCOUNT > 1 && !silent_mode && !is_not_a_term())
        printf(_("%d files to edit\n"), GARGCOUNT);
  
      if (params.want_full_screen && !silent_mode)
*** ../vim-8.1.1257/src/version.c       2019-05-03 22:14:59.452363625 +0200
--- src/version.c       2019-05-03 22:24:01.537189664 +0200
***************
*** 769,770 ****
--- 769,772 ----
  {   /* Add new patch number below this line */
+ /**/
+     1258,
  /**/

-- 
An indication you must be a manager:
You feel sorry for Dilbert's boss.

 /// 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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui