From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthieu Lemerre Subject: Re: Org support for the notmuch mail client Date: Sun, 05 Dec 2010 18:19:39 +0100 Message-ID: <87oc90p26s.fsf@free.fr> References: <87k4jx4doq.fsf@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=49179 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPI2q-0003tQ-GY for emacs-orgmode@gnu.org; Sun, 05 Dec 2010 12:06:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPI2o-0001hF-84 for emacs-orgmode@gnu.org; Sun, 05 Dec 2010 12:06:40 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]:45827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPI2n-0001fy-KY for emacs-orgmode@gnu.org; Sun, 05 Dec 2010 12:06:38 -0500 Received: from racin (unknown [82.239.207.166]) by smtp3-g21.free.fr (Postfix) with ESMTP id 15612A62C5 for ; Sun, 5 Dec 2010 18:06:31 +0100 (CET) In-Reply-To: <87k4jx4doq.fsf@free.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I should have mentioned that the reason why I wrote it is that I would very much like to have it included in org-mode, and I'm OK to sign the copyright papers if necessary. Regards, Matthieu On Sun, 28 Nov 2010 17:26:29 +0100, Matthieu Lemerre wrote: > > Hello, org-mode! > > The attached file implements links to mail collections and "searchs" to > the notmuch mail client. A "search" is a query to be performed by > notmuch; it is the equivalent to folders in other mail > clients. Similarly, mails are refered to by a query, so both a link can > refer to several mails. > > I had read on this list > (http://www.mail-archive.com/emacs-orgmode@gnu.org/msg28411.html) that > there already was an implementation of links to notmuch, but it could > not be implemented because of paperwork problems. I have implemented > this because I got tired of waiting :) > > I'm new to hacking org-mode, and the implementation might not be > perfect. I would be happy to receive comments. I already have one > question: why is it needed to url-encode the links in org mode? For > instance, I would like to be able to hand-write links like this: > > [[notmuch-search:to:xxx and not from:yyyy]] > > But it only works if I org-link-encode/org-link-decode the link (else, > the and not .. is completely skipped from the query). Similarly, if I do > > (org-open-link-from-string > "notmuch:id:\"7f39qo4aut.fsf@aeuaue.free.fr\"")) > > The last " gets removed in the argument I receive in org-notmuch-open. > > This is a pity because hand-writing url-encoded links is not > user-friendly. > > > PS: could you please Cc me because I am not subscribed to the list. > > Matthieu > Attachment: org-notmuch.el (application/emacs-lisp)