Patch 8.2.0841
Problem: 'verbose' value 16 causes duplicate output.
Solution: Combine levels 15 and 16 into one message. (Christian Brabandt,
closes #6153)
Files: runtime/doc/options.txt, src/ex_docmd.c
*** ../vim-8.2.0840/runtime/doc/options.txt 2020-05-03 17:01:19.842024266 +0200
--- runtime/doc/options.txt 2020-05-29 22:54:33.374842010 +0200
***************
*** 8332,8338 ****
>= 12 Every executed function.
>= 13 When an exception is thrown, caught, finished, or discarded.
>= 14 Anything pending in a ":finally" clause.
! >= 15 Every executed Ex command (truncated at 200 characters).
This option can also be set with the "-V" argument. See |-V|.
This option is also set by the |:verbose| command.
--- 8331,8339 ----
>= 12 Every executed function.
>= 13 When an exception is thrown, caught, finished, or discarded.
>= 14 Anything pending in a ":finally" clause.
! >= 15 Every executed Ex command from a script (truncated at 200
! characters).
! >= 16 Every executed Ex command
This option can also be set with the "-V" argument. See |-V|.
This option is also set by the |:verbose| command.
*** ../vim-8.2.0840/src/ex_docmd.c 2020-05-25 22:36:46.629735032 +0200
--- src/ex_docmd.c 2020-05-29 22:56:46.838328079 +0200
***************
*** 967,973 ****
}
}
! if (p_verbose >= 15 && SOURCING_NAME != NULL)
msg_verbose_cmd(SOURCING_LNUM, cmdline_copy);
/*
--- 967,973 ----
}
}
! if ((p_verbose >= 15 && SOURCING_NAME != NULL) || p_verbose >= 16)
msg_verbose_cmd(SOURCING_LNUM, cmdline_copy);
/*
***************
*** 1691,1699 ****
if ((*cmdlinep)[0] == '#' && (*cmdlinep)[1] == '!')
goto doend;
- if (p_verbose >= 16)
- msg_verbose_cmd(0, *cmdlinep);
-
/*
* 1. Skip comment lines and leading white space and colons.
* 2. Handle command modifiers.
--- 1691,1696 ----
*** ../vim-8.2.0840/src/version.c 2020-05-29 22:49:21.432024171 +0200
--- src/version.c 2020-05-29 23:02:15.729048647 +0200
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 841,
/**/
--
hundred-and-one symptoms of being an internet addict:
208. Your goals for the future are obtaining an T1 connection and
a 130 gig hard drive.
/// Bram Moolenaar -- Br...@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 ///