[PATCH 5/8] lib: iterator API for message properties
[notmuch-archives.git] / 3d / fff92b8350dae99787c10129696a398c7f1258
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 1E395431FD0\r
6         for <notmuch@notmuchmail.org>; Wed,  2 Feb 2011 14:53:19 -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.99\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.99 tagged_above=-999 required=5\r
12         tests=[ALL_TRUSTED=-1, 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 H6bEj7W57CNV; Wed,  2 Feb 2011 14:53:18 -0800 (PST)\r
16 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
17         by olra.theworths.org (Postfix) with ESMTP id 7548C431FB5;\r
18         Wed,  2 Feb 2011 14:53:18 -0800 (PST)\r
19 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
20         id DD48E2540DE; Thu,  3 Feb 2011 08:48:50 +1000 (EST)\r
21 From: Carl Worth <cworth@cworth.org>\r
22 To: Austin Clements <amdragon@MIT.EDU>, notmuch@notmuchmail.org\r
23 Subject: Re: [RFC PATCH v2 0/8] Custom query parser, date search, folder\r
24  search,        and more\r
25 In-Reply-To: <20110202050336.GB28537@mit.edu>\r
26 References: <1295165458-9573-1-git-send-email-amdragon@mit.edu>\r
27         <20110202050336.GB28537@mit.edu>\r
28 User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.2.1\r
29         (i486-pc-linux-gnu)\r
30 Date: Wed, 02 Feb 2011 14:48:50 -0800\r
31 Message-ID: <87sjw6hx2l.fsf@yoom.home.cworth.org>\r
32 MIME-Version: 1.0\r
33 Content-Type: multipart/signed; boundary="=-=-=";\r
34         micalg=pgp-sha1; protocol="application/pgp-signature"\r
35 X-BeenThere: notmuch@notmuchmail.org\r
36 X-Mailman-Version: 2.1.13\r
37 Precedence: list\r
38 List-Id: "Use and development of the notmuch mail system."\r
39         <notmuch.notmuchmail.org>\r
40 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
41         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
42 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
43 List-Post: <mailto:notmuch@notmuchmail.org>\r
44 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
45 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
47 X-List-Received-Date: Wed, 02 Feb 2011 22:53:19 -0000\r
48 \r
49 --=-=-=\r
50 Content-Transfer-Encoding: quoted-printable\r
51 \r
52 Restricting my reply to one tiny bit of your mail:\r
53 \r
54 You wrote:\r
55 > non-recursive is the only thing that makes sense for Maildir++ folders\r
56 \r
57 Either I'm not understanding Maildir++ folders, or I don't agree with\r
58 you.\r
59 \r
60 I might have an email archive that looks like this:\r
61 \r
62   Maildir\r
63     .work\r
64       .project1\r
65       .project2\r
66       .etc...\r
67     .family\r
68       .dad\r
69       .mom\r
70       .brother\r
71       .etc...\r
72 \r
73 With the above setup, what would be unreasonable about wanting to search\r
74 for all work-related messages (across all projects, say) with a string\r
75 like "folder:work" ?\r
76 \r
77 Now, a person might definitely want to search for messages in the\r
78 ".work" folder directly, (not including the sub-folders), so we should\r
79 provide support for users to get at that behavior as well, (such as a\r
80 proposed "folder:work$" or so).\r
81 \r
82 To me, both cases are perfectly legitimate, and I don't understand an\r
83 argument that claims that only one makes sense. (Or again, I may be\r
84 misunderstanding something.)\r
85 \r
86 =2DCarl\r
87 \r
88 =2D-=20\r
89 carl.d.worth@intel.com\r
90 \r
91 --=-=-=\r
92 Content-Type: application/pgp-signature\r
93 \r
94 -----BEGIN PGP SIGNATURE-----\r
95 Version: GnuPG v1.4.10 (GNU/Linux)\r
96 \r
97 iD8DBQFNSd9S6JDdNq8qSWgRAhnIAJ9h/FR1ZT4D+HnzrsqXc+cCK0zYNACeKX2D\r
98 DG/7w04XQ5gmIFbyHRMMdyI=\r
99 =cX3r\r
100 -----END PGP SIGNATURE-----\r
101 --=-=-=--\r