Re: new "crypto" branch providing full PGP/MIME support
[notmuch-archives.git] / 21 / a3bc613be5f8009a5d9e3d1dc14b4917cf4106
1 Return-Path: <keithp@keithp.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 F1E1A431FAE\r
6         for <notmuch@notmuchmail.org>; Tue, 17 Nov 2009 13:15:30 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id iCUsOU61POSG for <notmuch@notmuchmail.org>;\r
11         Tue, 17 Nov 2009 13:15:29 -0800 (PST)\r
12 Received: from keithp.com (home.keithp.com [63.227.221.253])\r
13         by olra.theworths.org (Postfix) with ESMTP id 77B24431FBF\r
14         for <notmuch@notmuchmail.org>; Tue, 17 Nov 2009 13:15:29 -0800 (PST)\r
15 Received: from localhost (localhost [127.0.0.1])\r
16         by keithp.com (Postfix) with ESMTP id 95C46760129;\r
17         Tue, 17 Nov 2009 13:15:28 -0800 (PST)\r
18 X-Virus-Scanned: Debian amavisd-new at keithp.com\r
19 Received: from keithp.com ([127.0.0.1])\r
20         by localhost (keithp.com [127.0.0.1]) (amavisd-new, port 10024)\r
21         with LMTP id zJkWoUraovYM; Tue, 17 Nov 2009 13:15:25 -0800 (PST)\r
22 Received: by keithp.com (Postfix, from userid 1033)\r
23         id 723E276012A; Tue, 17 Nov 2009 13:15:25 -0800 (PST)\r
24 Received: from keithp.com (localhost [127.0.0.1])\r
25         by keithp.com (Postfix) with ESMTP id 64A17760129;\r
26         Tue, 17 Nov 2009 13:15:25 -0800 (PST)\r
27 From: Keith Packard <keithp@keithp.com>\r
28 To: Carl Worth <cworth@cworth.org>, Mikhail Gusarov\r
29         <dottedmag@dottedmag.net>, notmuch@notmuchmail.org\r
30 In-Reply-To: <87lji5cbwo.fsf@yoom.home.cworth.org>\r
31 References: <1258471718-6781-1-git-send-email-dottedmag@dottedmag.net>\r
32         <87lji5cbwo.fsf@yoom.home.cworth.org>\r
33 Date: Tue, 17 Nov 2009 13:15:25 -0800\r
34 Message-ID: <yunbpj0etua.fsf@aiko.keithp.com>\r
35 MIME-Version: 1.0\r
36 Content-Type: text/plain; charset=us-ascii\r
37 Subject: Re: [notmuch] [PATCH 1/2] Close message file after parsing message\r
38  headers\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.12\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: Tue, 17 Nov 2009 21:15:31 -0000\r
52 \r
53 On Tue, 17 Nov 2009 09:13:27 -0800, Carl Worth <cworth@cworth.org> wrote:\r
54 \r
55 > I didn't apply Keith's fix yet, because I think I'd rather just fix the\r
56 > indexer to store the In-Reply-To header in a separate term prefix from\r
57 > the term used for the References header[*]. That will then let us lookup\r
58 > the in-reply-to value later for thread constructions without having to\r
59 > open the original email file at all.\r
60 \r
61 Threading the message also involves displaying the from and to contents,\r
62 which requires opening the message file. The alternative to the fix I\r
63 provided is to just parse all of the message headers when first opening\r
64 the message; it could then be immediately closed and the hash referred\r
65 to for all header data. Given the choice, just having the caller say\r
66 when it has finished with a message is probably a reasonable option...\r
67 \r
68 -keith\r