Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 56 / 8876c03209c71edfeecb72cf7b3ff41678a08c
1 Return-Path: <bremner@unb.ca>\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 9B13A429E26\r
6         for <notmuch@notmuchmail.org>; Thu,  6 Oct 2011 07:19:08 -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: -2.29\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3, 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 RGSUz8dQnr-P for <notmuch@notmuchmail.org>;\r
16         Thu,  6 Oct 2011 07:19:07 -0700 (PDT)\r
17 Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id BABA9429E28\r
21         for <notmuch@notmuchmail.org>; Thu,  6 Oct 2011 07:19:07 -0700 (PDT)\r
22 Received: from zancas.localnet\r
23         (fctnnbsc36w-156034064058.pppoe-dynamic.High-Speed.nb.bellaliant.net\r
24         [156.34.64.58]) (authenticated bits=0)\r
25         by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id p96EIwJR011033\r
26         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO);\r
27         Thu, 6 Oct 2011 11:18:59 -0300\r
28 Received: from bremner by zancas.localnet with local (Exim 4.76)\r
29         (envelope-from <bremner@unb.ca>)\r
30         id 1RBomo-0005mq-Lp; Thu, 06 Oct 2011 11:18:58 -0300\r
31 From: David Bremner <david@tethera.net>\r
32 To: Jesse Rosenthal <jrosenthal@jhu.edu>,\r
33         Jameson Graef Rollins <jrollins@finestructure.net>,\r
34         Notmuch Mail <notmuch@notmuchmail.org>\r
35 Subject: Re: tag sharing\r
36 In-Reply-To: <m17h4i8dcj.fsf@watt.hwcampus.jhu.edu>\r
37 References: <1306619520-25730-1-git-send-email-jrollins@finestructure.net>\r
38         <87hb8eebdi.fsf@servo.factory.finestructure.net>\r
39         <87pqmyn224.fsf@servo.factory.finestructure.net>\r
40         <87zklyjshd.fsf@yoom.home.cworth.org>\r
41         <87sjrng5k3.fsf@servo.factory.finestructure.net>\r
42         <87oc2bjgrs.fsf@yoom.home.cworth.org>\r
43         <8762oigc0y.fsf@servo.factory.finestructure.net>\r
44         <87boya98sf.fsf@gogo.home>\r
45         <87vcwg2p2m.fsf@servo.factory.finestructure.net>\r
46         <87wrcijn1w.fsf@zancas.localnet>\r
47         <m17h4i8dcj.fsf@watt.hwcampus.jhu.edu>\r
48 User-Agent: Notmuch/0.9_rc1-42-g76fdca8 (http://notmuchmail.org) Emacs/23.3.1\r
49         (x86_64-pc-linux-gnu)\r
50 Date: Thu, 06 Oct 2011 11:18:51 -0300\r
51 Message-ID: <87ipo2td84.fsf@zancas.localnet>\r
52 MIME-Version: 1.0\r
53 Content-Type: multipart/signed; boundary="=-=-=";\r
54         micalg=pgp-sha1; protocol="application/pgp-signature"\r
55 X-BeenThere: notmuch@notmuchmail.org\r
56 X-Mailman-Version: 2.1.13\r
57 Precedence: list\r
58 List-Id: "Use and development of the notmuch mail system."\r
59         <notmuch.notmuchmail.org>\r
60 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
62 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
63 List-Post: <mailto:notmuch@notmuchmail.org>\r
64 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
65 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
66         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
67 X-List-Received-Date: Thu, 06 Oct 2011 14:19:08 -0000\r
68 \r
69 --=-=-=\r
70 \r
71 On Thu, 06 Oct 2011 09:21:48 -0400, Jesse Rosenthal <jrosenthal@jhu.edu> wrote:\r
72 \r
73 > morning's project. In retrospect, I think the main issue was that I was\r
74 > trying to figure out how history would be kept. By using git, though,\r
75 > your idea would be that we get history for free, right?\r
76 \r
77 Yeah. Of course, one would have to decide if the history of the current\r
78 dump file format is intelligible, or if some alternative format should\r
79 be used.\r
80 \r
81 > of git? I.e., all we need something to just keep different dumps in\r
82 > different namespaces, so that when I pull your dump, the tags come in as\r
83 > `bremner/to-fix` (or whatever our separator is), and then when I dump\r
84 > all `bremner` tags, it removes the namespace and puts it in\r
85 > `bremner.tagfile`.\r
86 \r
87 something like that sounds plausible. Currently the query parser doesn't\r
88 handle searches like "tag:bremner/to-fix" very well, because it\r
89 helpfully splits at '/' (aiui; maybe somebody else can explain it\r
90 better).  "notmuch search "tag:notmuch*" does not seem to work either,\r
91 so my first idea to kludge around the problem by using\r
92 e.g. "notmuchPushed" doesn't seem to work either.\r
93 \r
94 > So using\r
95 > either the library or the bindings would probably speed things up quite\r
96 > a bit, by only dumping the tags you care about. Which means it couldn't\r
97 > just be a shell script: it would have to be c/ruby/python.\r
98 \r
99 Without looking at the code, I'd guess it wouldn't be too hard to have\r
100 notmuch-dump take a standard search term; it's just as I mentioned I\r
101 don't see an elegant way of doing what we want with a standard search\r
102 term. Of course I'd be happy to be proved wrong.\r
103 \r
104 David\r
105 \r
106 \r
107 \r
108 \r
109 --=-=-=\r
110 Content-Type: application/pgp-signature\r
111 \r
112 -----BEGIN PGP SIGNATURE-----\r
113 Version: GnuPG v1.4.11 (GNU/Linux)\r
114 \r
115 iJwEAQECAAYFAk6NuMsACgkQTiiN/0Um85lHKgP/eXBH8JznAKdI48iLTbtvqCP3\r
116 dZArwtAP0dzQ27jDvOlYv3/MnbLMPGKUWXYpS0Wvwz0EwA5/KOCIxq4liC7xysGm\r
117 ZTpm3yJcHs4Wf+e28UKv09tDm6aWM2TLsGcIbU6qSJK34/HQlN8Mw03aqt9/nVt4\r
118 qL9fGVxAj61xWRyJUII=\r
119 =QvvG\r
120 -----END PGP SIGNATURE-----\r
121 --=-=-=--\r