VIM: search_refresh limits message count to 2 * window.height

Subject: VIM: search_refresh limits message count to 2 * window.height

Date: Fri, 10 Oct 2014 17:56:23 +0200

To: notmuch@notmuchmail.org

Cc:

From: Franz Fellner


The reason is that StagedRender.is_ready depends on last_render, which
get's set to VIM::Buffer.count() in StagedRender::do_next.
I do not (yet) know what exactly happens, but after the first call to
search refresh last_render never get's less than 2*2*window.height.
That means once you do search_refresh StagedRender never will be ready -
is_ready returns false, so s:show_cursor_moved never will advance the
StagedRender.

I am trying to understand the code, but it's a hard time for me ;)

Thread: