1 Return-Path: <chm.duquesne@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 3F4D0429E35
\r
6 for <notmuch@notmuchmail.org>; Thu, 13 Jan 2011 10:46:57 -0800 (PST)
\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 8QzBCtX-C4Td for <notmuch@notmuchmail.org>;
\r
17 Thu, 13 Jan 2011 10:46:57 -0800 (PST)
\r
18 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com
\r
19 [74.125.82.45]) by olra.theworths.org (Postfix) with ESMTP id B500B429E34 for
\r
20 <notmuch@notmuchmail.org>; Thu, 13 Jan 2011 10:46:56 -0800 (PST)
\r
21 Received: by wwb29 with SMTP id 29so2010959wwb.2
\r
22 for <notmuch@notmuchmail.org>; Thu, 13 Jan 2011 10:46:49 -0800 (PST)
\r
23 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
24 h=domainkey-signature:mime-version:in-reply-to:references:from:date
\r
25 :message-id:subject:to:cc:content-type;
\r
26 bh=gD+hIPz+etg3h0IYs9POmFVwknpDlVkCuaD78W2TQhA=;
\r
27 b=TtWChm1NaiwE0HyJFp8i1Uu6uuCtvpIjk/aXovuJjKfNRDoEinC/bbALkk/meUOn8H
\r
28 kzIV+XgA0NTmPtUkDl0VNSYyS/zm5YzGmsqhNWnbtZALQkJekwZG/XOHZ+5kzWx/OC5F
\r
29 HxPmWRyBdVHRNq8RPEQEvEf12pfM5Us1yE50E=
\r
30 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
\r
31 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
\r
33 b=YxJEQKkI7qtUXn21JZeunmVnSqaekZqpPHiRxzNkJdKCLawFe4aBWo0bok00KTmVPq
\r
34 RdTQl5U9ecFx8FbJJZfq0cJhqNiTrSdfl0Qi5w8Q4GWod9qeFcqgACU97DCxqLwI40do
\r
35 hsSMuCCjztw6stOuBh+188Ai3WcVaAa8MiqBI=
\r
36 Received: by 10.227.141.131 with SMTP id m3mr2682194wbu.125.1294944409389;
\r
37 Thu, 13 Jan 2011 10:46:49 -0800 (PST)
\r
39 Received: by 10.227.143.206 with HTTP; Thu, 13 Jan 2011 10:46:29 -0800 (PST)
\r
40 In-Reply-To: <8762ttf5wy.fsf@SSpaeth.de>
\r
41 References: <AANLkTi=Mzu9bu3y0RKB5YZUpZOT9qujXgxtpB-8Bvk=2@mail.gmail.com>
\r
42 <8762ttf5wy.fsf@SSpaeth.de>
\r
43 From: Christophe-Marie Duquesne <chm.duquesne@gmail.com>
\r
44 Date: Thu, 13 Jan 2011 19:46:29 +0100
\r
45 Message-ID: <AANLkTimYDZaHBxNxkJHfs+4Ww73_+7oEqW+bOexskJjU@mail.gmail.com>
\r
46 Subject: Re: About the json output and the number of results shown.
\r
47 To: Sebastian Spaeth <Sebastian@sspaeth.de>
\r
48 Content-Type: text/plain; charset=UTF-8
\r
49 Cc: notmuch@notmuchmail.org
\r
50 X-BeenThere: notmuch@notmuchmail.org
\r
51 X-Mailman-Version: 2.1.13
\r
53 List-Id: "Use and development of the notmuch mail system."
\r
54 <notmuch.notmuchmail.org>
\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
58 List-Post: <mailto:notmuch@notmuchmail.org>
\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
61 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
62 X-List-Received-Date: Thu, 13 Jan 2011 18:46:57 -0000
\r
64 > Alternatively, you could use the python bindings to libnotmuch and call
\r
65 > the functions directly. You could do that in a unthreaded or threaded
\r
68 I've had a look to the python libnotmuch documentation. My problem
\r
69 with this API is that, unless I did not read it correctly, if I use
\r
70 one of its functions in a threaded fashion, I still have to wait for
\r
71 this function to finish until I get results. When using the command
\r
72 line tool, I can process the text as it gets printed on stdout, and I
\r
73 have data to show to the user even though notmuch has not finished to
\r