Re: [PATCH v4 09/16] index encrypted parts when asked.
[notmuch-archives.git] / 5e / c8448a2c36f51c222ec0b017b95e7d87cb555e
1 Return-Path: <cworth@cworth.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 CAAF8431FBC\r
6         for <notmuch@notmuchmail.org>; Tue, 12 Feb 2013 11:55:03 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.01\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.01 tagged_above=-999 required=5\r
12         tests=[T_MIME_NO_TEXT=0.01] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id UIsJXq-bPHLv for <notmuch@notmuchmail.org>;\r
16         Tue, 12 Feb 2013 11:55:03 -0800 (PST)\r
17 Received: from arlo.cworth.org (arlo.cworth.org [50.126.95.6])\r
18         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 4F3B1431FAF\r
21         for <notmuch@notmuchmail.org>; Tue, 12 Feb 2013 11:55:03 -0800 (PST)\r
22 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
23         by arlo.cworth.org (Postfix) with ESMTP id 8D4B86DE0941;\r
24         Tue, 12 Feb 2013 11:55:00 -0800 (PST)\r
25 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
26         id BC81864933; Wed, 13 Feb 2013 06:57:48 +1100 (EST)\r
27 From: Carl Worth <cworth@cworth.org>\r
28 To: Michal Vyskocil <mvyskocil@suse.cz>, notmuch@notmuchmail.org\r
29 Subject: Re: Search using email headers does not work\r
30 In-Reply-To: <20130212173216.GL7346@zelvantb.site>\r
31 References: <20130211145259.GF7346@zelvantb.site>\r
32         <87ehgl92e5.fsf@zancas.localnet>\r
33         <877gmdo46y.fsf@servo.finestructure.net>\r
34         <20130212173216.GL7346@zelvantb.site>\r
35 User-Agent: Notmuch/0.13.1 (http://notmuchmail.org) Emacs/23.4.1\r
36         (x86_64-pc-linux-gnu)\r
37 Date: Tue, 12 Feb 2013 11:57:43 -0800\r
38 Message-ID: <87wqudi9u0.fsf@yoom.home.cworth.org>\r
39 MIME-Version: 1.0\r
40 Content-Type: multipart/signed; boundary="=-=-=";\r
41         micalg=pgp-sha1; protocol="application/pgp-signature"\r
42 X-BeenThere: notmuch@notmuchmail.org\r
43 X-Mailman-Version: 2.1.13\r
44 Precedence: list\r
45 List-Id: "Use and development of the notmuch mail system."\r
46         <notmuch.notmuchmail.org>\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
50 List-Post: <mailto:notmuch@notmuchmail.org>\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
54 X-List-Received-Date: Tue, 12 Feb 2013 19:55:03 -0000\r
55 \r
56 --=-=-=\r
57 Content-Transfer-Encoding: quoted-printable\r
58 \r
59 Michal Vyskocil <mvyskocil@suse.cz> writes:\r
60 > I like such idea - but how hard would be to add a config options to\r
61 > extend a list of default headers used for indexing?\r
62 \r
63 Not hard.\r
64 \r
65 Obviously, notmuch is already indexing some headers, (From, Date, To,\r
66 Subject), and it wouldn't be hard to index more. [*]\r
67 \r
68 List-Id has been proposed often enough that it should probably be on by\r
69 default.\r
70 \r
71 Then, there are other, slightly more special-case headers, (like headers\r
72 added by spam filtering software), that probably would be best added on\r
73 an opt-in basis based on a configuration option.\r
74 \r
75 =2DCarl\r
76 \r
77 [*] The existing set of indexed headers is really just historical\r
78 accident based on two things:\r
79 \r
80 1. I was originally writing index code to match sup's index building, so\r
81    I focused on the headers sup indexed.\r
82 \r
83 2. I wrote code to index enough headers to satisfy my use case.\r
84 \r
85 It's embarrassing to me that I added this note to the notmuch TODO file\r
86 in October 2009 (and it's still there):\r
87 \r
88     Add support for the user to specify custom headers to be indexed.\r
89 \r
90 =2D-=20\r
91 carl.d.worth@intel.com\r
92 \r
93 --=-=-=\r
94 Content-Type: application/pgp-signature\r
95 \r
96 -----BEGIN PGP SIGNATURE-----\r
97 Version: GnuPG v1.4.12 (GNU/Linux)\r
98 \r
99 iEYEARECAAYFAlEanrcACgkQ6JDdNq8qSWgxnACfVeUYMhYylc5DbEZa/ZadveV6\r
100 s/UAmgOvUQ8C01WbW7v4RArXk6IBM+iw\r
101 =5Yoe\r
102 -----END PGP SIGNATURE-----\r
103 --=-=-=--\r