1 Return-Path: <jeremy@nickurak.ca>
\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 0463F431FD0
\r
6 for <notmuch@notmuchmail.org>; Mon, 9 Jan 2012 15:26:21 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7]
\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 oFCagKN+ikAG for <notmuch@notmuchmail.org>;
\r
17 Mon, 9 Jan 2012 15:26:20 -0800 (PST)
\r
18 Received: from mail-qw0-f53.google.com (mail-qw0-f53.google.com
\r
19 [209.85.216.53]) (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 78D10431FB6
\r
22 for <notmuch@notmuchmail.org>; Mon, 9 Jan 2012 15:26:20 -0800 (PST)
\r
23 Received: by qadb15 with SMTP id b15so3095936qad.5
\r
24 for <notmuch@notmuchmail.org>; Mon, 09 Jan 2012 15:26:18 -0800 (PST)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
26 d=nickurak.ca; s=google-dkim;
\r
27 h=mime-version:sender:x-originating-ip:in-reply-to:references:date
\r
28 :x-google-sender-auth:message-id:subject:from:to:content-type
\r
29 :content-transfer-encoding;
\r
30 bh=PTnZwdOs20YHoPYLY4UmTThe0BZrwKjQnMq5+qdgNuM=;
\r
31 b=P8Qr29oiGs7W+s51RZUB9YR2e2QmGWI80R8os3TUi1FVCOfTNSCh/A1tMxmaw8+joH
\r
32 rwpZVseAXL34E7hGObLRsn9slkrcF4ODQEKqangawlF4sttIQcphW6mb0KLiHQmlAGP2
\r
33 4UH1bloy4rM2XnM0ntNVanfhUGP9oIcKazmsg=
\r
35 Received: by 10.224.181.10 with SMTP id bw10mr21850924qab.59.1326151578673;
\r
36 Mon, 09 Jan 2012 15:26:18 -0800 (PST)
\r
37 Sender: jeremy@nickurak.ca
\r
38 Received: by 10.229.40.149 with HTTP; Mon, 9 Jan 2012 15:26:18 -0800 (PST)
\r
39 X-Originating-IP: [128.221.197.58]
\r
40 In-Reply-To: <20120103184546.GB27894@fernseed.info>
\r
41 References: <20120103123938.GA15106@x2.net.home>
\r
42 <20120103184546.GB27894@fernseed.info>
\r
43 Date: Mon, 9 Jan 2012 16:26:18 -0700
\r
44 X-Google-Sender-Auth: Kn41xbc9ukG7iE8VfEBpM-biZpM
\r
46 <CA+eQo_2pE9J-8PwJfiU1XhxO=L5qijb_9L7imzOmApq9bg3QXw@mail.gmail.com>
\r
47 Subject: Re: [ANNOUNCE] mutt with notmuch support
\r
48 From: Jeremy Nickurak <not-much@trk.nickurak.ca>
\r
49 To: notmuch@notmuchmail.org
\r
50 Content-Type: text/plain; charset=UTF-8
\r
51 Content-Transfer-Encoding: quoted-printable
\r
52 X-BeenThere: notmuch@notmuchmail.org
\r
53 X-Mailman-Version: 2.1.13
\r
55 List-Id: "Use and development of the notmuch mail system."
\r
56 <notmuch.notmuchmail.org>
\r
57 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
58 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
59 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
60 List-Post: <mailto:notmuch@notmuchmail.org>
\r
61 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
62 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
63 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
64 X-List-Received-Date: Mon, 09 Jan 2012 23:26:21 -0000
\r
66 FWIW, here's the patch I ended up using to play with this:
\r
68 diff --git a/mutt_notmuch.c b/mutt_notmuch.c
\r
69 index 2f21407..a07b1ba 100644
\r
70 --- a/mutt_notmuch.c
\r
71 +++ b/mutt_notmuch.c
\r
72 @@ -636,11 +636,15 @@ char *nm_uri_from_query(CONTEXT *ctx, char *buf,
\r
74 =C2=A0static notmuch_message_t *get_nm_message(notmuch_database_t *db, HEAD=
\r
77 =C2=A0 =C2=A0 =C2=A0 =C2=A0 notmuch_message_t *msg;
\r
78 + =C2=A0 =C2=A0 =C2=A0 notmuch_status_t r;
\r
80 =C2=A0 =C2=A0 =C2=A0 =C2=A0 char *id =3D nm_header_get_id(hdr);
\r
82 =C2=A0 =C2=A0 =C2=A0 =C2=A0 dprint(2, (debugfile, "nm: find message (%s)\n"=
\r
85 - =C2=A0 =C2=A0 =C2=A0 msg =3D id && db ? notmuch_database_find_message(db,=
\r
87 + =C2=A0 =C2=A0 =C2=A0 if (id && db) {
\r
88 + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 r =3D notmuch_database_f=
\r
89 ind_message(db, id, &msg);
\r
90 + =C2=A0 =C2=A0 =C2=A0 }
\r
92 =C2=A0 =C2=A0 =C2=A0 =C2=A0 FREE(&id);
\r
93 =C2=A0 =C2=A0 =C2=A0 =C2=A0 return msg;
\r