1 Return-Path: <amdragon@gmail.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 D523B431FB6
\r
6 for <notmuch@notmuchmail.org>; Tue, 18 Jan 2011 23:29:49 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.698 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001,
\r
13 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 yd9Q-xahlEla for <notmuch@notmuchmail.org>;
\r
17 Tue, 18 Jan 2011 23:29:49 -0800 (PST)
\r
18 Received: from mail-qw0-f53.google.com (mail-qw0-f53.google.com
\r
19 [209.85.216.53]) (using TLSv1 with cipher RC4-MD5 (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 8DA5C431FB5
\r
22 for <notmuch@notmuchmail.org>; Tue, 18 Jan 2011 23:29:49 -0800 (PST)
\r
23 Received: by qwe5 with SMTP id 5so548541qwe.26
\r
24 for <notmuch@notmuchmail.org>; Tue, 18 Jan 2011 23:29:46 -0800 (PST)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=domainkey-signature:mime-version:sender:in-reply-to:references:date
\r
27 :x-google-sender-auth:message-id:subject:from:to:cc:content-type;
\r
28 bh=9lkJxNBwQB+2J0C3JXDveO5y04QB/oIPIuDGpOE39BM=;
\r
29 b=rvCB8FGx7g0jCUjAnZSVVVMX1/N+3ikf8vqnTT1rdZJlQfTeyxGK859wWe8bGl1iW+
\r
30 zHm+VmD7Jd0fAwZzPOdo/+qQmbO5I8nkAeKNlPUbiKMCixCUKmziTlB80ZsgAtT7/B1E
\r
31 vr/eujZDCSKvYmXYSSGvErq62+J0vELcMWAvk=
\r
32 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
\r
33 h=mime-version:sender:in-reply-to:references:date
\r
34 :x-google-sender-auth:message-id:subject:from:to:cc:content-type;
\r
35 b=EUcva0Yoy1+dSdSFhabgyYrIvUzejr4DxBbDhd22MtV1N54gaCedWhJP1cfe3Vsn9a
\r
36 Yh3kWQX1eAhudFsgcVOTOrHpBCuscx9AjazRxPP48IMx0pu5Ru7EPeBhAIUZLa7JyBRx
\r
37 FgaZAtXQa7ijpEgwHfG8yihrBLXj3txWEw9Xo=
\r
39 Received: by 10.229.220.81 with SMTP id hx17mr344099qcb.116.1295422186533;
\r
40 Tue, 18 Jan 2011 23:29:46 -0800 (PST)
\r
41 Sender: amdragon@gmail.com
\r
42 Received: by 10.229.97.143 with HTTP; Tue, 18 Jan 2011 23:29:46 -0800 (PST)
\r
43 In-Reply-To: <871v4a7zt6.fsf@raven.defaultvalue.org>
\r
44 References: <87tyh9wzs2.fsf@yoom.home.cworth.org>
\r
45 <87oc7fe590.fsf@raven.defaultvalue.org>
\r
46 <87aaiy3u65.fsf@yoom.home.cworth.org>
\r
47 <871v4a7zt6.fsf@raven.defaultvalue.org>
\r
48 Date: Wed, 19 Jan 2011 02:29:46 -0500
\r
49 X-Google-Sender-Auth: EJWeScTXp7xZz68Cn5kXrORK-XA
\r
50 Message-ID: <AANLkTin7VgCbA9L_Dv5WKJzq=xDZ9pBwjAAUB6Y6LpW9@mail.gmail.com>
\r
51 Subject: Re: Folder-based searching
\r
52 From: Austin Clements <amdragon@mit.edu>
\r
53 To: Rob Browning <rlb@defaultvalue.org>
\r
54 Content-Type: multipart/alternative; boundary=00163630eb234334db049a2dfb59
\r
55 Cc: notmuch@notmuchmail.org
\r
56 X-BeenThere: notmuch@notmuchmail.org
\r
57 X-Mailman-Version: 2.1.13
\r
59 List-Id: "Use and development of the notmuch mail system."
\r
60 <notmuch.notmuchmail.org>
\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
64 List-Post: <mailto:notmuch@notmuchmail.org>
\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
67 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
68 X-List-Received-Date: Wed, 19 Jan 2011 07:29:50 -0000
\r
70 --00163630eb234334db049a2dfb59
\r
71 Content-Type: text/plain; charset=ISO-8859-1
\r
73 The folder search implementation in the custom query parser is always rooted
\r
74 (both because that happened to be much easier to do in that design, and
\r
75 because I agree with you that rooted searches seem preferable most of the
\r
76 time). What arguments do people have for or against rooted folder searches?
\r
78 On a similar note, another difference is that cworth's folder search is
\r
79 recursive (which, I suppose, follows from being non-rooted). That is, a
\r
80 search for "folder:foo" will find any message in any folder under foo. The
\r
81 folder search I posted is non-recursive. Thus, "folder:foo" specifically
\r
82 searches the foo maildir (that is, any mail under foo, foo/new, or foo/cur).
\r
83 I consider different folders to be, well, different, regardless of nesting,
\r
84 but what are other people's thoughts?
\r
86 On Tue, Jan 18, 2011 at 2:54 PM, Rob Browning <rlb@defaultvalue.org> wrote:
\r
88 > I'd be tempted to consider making folder: searches rooted by default. I
\r
89 > wonder how often people really want "all folders named misc"?
\r
91 --00163630eb234334db049a2dfb59
\r
92 Content-Type: text/html; charset=ISO-8859-1
\r
93 Content-Transfer-Encoding: quoted-printable
\r
95 The folder search implementation in the custom query parser is always roote=
\r
96 d (both because that happened to be much easier to do in that design, and b=
\r
97 ecause I agree with you that rooted searches seem preferable most of the ti=
\r
98 me). =A0What arguments do people have for or against rooted folder searches=
\r
100 <br></div><div>On a similar note, another difference is that cworth's f=
\r
101 older search is recursive (which, I suppose, follows from being non-rooted)=
\r
102 . =A0That is, a search for "folder:foo" will find any message in =
\r
103 any folder under foo. =A0The folder search I posted is non-recursive. =A0Th=
\r
104 us, "folder:foo" specifically searches the foo maildir (that is, =
\r
105 any mail under foo, foo/new, or foo/cur). =A0I consider different folders t=
\r
106 o be, well, different, regardless of nesting, but what are other people'=
\r
108 <br><div class=3D"gmail_quote">On Tue, Jan 18, 2011 at 2:54 PM, Rob Brownin=
\r
109 g <span dir=3D"ltr"><<a href=3D"mailto:rlb@defaultvalue.org">rlb@default=
\r
110 value.org</a>></span> wrote:<blockquote class=3D"gmail_quote" style=3D"m=
\r
111 argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
\r
112 <div class=3D"im">I'd be tempted to consider making folder: searches ro=
\r
113 oted by default. =A0I</div>
\r
114 wonder how often people really want "all folders named misc"?</bl=
\r
115 ockquote></div></div>
\r
117 --00163630eb234334db049a2dfb59--
\r