Re: [PATCH] Do not query on notmuch-search exit
[notmuch-archives.git] / e6 / ee48005d55d588834ab21c5bc2fb792cfbc21c
1 Return-Path: <racin@free.fr>\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 607C1431FB6\r
6         for <notmuch@notmuchmail.org>; Wed, 16 Mar 2011 16:19:21 -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.001\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.001 tagged_above=-999 required=5\r
12         tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001]\r
13         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 oRt4EED-vtIC for <notmuch@notmuchmail.org>;\r
17         Wed, 16 Mar 2011 16:19:19 -0700 (PDT)\r
18 Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3])\r
19         by olra.theworths.org (Postfix) with ESMTP id A6417431FB5\r
20         for <notmuch@notmuchmail.org>; Wed, 16 Mar 2011 16:19:18 -0700 (PDT)\r
21 Received: from racin (unknown [82.239.207.166])\r
22         by smtp3-g21.free.fr (Postfix) with ESMTP id 9F1B3A6279;\r
23         Thu, 17 Mar 2011 00:19:13 +0100 (CET)\r
24 From: Matthieu Lemerre <racin@free.fr>\r
25 To: micah anderson <micah@riseup.net>, notmuch <notmuch@notmuchmail.org>\r
26 Subject: Re: Org-mode support\r
27 In-Reply-To: <87lj0fhg3g.fsf@algae.riseup.net>\r
28 References: <87aai7k0ae.fsf@free.fr> <87lj0fhg3g.fsf@algae.riseup.net>\r
29 User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.2.1\r
30         (i486-pc-linux-gnu)\r
31 Date: Thu, 17 Mar 2011 00:28:30 +0100\r
32 Message-ID: <87aagubq75.fsf@free.fr>\r
33 MIME-Version: 1.0\r
34 Content-Type: text/plain; charset=us-ascii\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, 16 Mar 2011 23:19:21 -0000\r
48 \r
49 \r
50 Hi Micah,\r
51 \r
52 > Thanks so much for sending this, its very interesting! I've just started\r
53 > trying it and have managed to use M-x org-store-link on your email to\r
54 > add an org-mode todo item to try out org-mode support for notmuch :)\r
55 \r
56 Great, that's how it is supposed to be used! :)\r
57 \r
58 > I have one question, how do you add multiple query arguments? For\r
59 > example, in my org file I tried 'notmuch-search:tag:notmuch' - this\r
60 > worked great, but if I did 'notmuch-search:tag:notmuch and subject:Org'\r
61 > the link only works up until the first space.\r
62 \r
63 This is because org-mode links must be url encoded (this is a org-mode\r
64 limitation, could do nothing about it). So in links that contain spaces,\r
65 such as yours, spaces must be replaced by %20, like this:\r
66 \r
67 [[notmuch-search:toto%20and%20tata][Notmuch search: toto and tata]]\r
68 \r
69 > I also noticed that David Bremner has done something similar[0] and I\r
70 > wonder if you have looked at his code[1], or if David has looked at\r
71 > yours. Perhaps the start of a collaboration?\r
72 \r
73 If I remember correctly, I specifically forbid myself to look into this\r
74 code because David had copyright issues with its employer. But I believe\r
75 that both codes are doing essentially the same thing.\r
76 \r
77 Matthieu\r