Re: [PATCH v4 13/16] add indexopts to notmuch python bindings.
[notmuch-archives.git] / 34 / 08de668202952fb1bf0a3735cf81ff7d8b87ed
1 Return-Path: <cworth@cworth.org>\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 50CB9431FD0\r
6         for <notmuch@notmuchmail.org>; Mon, 23 May 2011 10:17:28 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.01\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.01 tagged_above=-999 required=5\r
12         tests=[T_MIME_NO_TEXT=0.01] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id 0rhO7fXSfS-G for <notmuch@notmuchmail.org>;\r
16         Mon, 23 May 2011 10:17:27 -0700 (PDT)\r
17 Received: from arlo.cworth.org (arlo.cworth.org [50.43.72.2])\r
18         by olra.theworths.org (Postfix) with ESMTP id BDC9D431FB6\r
19         for <notmuch@notmuchmail.org>; Mon, 23 May 2011 10:17:27 -0700 (PDT)\r
20 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
21         by arlo.cworth.org (Postfix) with ESMTP id C7ED329A518;\r
22         Mon, 23 May 2011 10:17:25 -0700 (PDT)\r
23 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
24         id 6F6BC254183; Mon, 23 May 2011 10:17:25 -0700 (PDT)\r
25 From: Carl Worth <cworth@cworth.org>\r
26 To: Patrick Totzke <patricktotzke@googlemail.com>, notmuch@notmuchmail.org\r
27 Subject: Re: a python terminal gui?\r
28 In-Reply-To: <20110521185037.GA13447@brick>\r
29 References: <1305888097-sup-2343@optimusprime>\r
30         <87pqndoww8.fsf@yoom.home.cworth.org>\r
31         <20110521185037.GA13447@brick>\r
32 User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1\r
33         (i486-pc-linux-gnu)\r
34 Date: Mon, 23 May 2011 10:17:20 -0700\r
35 Message-ID: <87lixxnxpb.fsf@yoom.home.cworth.org>\r
36 MIME-Version: 1.0\r
37 Content-Type: multipart/signed; boundary="=-=-=";\r
38         micalg=pgp-sha1; protocol="application/pgp-signature"\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.13\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43         <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Mon, 23 May 2011 17:17:28 -0000\r
52 \r
53 --=-=-=\r
54 Content-Transfer-Encoding: quoted-printable\r
55 \r
56 On Sat, 21 May 2011 19:50:37 +0100, Patrick Totzke <patricktotzke@googlemai=\r
57 l.com> wrote:\r
58 > That is surprising! I only fill the screen by iterating over an initial\r
59 > part of the iterator returned by Query.search_threads()\r
60 > I do a second query to count the messages by Query.count_messages(),\r
61 > but I'd guess that this translates to some sort of "SELECT COUNT"\r
62 > and should also be fast. Maybe there's some copying going on=20\r
63 > at lower levels?\r
64 \r
65 The "count" operation should be something very fast, yes.\r
66 \r
67 It might be worth some investigation to see if there's actually a\r
68 problem here or not.\r
69 \r
70 > >   * The '/' key didn't seem to do anything for me, so I wasn't able to\r
71 > >     actually do any custom searches.\r
72 > This is because it really is "\" :P that was a typo in the README.\r
73 \r
74 Ah. Thanks. That definitely helps.\r
75 \r
76 > Thanks, that's helpful. I guess it would make sense to place this under\r
77 > notmuch/contrib at a later point if it gets usable.\r
78 \r
79 Sure. I'll be glad to do that. Just let me know when you want it.\r
80 \r
81 > Ah I have question regarding "toplevel" messages in threads:\r
82 > How can it be that a mail that is not the one that started a thread\r
83 > is contained in thread.get_toplevel_messages() ?\r
84 > The only thing I can think of is that a user somehow forced two threads\r
85 > to become one. Take this very thread for example. Why do I get\r
86 > Mueen Nawaz's reply as a toplevel message? does this mean\r
87 > that messages header has incorrect Reply-to headers set?\r
88 \r
89 Hmmm... I do seem to be seeing that behavior.\r
90 \r
91 The message from Mueen Nawaz (id:"87y620subn.fsf@fester.com") does not\r
92 have any In-Reply-To header, but it does contain the following:\r
93 \r
94         References: <1305888097-sup-2343@optimusprime>\r
95 \r
96 which is the correct message ID for the original top-level message in\r
97 the thread.\r
98 \r
99 So it looks like there's a bug here in notmuch not correctly stitching\r
100 this message to its parent in this case. It should be an easy test case\r
101 to add to the suite (and hopefully an easy bug to fix as well).\r
102 \r
103 =2DCarl\r
104 \r
105 --=-=-=\r
106 Content-Type: application/pgp-signature\r
107 \r
108 -----BEGIN PGP SIGNATURE-----\r
109 Version: GnuPG v1.4.11 (GNU/Linux)\r
110 \r
111 iEYEARECAAYFAk3alqAACgkQ6JDdNq8qSWhd/wCfTzmRMA5MNSp6o8KBnSO3nLt1\r
112 MAIAnRN7CD1zs+v2TV7lApt6LEvJBtEw\r
113 =JSDk\r
114 -----END PGP SIGNATURE-----\r
115 --=-=-=--\r