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 DBABE431FBD
\r
6 for <notmuch@notmuchmail.org>; Thu, 30 Jan 2014 13:19:25 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\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=disabled
\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 j5ai6Ctz7QQi for <notmuch@notmuchmail.org>;
\r
17 Thu, 30 Jan 2014 13:19: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 C3E1E431FB6
\r
22 for <notmuch@notmuchmail.org>; Thu, 30 Jan 2014 13:19:19 -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 1W8z0o-0002dI-4M; Thu, 30 Jan 2014 21:19:12 +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 1W8yzQ-0005IP-Rp; Thu, 30 Jan 2014 21:17:36 +0000
\r
31 From: Mark Walters <markwalters1009@gmail.com>
\r
32 To: Jani Nikula <jani@nikula.org>, Carl Worth <cworth@cworth.org>,
\r
33 Austin Clements <aclements@csail.mit.edu>
\r
34 Subject: Re: [PATCH 0/5] lib: make folder: prefix literal
\r
35 In-Reply-To: <87a9eeou4v.fsf@nikula.org>
\r
36 References: <cover.1389304779.git.jani@nikula.org>
\r
37 <87y525m649.fsf@awakening.csail.mit.edu>
\r
38 <87r47wfltb.fsf@nikula.org> <87iot8f4vg.fsf@nikula.org>
\r
39 <874n4rvcvo.fsf@yoom.home.cworth.org> <874n4mfw1x.fsf@nikula.org>
\r
40 <87k3dir3ci.fsf@yoom.home.cworth.org>
\r
41 <20140129204608.GE4375@mit.edu>
\r
42 <87bnyuqw60.fsf@yoom.home.cworth.org> <87a9eeou4v.fsf@nikula.org>
\r
43 User-Agent: Notmuch/0.15.2+484~gfb59956 (http://notmuchmail.org) Emacs/23.4.1
\r
44 (x86_64-pc-linux-gnu)
\r
45 Date: Thu, 30 Jan 2014 21:15:40 +0000
\r
46 Message-ID: <8761p19nnn.fsf@qmul.ac.uk>
\r
48 Content-Type: text/plain; charset=us-ascii
\r
49 X-Sender-Host-Address: 93.97.24.31
\r
50 X-QM-Geographic: According to ripencc,
\r
51 this message was delivered by a machine in Britain (UK) (GB).
\r
52 X-QM-SPAM-Info: Sender has good ham record. :)
\r
53 X-QM-Body-MD5: f9c71bda3b28e3b99ef85df533a7452d (of first 20000 bytes)
\r
54 X-SpamAssassin-Score: 0.0
\r
55 X-SpamAssassin-SpamBar: /
\r
56 X-SpamAssassin-Report: The QM spam filters have analysed this message to
\r
58 spam. We require at least 5.0 points to mark a message as spam.
\r
59 This message scored 0.0 points. Summary of the scoring:
\r
60 * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
\r
61 provider * (markwalters1009[at]gmail.com)
\r
62 * 0.0 AWL AWL: From: address is in the auto white-list
\r
63 X-QM-Scan-Virus: ClamAV says the message is clean
\r
64 Cc: notmuch@notmuchmail.org
\r
65 X-BeenThere: notmuch@notmuchmail.org
\r
66 X-Mailman-Version: 2.1.13
\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: Thu, 30 Jan 2014 21:19:26 -0000
\r
82 > That is the unicorn... many of the query improvements I have in mind
\r
83 > depend on a custom query parser. So I'd like to have that. And a
\r
84 > pony. But in the mean time, I'm left wondering whether I should pursue
\r
85 > folder: as a boolean prefix, or try to figure out if there are
\r
86 > improvements to be made as a probabilistic prefix, or just put this work
\r
87 > on hold. With the db upgrade and upgrade tests, it's not exactly a
\r
88 > trivial amount of work.
\r
90 I think a boolean prefix sounds good. As you say there are lots of
\r
91 things we could do with a custom parser but I don't think its worth
\r
92 delaying things like this for it.
\r
94 I also think it's not worth aiming for something perfect, just "good
\r
95 enough". In a bike-shedding spirit I like the suggestion above (and on
\r
96 irc) of a path: prefix which is basically literal. Either ^ or a
\r
97 starting / to root the folder and a terminal $ or / to fix the end.
\r
99 (I don't have a preference between these: / avoids a clash with folder
\r
100 name with a $ or ^ in them but $ ^ are more familiar.)
\r