Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / bb / cd61462183decae42599e301ec8b5c2ce73d88
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 0A5D4429E2A\r
6         for <notmuch@notmuchmail.org>; Tue, 28 Jun 2011 12:12:55 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.01\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.01 tagged_above=-999 required=5\r
12         tests=[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 eKk3FCsKMPum for <notmuch@notmuchmail.org>;\r
16         Tue, 28 Jun 2011 12:12:54 -0700 (PDT)\r
17 Received: from arlo.cworth.org (arlo.cworth.org [50.43.72.2])\r
18         by olra.theworths.org (Postfix) with ESMTP id 3FD71429E25\r
19         for <notmuch@notmuchmail.org>; Tue, 28 Jun 2011 12:12:54 -0700 (PDT)\r
20 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
21         by arlo.cworth.org (Postfix) with ESMTP id 1401329A645;\r
22         Tue, 28 Jun 2011 12:12:53 -0700 (PDT)\r
23 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
24         id 02CD4254157; Tue, 28 Jun 2011 12:12:53 -0700 (PDT)\r
25 From: Carl Worth <cworth@cworth.org>\r
26 To: Mark Anderson <ma.skies@gmail.com>, notmuch@notmuchmail.org\r
27 Subject: Re: [PATCH 2/2] search --output=files: Output all filenames for each\r
28         matching message\r
29 In-Reply-To: <878vsqdd4w.fsf@gmail.com>\r
30 References: <878vsqdd4w.fsf@gmail.com>\r
31 User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1\r
32         (i486-pc-linux-gnu)\r
33 Date: Tue, 28 Jun 2011 12:12:52 -0700\r
34 Message-ID: <87fwmtahxn.fsf@yoom.home.cworth.org>\r
35 MIME-Version: 1.0\r
36 Content-Type: multipart/signed; boundary="=-=-=";\r
37         micalg=pgp-sha1; protocol="application/pgp-signature"\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Tue, 28 Jun 2011 19:12:55 -0000\r
51 \r
52 --=-=-=\r
53 Content-Transfer-Encoding: quoted-printable\r
54 \r
55 On Fri, 24 Jun 2011 17:26:55 -0600, Mark Anderson <ma.skies@gmail.com> wrot=\r
56 e:\r
57 > Messages in the database can have multiple files associated with a\r
58 > single message-id, but until now only one filename for each message\r
59 > has been reported by "notmuch search --output=3Dfiles"\r
60 \r
61 Hi Mark,\r
62 \r
63 Thanks for contributing this patch!\r
64 \r
65 I know from a conversation we had in IRC that you needed this feature to\r
66 track down a bug you were hitting. Thanks for going the extra mile to\r
67 write a new test case and a complete patch for the new feature.\r
68 \r
69 I think the only thing I would like to see in addition is an update to\r
70 the documentation to make it explicit that --output=3Dfiles will emit all\r
71 filenames for a message that has more than one filename.\r
72 \r
73 > Perhaps someone can offer a little help making the "separator" code\r
74 > tighter, but this works.\r
75 \r
76 It's amazing how painful it is to get the corner cases right here, isn't\r
77 it? It's almost enough to make me wish that we allowed trailing\r
78 separators as a standard element of style in conventional prose. [*]\r
79 \r
80 =2DCarl\r
81 \r
82 [*] Though if I had that wish, I'd also want to wish for the abolition\r
83 of any distinction for singular and plural nouns. The code to generate\r
84 messages like the following is a pain to write:\r
85 \r
86         Processed 1 file in almost no time.\r
87         Added 1 new message to the database. Removed 1 message.\r
88 \r
89 (And that's without even adding support for translations which would\r
90 further complicate this.) Ah, well, the price we pay to make code with\r
91 clean output.\r
92 \r
93 =2D-=20\r
94 carl.d.worth@intel.com\r
95 \r
96 --=-=-=\r
97 Content-Type: application/pgp-signature\r
98 \r
99 -----BEGIN PGP SIGNATURE-----\r
100 Version: GnuPG v1.4.11 (GNU/Linux)\r
101 \r
102 iEYEARECAAYFAk4KJ7QACgkQ6JDdNq8qSWg8ZACfYx/ZKj/a+ZsGXjvD9d9bWINJ\r
103 +CgAnRzCX/ISWdcXh+jS9jbP1oNrvIDw\r
104 =0VQ+\r
105 -----END PGP SIGNATURE-----\r
106 --=-=-=--\r