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 -- [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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202005031502.043F2Q8g031195%40masaka.moolenaar.net.