[PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 2b / caf47a33819b6258e1d7c7f1bdbc42b9d113a3
1 Return-Path: <djcb@djcbsoftware.nl>\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 37301431FBC\r
6         for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 13:44:11 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id zg89UOz8yWSX for <notmuch@notmuchmail.org>;\r
11         Sun, 22 Nov 2009 13:44:10 -0800 (PST)\r
12 Received: from gw01.mail.saunalahti.fi (gw01.mail.saunalahti.fi\r
13         [195.197.172.115])\r
14         by olra.theworths.org (Postfix) with ESMTP id 3EF75431FAE\r
15         for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 13:44:10 -0800 (PST)\r
16 Received: from djcbsoftware.nl (a88-112-254-208.elisa-laajakaista.fi\r
17         [88.112.254.208])\r
18         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by gw01.mail.saunalahti.fi (Postfix) with ESMTP id 12B3E151060;\r
21         Sun, 22 Nov 2009 23:44:06 +0200 (EET)\r
22 Received: from cthulhu.mindcrime.djcbsoftware.nl (localhost [127.0.0.1])\r
23         by djcbsoftware.nl (Postfix) with ESMTP id BBB94456001;\r
24         Sun, 22 Nov 2009 23:44:05 +0200 (EET)\r
25 Date: Sun, 22 Nov 2009 23:44:05 +0200\r
26 Message-ID: <87aayexmje.wl%djcb@djcbsoftware.nl>\r
27 From: Dirk-Jan C. Binnema <djcb.bulk@gmail.com>\r
28 To: Michiel Buddingh' <michiel@michielbuddingh.net>\r
29 In-Reply-To: <4b096024.f5WEZqYlMxgYs/o1%michiel@michielbuddingh.net>\r
30 References: <87fx8bygi7.fsf@linux.vnet.ibm.com>\r
31         <87bpiv4t9h.fsf@yoom.home.cworth.org>\r
32         <87y6lz39nd.fsf@yoom.home.cworth.org>\r
33         <20091121221207.GB17268@jukie.net>\r
34         <9cce5525b093b87fe74d427954ffad89@localhost>\r
35         <87d43b2oif.fsf@yoom.home.cworth.org>\r
36         <9bfdedddeab9c58cd45d8d448323d0fc@localhost>\r
37         <87vdh2n7y2.wl%djcb@djcbsoftware.nl>\r
38         <4b096024.f5WEZqYlMxgYs/o1%michiel@michielbuddingh.net>\r
39 Mail-Reply-To: djcb@djcbsoftware.nl\r
40 User-Agent: Wanderlust/2.15.6 (Almost Unreal) Emacs/23.1 Mule/6.0\r
41         (HANACHIRUSATO)\r
42 Organization: DJCBSoftware\r
43 MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")\r
44 Content-Type: text/plain; charset=US-ASCII\r
45 Cc: "notmuch@notmuchmail.org" <notmuch@notmuchmail.org>\r
46 Subject: Re: [notmuch] [PATCH] notmuch: Add Maildir directory name as tag\r
47         name for messages\r
48 X-BeenThere: notmuch@notmuchmail.org\r
49 X-Mailman-Version: 2.1.12\r
50 Precedence: list\r
51 Reply-To: djcb@djcbsoftware.nl\r
52 List-Id: "Use and development of the notmuch mail system."\r
53         <notmuch.notmuchmail.org>\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
57 List-Post: <mailto:notmuch@notmuchmail.org>\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
61 X-List-Received-Date: Sun, 22 Nov 2009 21:44:11 -0000\r
62 \r
63 Hi Michiel,\r
64 \r
65 >>>>> "MB" == Michiel Buddingh' <michiel@michielbuddingh.net> writes:\r
66 \r
67     MB> Dirk-Jan C. Binnema <djcb.bulk@gmail.com> wrote:\r
68     Michiel> +\r
69     Michiel> +static void\r
70     Michiel> +derive_tags_from_maildir_flags (notmuch_message_t \r
71     Michiel> *message, const char *\r
72     Michiel> path)\r
73     >> \r
74     >> I see you don't handle the "N" -- is that deliberate? Also, a \r
75     >> minor addition may to also allow for '!' instead of ':' as a \r
76     >> separator, as that's the semi-official way to use Maildirs on \r
77     >> (V)FAT filesystems (which don't allow for colons in filenames).\r
78 \r
79     MB> Not deliberate.  Simply unaware of the "N" flag, nor aware of \r
80     MB> practices for storing Maildirs on (V)FAT.\r
81 \r
82 Ah, you are right. In my code,\r
83  http://gitorious.org/mu/mainline/blobs/master/msg/mu-msg-flags.c\r
84 I handled it because apparently some programs where using that. But I guess\r
85 it's better to stick to DJB's Maildir spec for now...\r
86 \r
87 Regarding the VFAT-limitations, see eg. the Note in:\r
88   http://docs.python.org/lib/mailbox-maildir.html\r
89 anyway, a minor point.\r
90 \r
91 \r
92 Best wishes,\r
93 Dirk.\r
94 \r
95 -- \r
96 Dirk-Jan C. Binnema                  Helsinki, Finland\r
97 e:djcb@djcbsoftware.nl           w:www.djcbsoftware.nl\r
98 pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C\r