--- /dev/null
+Return-Path: <alpine.art.de@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id D511F431FC4\r
+ for <notmuch@notmuchmail.org>; Fri, 10 Oct 2014 08:56:22 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id nhtpQxI3evbR for <notmuch@notmuchmail.org>;\r
+ Fri, 10 Oct 2014 08:56:17 -0700 (PDT)\r
+Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com\r
+ [209.85.217.182]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 1EE8F431FBC\r
+ for <notmuch@notmuchmail.org>; Fri, 10 Oct 2014 08:56:16 -0700 (PDT)\r
+Received: by mail-lb0-f182.google.com with SMTP id z11so3379100lbi.27\r
+ for <notmuch@notmuchmail.org>; Fri, 10 Oct 2014 08:56:15 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=date:message-id:from:to:subject:mime-version:content-type\r
+ :content-disposition:content-transfer-encoding;\r
+ bh=sdFd/+yoD6Pac9tVoB5gETeK4F/DdGFO9hEoBN8jH+4=;\r
+ b=MWTCfwdt1Uh2F4I/SrvS73w0E/9aBnLs99mjL1j82wtmZIQsOlgGOjhw3UDMJNlI97\r
+ KJgDRXr5vGsnUpMgNsKLIvRdA9ZsIvARe2QCM2WPMLChXQaWt8gpI49Ms1jksRdtOxLH\r
+ 0+fMoZ+9NCKCoj+t48GhjevQCiweJnrQkEboCzDAVsyPdQct+XOZY2zlPXYw7aALuhMV\r
+ Rw1ycUxE3TGPPPK0rO5Ua8tDTQh9ZnhxJywlBKj0OuIBLMDj9y9XBXkn26TX2sW3Vuj+\r
+ rKqoyibx5UuEdRFQ7XeayEmypPalMnyDjDFXKi2mjJh6FIbykawVUknDvgVgBjijVrOE\r
+ Uwiw==\r
+X-Received: by 10.112.134.101 with SMTP id pj5mr5604571lbb.47.1412956575064;\r
+ Fri, 10 Oct 2014 08:56:15 -0700 (PDT)\r
+Received: from localhost (p5B00C9E6.dip0.t-ipconnect.de. [91.0.201.230])\r
+ by mx.google.com with ESMTPSA id kz7sm1938682lac.10.2014.10.10.08.56.13\r
+ for <notmuch@notmuchmail.org>\r
+ (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+ Fri, 10 Oct 2014 08:56:14 -0700 (PDT)\r
+Date: Fri, 10 Oct 2014 17:56:23 +0200\r
+Message-ID: <20141010175623.GB7504@TP_L520.localdomain>\r
+From: Franz Fellner <alpine.art.de@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: VIM: search_refresh limits message count to 2 * window.height\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Disposition: inline\r
+Content-Transfer-Encoding: 8bit\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 10 Oct 2014 15:56:23 -0000\r
+\r
+The reason is that StagedRender.is_ready depends on last_render, which\r
+get's set to VIM::Buffer.count() in StagedRender::do_next.\r
+I do not (yet) know what exactly happens, but after the first call to\r
+search refresh last_render never get's less than 2*2*window.height.\r
+That means once you do search_refresh StagedRender never will be ready -\r
+is_ready returns false, so s:show_cursor_moved never will advance the\r
+StagedRender.\r
+\r
+I am trying to understand the code, but it's a hard time for me ;)\r