Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / eb / 84e3bc9434303fd9ddd0309ff007676ee66a62
1 Return-Path: <m.walters@qmul.ac.uk>\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 F26F4431FC9\r
6         for <notmuch@notmuchmail.org>; Tue, 12 Feb 2013 23:55:20 -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: -1.098\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.098 tagged_above=-999 required=5\r
12         tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001,\r
13         NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_MED=-2.3] autolearn=unavailable\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 OzPZAGnqE92i for <notmuch@notmuchmail.org>;\r
17         Tue, 12 Feb 2013 23:55:20 -0800 (PST)\r
18 Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6])\r
19         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 9B080431FC7\r
22         for <notmuch@notmuchmail.org>; Tue, 12 Feb 2013 23:55:20 -0800 (PST)\r
23 Received: from smtp.qmul.ac.uk ([138.37.6.40])\r
24         by mail2.qmul.ac.uk with esmtp (Exim 4.71)\r
25         (envelope-from <m.walters@qmul.ac.uk>)\r
26         id 1U5XBS-00041v-4a; Wed, 13 Feb 2013 07:55:16 +0000\r
27 Received: from 93-97-24-31.zone5.bethere.co.uk ([93.97.24.31] helo=localhost)\r
28         by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71)\r
29         (envelope-from <m.walters@qmul.ac.uk>)\r
30         id 1U5XBR-0002CE-RQ; Wed, 13 Feb 2013 07:55:14 +0000\r
31 From: Mark Walters <markwalters1009@gmail.com>\r
32 To: David Bremner <david@tethera.net>, Carl Worth <cworth@cworth.org>,\r
33         Michal Vyskocil <mvyskocil@suse.cz>, notmuch@notmuchmail.org\r
34 Subject: Re: Search using email headers does not work\r
35 In-Reply-To: <87mwv9i9ho.fsf@convex-new.cs.unb.ca>\r
36 References: <20130211145259.GF7346@zelvantb.site>\r
37         <87ehgl92e5.fsf@zancas.localnet>\r
38         <877gmdo46y.fsf@servo.finestructure.net>\r
39         <20130212173216.GL7346@zelvantb.site>\r
40         <87wqudi9u0.fsf@yoom.home.cworth.org>\r
41         <87mwv9i9ho.fsf@convex-new.cs.unb.ca>\r
42 User-Agent: Notmuch/0.14+255~gff3cc55 (http://notmuchmail.org) Emacs/23.4.1\r
43         (x86_64-pc-linux-gnu)\r
44 Date: Wed, 13 Feb 2013 07:55:20 +0000\r
45 Message-ID: <87ip5wlkbb.fsf@qmul.ac.uk>\r
46 MIME-Version: 1.0\r
47 Content-Type: text/plain; charset=us-ascii\r
48 X-Sender-Host-Address: 93.97.24.31\r
49 X-QM-SPAM-Info: Sender has good ham record.  :)\r
50 X-QM-Body-MD5: 44354469161e4b6eadccffcb1ea60ec2 (of first 20000 bytes)\r
51 X-SpamAssassin-Score: -1.8\r
52 X-SpamAssassin-SpamBar: -\r
53 X-SpamAssassin-Report: The QM spam filters have analysed this message to\r
54         determine if it is\r
55         spam. We require at least 5.0 points to mark a message as spam.\r
56         This message scored -1.8 points.\r
57         Summary of the scoring: \r
58         * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/,\r
59         *      medium trust\r
60         *      [138.37.6.40 listed in list.dnswl.org]\r
61         * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\r
62         provider *      (markwalters1009[at]gmail.com)\r
63         *  0.5 AWL AWL: From: address is in the auto white-list\r
64 X-QM-Scan-Virus: ClamAV says the message is clean\r
65 X-BeenThere: notmuch@notmuchmail.org\r
66 X-Mailman-Version: 2.1.13\r
67 Precedence: list\r
68 List-Id: "Use and development of the notmuch mail system."\r
69         <notmuch.notmuchmail.org>\r
70 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
71         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
72 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
73 List-Post: <mailto:notmuch@notmuchmail.org>\r
74 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
75 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
76         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
77 X-List-Received-Date: Wed, 13 Feb 2013 07:55:21 -0000\r
78 \r
79 \r
80 I think I mentioned this on irc sometime ago: would indexing all the\r
81 headers as a separate free text entry (under headers: for example)\r
82 satisfy most of this. So then you could search for things like\r
83 headers:"List-Id: blah" or similar.\r
84 \r
85 It is not as nice as individually indexed headers, but it does mean that\r
86 all notmuch instances would be the same and the same commands would\r
87 work, the library interface would be consistent etc.\r
88 \r
89 Best wishes\r
90 \r
91 Mark\r
92 \r
93 \r
94  \r
95 On Tue, 12 Feb 2013, David Bremner <david@tethera.net> wrote:\r
96 > Carl Worth <cworth@cworth.org> writes:\r
97 >>\r
98 >> It's embarrassing to me that I added this note to the notmuch TODO file\r
99 >> in October 2009 (and it's still there):\r
100 >>\r
101 >>     Add support for the user to specify custom headers to be indexed.\r
102 >\r
103 > One techicality is that we would presumeably want to support this both\r
104 > for access via the CLI and via libnotmuch (e.g. for the python\r
105 > bindings).  So there is the question of where to store the list of\r
106 > indexed headers; perhaps in Xapian metadata. Or is there some simpler\r
107 > solution?\r
108 >\r
109 > d\r
110 > _______________________________________________\r
111 > notmuch mailing list\r
112 > notmuch@notmuchmail.org\r
113 > http://notmuchmail.org/mailman/listinfo/notmuch\r