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