Open GoogleCodeExporter opened 9 years ago
To reproduce, try:
1) Write this simple 3-line python script:
#
#
1/0
2) let &l:errorformat=' File "%f"\, line %l%.%#' | let &l:makeprg='python %'
3a) Move the cursor to the first line and :make
=> Fine
3b) Move the cursor to the third line and :make
=> Double Hit Enter prompt
Notice the error is just empty because of the way errorformat was defined. The
problem is not that the message is too long! (although, strangely enough,
setting cmdheight to 2 supresses the extra prompt...)
There is another situation when the Hit Enter prompt is shown twice
and yet it's also unrelated to long messages: when there are no valid
entries in the qf list. In the example above, replace `1/0` for
`print('hello')` and repeat the steps. Now both 3a and 3b end up
showing a double prompt, despite there is nowhere to jump to and no
valid error message to show.
Original comment by carlosjo...@gmail.com
on 26 Jun 2015 at 2:58
Original issue reported on code.google.com by
carlosjo...@gmail.com
on 24 Jun 2015 at 3:36