[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Org support for the notmuch mail client

From: Matthieu Lemerre
Subject: [Orgmode] Org support for the notmuch mail client
Date: Sun, 28 Nov 2010 17:26:29 +0100
User-agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.2.1 (i486-pc-linux-gnu)

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/address@hidden/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


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

PS: could you please Cc me because I am not subscribed to the list.


Attachment: org-notmuch.el
Description: application/emacs-lisp

reply via email to

[Prev in Thread] Current Thread [Next in Thread]