Re: Org-mode support
authorMatthieu Lemerre <racin@free.fr>
Wed, 16 Mar 2011 23:28:30 +0000 (00:28 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:38:00 +0000 (09:38 -0800)
e6/ee48005d55d588834ab21c5bc2fb792cfbc21c [new file with mode: 0644]

diff --git a/e6/ee48005d55d588834ab21c5bc2fb792cfbc21c b/e6/ee48005d55d588834ab21c5bc2fb792cfbc21c
new file mode 100644 (file)
index 0000000..fb17a98
--- /dev/null
@@ -0,0 +1,77 @@
+Return-Path: <racin@free.fr>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 607C1431FB6\r
+       for <notmuch@notmuchmail.org>; Wed, 16 Mar 2011 16:19:21 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.001\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.001 tagged_above=-999 required=5\r
+       tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id oRt4EED-vtIC for <notmuch@notmuchmail.org>;\r
+       Wed, 16 Mar 2011 16:19:19 -0700 (PDT)\r
+Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3])\r
+       by olra.theworths.org (Postfix) with ESMTP id A6417431FB5\r
+       for <notmuch@notmuchmail.org>; Wed, 16 Mar 2011 16:19:18 -0700 (PDT)\r
+Received: from racin (unknown [82.239.207.166])\r
+       by smtp3-g21.free.fr (Postfix) with ESMTP id 9F1B3A6279;\r
+       Thu, 17 Mar 2011 00:19:13 +0100 (CET)\r
+From: Matthieu Lemerre <racin@free.fr>\r
+To: micah anderson <micah@riseup.net>, notmuch <notmuch@notmuchmail.org>\r
+Subject: Re: Org-mode support\r
+In-Reply-To: <87lj0fhg3g.fsf@algae.riseup.net>\r
+References: <87aai7k0ae.fsf@free.fr> <87lj0fhg3g.fsf@algae.riseup.net>\r
+User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.2.1\r
+       (i486-pc-linux-gnu)\r
+Date: Thu, 17 Mar 2011 00:28:30 +0100\r
+Message-ID: <87aagubq75.fsf@free.fr>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 16 Mar 2011 23:19:21 -0000\r
+\r
+\r
+Hi Micah,\r
+\r
+> Thanks so much for sending this, its very interesting! I've just started\r
+> trying it and have managed to use M-x org-store-link on your email to\r
+> add an org-mode todo item to try out org-mode support for notmuch :)\r
+\r
+Great, that's how it is supposed to be used! :)\r
+\r
+> I have one question, how do you add multiple query arguments? For\r
+> example, in my org file I tried 'notmuch-search:tag:notmuch' - this\r
+> worked great, but if I did 'notmuch-search:tag:notmuch and subject:Org'\r
+> the link only works up until the first space.\r
+\r
+This is because org-mode links must be url encoded (this is a org-mode\r
+limitation, could do nothing about it). So in links that contain spaces,\r
+such as yours, spaces must be replaced by %20, like this:\r
+\r
+[[notmuch-search:toto%20and%20tata][Notmuch search: toto and tata]]\r
+\r
+> I also noticed that David Bremner has done something similar[0] and I\r
+> wonder if you have looked at his code[1], or if David has looked at\r
+> yours. Perhaps the start of a collaboration?\r
+\r
+If I remember correctly, I specifically forbid myself to look into this\r
+code because David had copyright issues with its employer. But I believe\r
+that both codes are doing essentially the same thing.\r
+\r
+Matthieu\r