To: vim_dev@googlegroups.com Subject: Patch 8.2.0688 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.0688 Problem: Output clobbered if setting 'verbose' to see shell commands. Solution: Only output "Searching for" when 'verbose' is 11 or higher. Files: src/scriptfile.c, runtime/doc/options.txt *** ../vim-8.2.0687/src/scriptfile.c 2020-04-27 22:47:45.186176148 +0200 --- src/scriptfile.c 2020-05-03 16:52:02.799899254 +0200 *************** *** 228,234 **** buf = alloc(MAXPATHL); if (buf != NULL && rtp_copy != NULL) { ! if (p_verbose > 1 && name != NULL) { verbose_enter(); smsg(_("Searching for \"%s\" in \"%s\""), --- 228,234 ---- buf = alloc(MAXPATHL); if (buf != NULL && rtp_copy != NULL) { ! if (p_verbose > 10 && name != NULL) { verbose_enter(); smsg(_("Searching for \"%s\" in \"%s\""), *************** *** 276,282 **** copy_option_part(&np, tail, (int)(MAXPATHL - (tail - buf)), "\t "); ! if (p_verbose > 2) { verbose_enter(); smsg(_("Searching for \"%s\""), buf); --- 276,282 ---- copy_option_part(&np, tail, (int)(MAXPATHL - (tail - buf)), "\t "); ! if (p_verbose > 10) { verbose_enter(); smsg(_("Searching for \"%s\""), buf); *** ../vim-8.2.0687/runtime/doc/options.txt 2020-04-17 19:41:16.100078313 +0200 --- runtime/doc/options.txt 2020-05-03 16:50:14.640251596 +0200 *************** *** 8324,8332 **** --- 8323,8333 ---- Currently, these messages are given: >= 1 When the viminfo file is read or written. >= 2 When a file is ":source"'ed. + >= 4 Shell commands. >= 5 Every searched tags file and include file. >= 8 Files for which a group of autocommands is executed. >= 9 Every executed autocommand. + >= 11 Finding items in a path >= 12 Every executed function. >= 13 When an exception is thrown, caught, finished, or discarded. >= 14 Anything pending in a ":finally" clause. *** ../vim-8.2.0687/src/version.c 2020-05-03 16:29:46.891538441 +0200 --- src/version.c 2020-05-03 17:00:39.046164023 +0200 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 688, /**/ -- Don't read everything you believe. /// Bram Moolenaar -- Bram@Moolenaar.net -- 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 ///