Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / c8 / e1a4d7f07f765fb7fc2009371f5c4c52655e53
1 Return-Path: <micah@riseup.net>\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 015C7431FB6\r
6         for <notmuch@notmuchmail.org>; Sun, 20 Mar 2011 08:40:50 -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.689\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.689 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7, T_MIME_NO_TEXT=0.01,\r
13         UNPARSEABLE_RELAY=0.001] autolearn=disabled\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 WH4LAGzTOrGy for <notmuch@notmuchmail.org>;\r
17         Sun, 20 Mar 2011 08:40:50 -0700 (PDT)\r
18 Received: from mx1.riseup.net (mx1.riseup.net [204.13.164.18])\r
19         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 89A11431FB5\r
22         for <notmuch@notmuchmail.org>; Sun, 20 Mar 2011 08:40:50 -0700 (PDT)\r
23 Received: from tern.riseup.net (tern-pn.riseup.net [10.0.1.12])\r
24         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
25         (Client CN "*.riseup.net", Issuer "Gandi Standard SSL CA" (verified OK))\r
26         by mx1.riseup.net (Postfix) with ESMTPS id A6D0925ECB1;\r
27         Sun, 20 Mar 2011 08:40:49 -0700 (PDT)\r
28 Received: from [127.0.0.1] (localhost [127.0.0.1])\r
29         (Authenticated sender: micah@tern.riseup.net)\r
30         with ESMTPSA id 2C1EA14C16C\r
31 Received: by algae (Postfix, from userid 1000)\r
32         id AEC2B9436C; Sun, 20 Mar 2011 11:40:47 -0400 (EDT)\r
33 From: micah anderson <micah@riseup.net>\r
34 To: Matthieu Lemerre <racin@free.fr>, notmuch <notmuch@notmuchmail.org>\r
35 Subject: Re: Org-mode support\r
36 In-Reply-To: <87aagubq75.fsf@free.fr>\r
37 References: <87aai7k0ae.fsf@free.fr> <87lj0fhg3g.fsf@algae.riseup.net>\r
38         <87aagubq75.fsf@free.fr>\r
39 User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.2.1\r
40         (i486-pc-linux-gnu)\r
41 Date: Sun, 20 Mar 2011 11:40:42 -0400\r
42 Message-ID: <87ipvd241x.fsf@algae.riseup.net>\r
43 MIME-Version: 1.0\r
44 Content-Type: multipart/signed; boundary="=-=-=";\r
45         micalg=pgp-sha512; protocol="application/pgp-signature"\r
46 X-Virus-Scanned: clamav-milter 0.97 at mx1\r
47 X-Virus-Status: Clean\r
48 X-BeenThere: notmuch@notmuchmail.org\r
49 X-Mailman-Version: 2.1.13\r
50 Precedence: list\r
51 List-Id: "Use and development of the notmuch mail system."\r
52         <notmuch.notmuchmail.org>\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
56 List-Post: <mailto:notmuch@notmuchmail.org>\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
60 X-List-Received-Date: Sun, 20 Mar 2011 15:40:51 -0000\r
61 \r
62 --=-=-=\r
63 Content-Transfer-Encoding: quoted-printable\r
64 \r
65 On Thu, 17 Mar 2011 00:28:30 +0100, Matthieu Lemerre <racin@free.fr> wrote:\r
66 \r
67 > > I have one question, how do you add multiple query arguments? For\r
68 > > example, in my org file I tried 'notmuch-search:tag:notmuch' - this\r
69 > > worked great, but if I did 'notmuch-search:tag:notmuch and subject:Org'\r
70 > > the link only works up until the first space.\r
71 >=20\r
72 > This is because org-mode links must be url encoded (this is a org-mode\r
73 > limitation, could do nothing about it). So in links that contain spaces,\r
74 > such as yours, spaces must be replaced by %20, like this:\r
75 >=20\r
76 > [[notmuch-search:toto%20and%20tata][Notmuch search: toto and tata]]\r
77 \r
78 Thanks, I'm somewhat new to org-mode, so I appreciate that information!\r
79 \r
80 > > I also noticed that David Bremner has done something similar[0] and I\r
81 > > wonder if you have looked at his code[1], or if David has looked at\r
82 > > yours. Perhaps the start of a collaboration?\r
83 >=20\r
84 > If I remember correctly, I specifically forbid myself to look into this\r
85 > code because David had copyright issues with its employer. But I believe\r
86 > that both codes are doing essentially the same thing.\r
87 \r
88 It sounds like you are right about the copyright issues.=20\r
89 \r
90 I noticed one thing about your org add-on that would be nice to improve:\r
91 it doesn't appear as if you support linking to a thread in\r
92 notmuch-search-mode. If I have a search buffer, generated by "notmuch\r
93 search tag:notmuch" and I find in there your message with the Subject\r
94 "Org-mode support" and I put my cursor on it and do M-x org-store-link,\r
95 the link that is generated is to "Notmuch search: tag:notmuch" rather\r
96 than to the thread id that is under the cursor. A minor thing, but could\r
97 be quite useful.\r
98 \r
99 thanks!\r
100 micah\r
101 \r
102 --=-=-=\r
103 Content-Type: application/pgp-signature\r
104 \r
105 -----BEGIN PGP SIGNATURE-----\r
106 Version: GnuPG v1.4.11 (GNU/Linux)\r
107 \r
108 iQIcBAEBCgAGBQJNhh/6AAoJEIy/mjIoYaeQ05EP/3GuYQXxyauoBq7n9NfIN4d3\r
109 McL9waYq0rK4fzLOdwt/pW1BdZynV3gHoVHMRhpVB/QgsupceAoJGQbvnbLcR69w\r
110 VH7bCJll6VviNajvhbv6LHQ2zqjg6J1j8Yz5DxyZsG4Xj61kXg160mrFnXkoaxEx\r
111 j1VWByTIejhfKpgs8wcAVpOBfTTOhwuC5Vq6JdLptCsriuCr9zssrJv37KTnkJSC\r
112 J41tt5lYLgYxRRo54C7LbIwru2sbqBycXlez6U9xnNEMHREJqWXnUAirFLjgXgxo\r
113 nHK8K15Z04h2mtyMTKPbYmbjMJYzVnlPai1rd60XRhL0yNFklZZwoMyp7OgLA9IK\r
114 q+KY1Ndg4F2sMJzIRibhC12KFWkyJixlDIpxiyti7yaIfDuZksNYnbRnoMqYJKA5\r
115 waj0M0IPAluvGZVOyxawRdAUVTHO5aNY8rSTnWtdDEmOxdfJ7jKO8ffjBw3GONXl\r
116 aE6KPhWXt40L4he/sI7uazeVJVS1ZdevnY2I1n8hK75Z06iBUTboOybsOn4OjDfe\r
117 I8aF/7iuGjdKrndgOovRnwxFAAIrNa/hR1v2nU9vm0WPs6NtdkWR0cJyfHID1yO7\r
118 oHM1EVhL0ZeuYW37e2108UOZPY6q2Tc4JpFmYHH9r8PnLCRpiFt/1wb26um2Gn7N\r
119 SPG0d5Ur00qvUIj+5xqM\r
120 =mL0L\r
121 -----END PGP SIGNATURE-----\r
122 --=-=-=--\r