1 Return-Path: <Sebastian@sspaeth.de>
\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 24DAC429E43
\r
6 for <notmuch@notmuchmail.org>; Fri, 14 Jan 2011 05:48:44 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 RCVD_IN_DNSWL_NONE=-0.0001] 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 0Oxkh1RrwWEy for <notmuch@notmuchmail.org>;
\r
17 Fri, 14 Jan 2011 05:48:43 -0800 (PST)
\r
18 Received: from homiemail-a17.g.dreamhost.com (caiajhbdcbhh.dreamhost.com
\r
20 by olra.theworths.org (Postfix) with ESMTP id 8A82D429E40
\r
21 for <notmuch@notmuchmail.org>; Fri, 14 Jan 2011 05:48:43 -0800 (PST)
\r
22 Received: from homiemail-a17.g.dreamhost.com (localhost [127.0.0.1])
\r
23 by homiemail-a17.g.dreamhost.com (Postfix) with ESMTP id 701CE7A8063;
\r
24 Fri, 14 Jan 2011 05:48:41 -0800 (PST)
\r
25 DomainKey-Signature: a=rsa-sha1; c=nofws; d=sspaeth.de; h=from:to:cc:subject
\r
26 :in-reply-to:references:date:message-id:mime-version:
\r
27 content-type; q=dns; s=sspaeth.de; b=ifNXyz/P/ULvR+8grl6LItOhfMr
\r
28 KcRKIQ27dlza7omZfFo06DHSCHady9cLTsgXYhnYa7i9eYWa6qxLrfnFfjft5bgg
\r
29 QU0xZeYownb821qIvHuouKjwkLvQYBa+go9yUXAGCEXtM+tN90+DMBlNNEEkMPB6
\r
31 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sspaeth.de; h=from:to:cc
\r
32 :subject:in-reply-to:references:date:message-id:mime-version:
\r
33 content-type; s=sspaeth.de; bh=p76GravCEuLx4fAT9//TVERj4eQ=; b=V
\r
34 WRxPW05VAK2yqIBROUdhTDjPJFCLr9PoF6g9bBIMRhz0sghp2/hNBRnms+DsFtGK
\r
35 7zizZ93I0KUoA+PK0QiPr3SoUfxVtPK/z1Gt5mp/MFfyZzCIM7uKCSpmjBaM7WqN
\r
36 zNV5ROCFXDtrpKALAxg9iDq4ARdvfNSZKmJVvQH9oI=
\r
37 Received: from spaetzbook.sspaeth.de (mtec-hg-docking-1-dhcp-186.ethz.ch
\r
38 [129.132.133.186]) (Authenticated sender: fax@sspaeth.de)
\r
39 by homiemail-a17.g.dreamhost.com (Postfix) with ESMTPA id E93577A8058;
\r
40 Fri, 14 Jan 2011 05:48:39 -0800 (PST)
\r
41 Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation);
\r
42 Fri, 14 Jan 2011 14:48:38 +0100
\r
43 From: Sebastian Spaeth <Sebastian@sspaeth.de>
\r
44 To: Christophe-Marie Duquesne <chm.duquesne@gmail.com>
\r
45 Subject: Re: About the json output and the number of results shown.
\r
46 In-Reply-To: <AANLkTimYDZaHBxNxkJHfs+4Ww73_+7oEqW+bOexskJjU@mail.gmail.com>
\r
47 References: <AANLkTi=Mzu9bu3y0RKB5YZUpZOT9qujXgxtpB-8Bvk=2@mail.gmail.com>
\r
48 <8762ttf5wy.fsf@SSpaeth.de>
\r
49 <AANLkTimYDZaHBxNxkJHfs+4Ww73_+7oEqW+bOexskJjU@mail.gmail.com>
\r
50 User-Agent: Notmuch/0.5-58-g9741d28 (http://notmuchmail.org) Emacs/23.1.1
\r
51 (x86_64-pc-linux-gnu)
\r
52 Date: Fri, 14 Jan 2011 14:48:38 +0100
\r
53 Message-ID: <87tyhboatl.fsf@SSpaeth.de>
\r
55 Content-Type: text/plain; charset=us-ascii
\r
56 Cc: notmuch@notmuchmail.org
\r
57 X-BeenThere: notmuch@notmuchmail.org
\r
58 X-Mailman-Version: 2.1.13
\r
60 List-Id: "Use and development of the notmuch mail system."
\r
61 <notmuch.notmuchmail.org>
\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
63 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
65 List-Post: <mailto:notmuch@notmuchmail.org>
\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
68 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
69 X-List-Received-Date: Fri, 14 Jan 2011 13:48:44 -0000
\r
71 On Thu, 13 Jan 2011 19:46:29 +0100, Christophe-Marie Duquesne <chm.duquesne@gmail.com> wrote:
\r
72 > > Alternatively, you could use the python bindings to libnotmuch and call
\r
73 > > the functions directly. You could do that in a unthreaded or threaded
\r
76 > I've had a look to the python libnotmuch documentation. My problem
\r
77 > with this API is that, unless I did not read it correctly, if I use
\r
78 > one of its functions in a threaded fashion, I still have to wait for
\r
79 > this function to finish until I get results. When using the command
\r
80 > line tool, I can process the text as it gets printed on stdout, and I
\r
81 > have data to show to the user even though notmuch has not finished to
\r
84 Well, you have to wait until the "search_messages()" function returns
\r
85 and once it does you can output text as you go, by iterating through the
\r
86 threads/mails. I am not sure that the command line client is any faster
\r
87 as that with it's interactive output.
\r
89 But I haven't investigated the performance closely.
\r