Kazunobu Kuriyama wrote:

> 2016-04-15 0:16 GMT+09:00 Bram Moolenaar <[email protected]>:
> 
> >
> > Patch 7.4.1735
> > Problem:    It is not possible to only see part of the message history.
> > It is
> >             not possible to clear messages.
> > Solution:   Add a count to ":messages" and a clear argument. (Yasuhiro
> >             Matsumoto)
> > Files:      runtime/doc/message.txt, src/ex_cmds.h, src/message.c,
> >             src/testdir/test_messages.vim, src/testdir/test_alot.vim
> >
> 
> With this patch, "make test" on OS X 10.11.4 failed with the message:
> ```
> Executed 70 tests
> 1 FAILED:
> Found errors in Test_messages():
> Caught exception in Test_messages(): Vim(messages):E16: Invalid range:
> 2messages | redraw @ function RunTheTest[9]..Test_messages, line 12
> 
> 
> From test_alot.vim:
> Found errors in Test_messages():
> Caught exception in Test_messages(): Vim(messages):E16: Invalid range:
> 2messages | redraw @ function RunTheTest[9]..Test_messages, line 12
> 
> Test results:
> 
> 
> From test_alot.vim:
> Found errors in Test_messages():
> Caught exception in Test_messages(): Vim(messages):E16: Invalid range:
> 2messages | redraw @ function RunTheTest[9]..Test_messages, line 12
> TEST FAILURE
> make[1]: *** [report] Error 1
> make: *** [test] Error 2

Should be fixed now.  The count depended on the number of lines in the
buffer, test passed by itself but not after another one.

-- 
Facepalm statement #2: "If there is a country without immigrants I'm going to
move there"

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