More prompt is displayed in test function

12 views
Skip to first unread message

Michael Soyka

unread,
Nov 8, 2019, 4:17:14 PM11/8/19
to vim_dev
In function Test_script_local_func ,defined in test_vimscript.vim, the 'compatible' option is turned off.  This has the side effect of turning the 'more' option on which can cause test execution to be halted by the more prompt.  The attached patch prevents this by setting 'nomore' after 'nocp'. 
0001-prevent-more-prompt-in-Test_script_local_func.patch

Bram Moolenaar

unread,
Nov 8, 2019, 5:01:02 PM11/8/19
to vim...@googlegroups.com, Michael Soyka
I haven't seen this problem, but I suppose it can happen in a smaller
terminal. Thanks for the fix.

--
hundred-and-one symptoms of being an internet addict:
43. You tell the kids they can't use the computer because "Daddy's got work to
do" and you don't even have a job.

/// 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 ///

Michael Soyka

unread,
Nov 8, 2019, 5:21:07 PM11/8/19
to vim...@googlegroups.com
On 11/08/2019 5:00 PM, Bram Moolenaar wrote:
> Michael Soyka wrote:
>
>> In function Test_script_local_func ,defined in test_vimscript.vim, the
>> 'compatible' option is turned off. This has the side effect of turning the
>> 'more' option on which can cause test execution to be halted by the more
>> prompt. The attached patch prevents this by setting 'nomore' after
>> 'nocp'.
> I haven't seen this problem, but I suppose it can happen in a smaller
> terminal. Thanks for the fix.
>
I did not see this testing vim.exe but do see it testing gvim.exe


-mike

Reply all
Reply to author
Forward
0 new messages