Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / d6 / a0454d15f45cf533c58f4e1d2f240d448165bf
1 Return-Path: <rlb@defaultvalue.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 8F012431FB6\r
6         for <notmuch@notmuchmail.org>; Tue, 18 Jan 2011 11:54:31 -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\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=unavailable\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 L-BG2RjxdYFD for <notmuch@notmuchmail.org>;\r
16         Tue, 18 Jan 2011 11:54:31 -0800 (PST)\r
17 Received: from defaultvalue.org (defaultvalue.org [70.85.129.156])\r
18         by olra.theworths.org (Postfix) with ESMTP id 6A31A431FB5\r
19         for <notmuch@notmuchmail.org>; Tue, 18 Jan 2011 11:54:31 -0800 (PST)\r
20 Received: from omen.defaultvalue.org (localhost [127.0.0.1])\r
21         by defaultvalue.org (Postfix) with ESMTP id BBAAA90D34;\r
22         Tue, 18 Jan 2011 13:54:29 -0600 (CST)\r
23 Received: from raven.defaultvalue.org (raven.defaultvalue.org [192.168.1.7])\r
24         by omen.defaultvalue.org (Postfix) with ESMTP id 96E3656603D;\r
25         Tue, 18 Jan 2011 13:54:29 -0600 (CST)\r
26 Received: by raven.defaultvalue.org (Postfix, from userid 1000)\r
27         id 7DDF07BB463; Tue, 18 Jan 2011 13:54:29 -0600 (CST)\r
28 From: Rob Browning <rlb@defaultvalue.org>\r
29 To: Carl Worth <cworth@cworth.org>\r
30 Subject: Re: Folder-based searching\r
31 References: <87tyh9wzs2.fsf@yoom.home.cworth.org>\r
32         <87oc7fe590.fsf@raven.defaultvalue.org>\r
33         <87aaiy3u65.fsf@yoom.home.cworth.org>\r
34 Date: Tue, 18 Jan 2011 13:54:29 -0600\r
35 In-Reply-To: <87aaiy3u65.fsf@yoom.home.cworth.org> (Carl Worth's message of\r
36         "Tue, 18 Jan 2011 11:09:54 -0800")\r
37 Message-ID: <871v4a7zt6.fsf@raven.defaultvalue.org>\r
38 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)\r
39 MIME-Version: 1.0\r
40 Content-Type: text/plain; charset=us-ascii\r
41 Cc: notmuch@notmuchmail.org\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, 18 Jan 2011 19:54:31 -0000\r
55 \r
56 Carl Worth <cworth@cworth.org> writes:\r
57 \r
58 > This works in a similar way to 'subject:"some phrase"', (though more\r
59 > people seem to be asking about these details for folder: than have ever\r
60 > asked for subject:).\r
61 \r
62 I'm not surprised.  Imagine:\r
63 \r
64   /misc\r
65   /debian/misc\r
66 \r
67 If I understand correctly, right now you'd have to say\r
68 \r
69   folder:misc and not folder:debian/misc\r
70 \r
71 which is not nearly as handy as\r
72 \r
73   folder:^misc \r
74 \r
75 and at first, a lot of people may not even realize that they need the\r
76 "and not" clauses.\r
77 \r
78 I'd be tempted to consider making folder: searches rooted by default.  I\r
79 wonder how often people really want "all folders named misc"?\r
80 \r
81 > That will require a little care to get some additional terms indexed to\r
82 > support the rooting, then the in-development custom query parser to\r
83 > allow mapping symbols like '^' and '$' to these new symbols.\r
84 \r
85 Sounds good.\r
86 \r
87 Thanks\r
88 -- \r
89 Rob Browning\r
90 rlb @defaultvalue.org and @debian.org\r
91 GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4\r