1 Return-Path: <dme@dme.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 A91C8431FB6
\r
6 for <notmuch@notmuchmail.org>; Mon, 19 Jan 2015 01:22:15 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=1.739 tagged_above=-999 required=5
\r
12 tests=[DNS_FROM_AHBL_RHSBL=2.438, RCVD_IN_DNSWL_LOW=-0.7,
\r
13 UNPARSEABLE_RELAY=0.001] 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 G2iHsghA2RMW for <notmuch@notmuchmail.org>;
\r
17 Mon, 19 Jan 2015 01:22:12 -0800 (PST)
\r
18 Received: from mail-we0-f172.google.com (mail-we0-f172.google.com
\r
19 [74.125.82.172]) (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 0CFB5431FAF
\r
22 for <notmuch@notmuchmail.org>; Mon, 19 Jan 2015 01:22:12 -0800 (PST)
\r
23 Received: by mail-we0-f172.google.com with SMTP id k11so30213583wes.3
\r
24 for <notmuch@notmuchmail.org>; Mon, 19 Jan 2015 01:22:11 -0800 (PST)
\r
25 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
26 d=1e100.net; s=20130820;
\r
27 h=x-gm-message-state:to:cc:subject:in-reply-to:references:user-agent
\r
28 :from:date:message-id:mime-version:content-type;
\r
29 bh=JL5PYB9Iy7EZ6gMZLB1b7j6NYU7rmjAmwpqV7qKlH+w=;
\r
30 b=XclqnMelEALsSKrsiVW0LVESlx/VhC8KWHtxDUgSip1KK43O2qLyJya4o9C7QMXwoW
\r
31 /Hd3H68rFGOjq9npCFBkLYG7yQH48B/9QtzXWVN7bdR1CN+ZXcGMUrIhXb5U17uRMzeO
\r
32 78+don+0hiIfc1puyLv3yuQaj9Za7XZGnYqbkhJoGwyfw2Tv+EADCgVi8po3oNk+8J47
\r
33 VqtBg4JSOziOZIiRbEKd2v6XONzgw8bqQO5PWPtlWflD3TpOBAxk2JAgT+aToTJLgExX
\r
34 vIdPxtvotLlUPtFqDWhbfzCOVVVTssBPAngQw/wPMJxEzC+ci42QOG4IuhTU5R7u7ACu
\r
37 ALoCoQmkcudrDlT7LXa/SAqEk4S2irc0R8Nj/Y/NRr3IBMKYqed5CsIOnkwcmtW6Vungp8l+et5R
\r
38 X-Received: by 10.194.75.195 with SMTP id e3mr1235479wjw.44.1421659330905;
\r
39 Mon, 19 Jan 2015 01:22:10 -0800 (PST)
\r
40 Received: from disaster-area.hh.sledj.net
\r
41 ([2a01:348:1a2:1:ea39:35ff:fe2c:a227])
\r
42 by mx.google.com with ESMTPSA id
\r
43 gy8sm13385125wib.23.2015.01.19.01.22.09
\r
44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
\r
45 Mon, 19 Jan 2015 01:22:10 -0800 (PST)
\r
46 Received: from localhost (30000@localhost [local]);
\r
47 by localhost (OpenSMTPD) with ESMTPA id 1b054c16;
\r
48 Mon, 19 Jan 2015 09:22:08 +0000 (UTC)
\r
49 To: David Bremner <david@tethera.net>, Michal Sojka <sojkam1@fel.cvut.cz>,
\r
50 notmuch@notmuchmail.org
\r
51 Subject: Re: [PATCH] emacs: convert notmuch-address-harvester to use
\r
53 In-Reply-To: <1421503031-25797-1-git-send-email-david@tethera.net>
\r
54 References: <1411150602-21892-3-git-send-email-sojkam1@fel.cvut.cz>
\r
55 <1421503031-25797-1-git-send-email-david@tethera.net>
\r
57 From: David Edmondson <dme@dme.org>
\r
58 Date: Mon, 19 Jan 2015 09:22:08 +0000
\r
59 Message-ID: <cuna91fktvj.fsf@gargravarr.hh.sledj.net>
\r
61 Content-Type: text/plain
\r
62 X-BeenThere: notmuch@notmuchmail.org
\r
63 X-Mailman-Version: 2.1.13
\r
65 List-Id: "Use and development of the notmuch mail system."
\r
66 <notmuch.notmuchmail.org>
\r
67 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
68 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
69 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
70 List-Post: <mailto:notmuch@notmuchmail.org>
\r
71 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
72 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
73 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
74 X-List-Received-Date: Mon, 19 Jan 2015 09:22:15 -0000
\r
76 On Sat, Jan 17 2015, David Bremner wrote:
\r
77 > No attempt is made to optimize anything here, just drop in the
\r
80 > In a few subjective tests, this seems quite a bit faster than
\r
81 > the version based on notmuch-show
\r
83 The changes look fine to me.
\r
85 > emacs/notmuch-address.el | 4 ++--
\r
86 > 1 file changed, 2 insertions(+), 2 deletions(-)
\r
88 > diff --git a/emacs/notmuch-address.el b/emacs/notmuch-address.el
\r
89 > index 9f6711b..de0b991 100644
\r
90 > --- a/emacs/notmuch-address.el
\r
91 > +++ b/emacs/notmuch-address.el
\r
92 > @@ -188,8 +188,8 @@ called when harvesting finishes."
\r
93 > (query (if filter-query
\r
94 > (format "(%s) and (%s)" from-me-query filter-query)
\r
96 > - (args `("show" "--format=sexp" "--format-version=2"
\r
97 > - "--body=false" "--entire-thread=false" ,query)))
\r
98 > + (args `("address" "--format=sexp" "--format-version=2"
\r
101 > (notmuch-query-map-threads 'notmuch-address-harvest-msg
\r
102 > (apply 'notmuch-call-notmuch-sexp args))
\r