emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org support for the notmuch mail client
@ 2010-11-28 16:26 Matthieu Lemerre
  2010-12-05 17:19 ` Matthieu Lemerre
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Matthieu Lemerre @ 2010-11-28 16:26 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1344 bytes --]


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 #2: org-notmuch.el --]
[-- Type: application/emacs-lisp, Size: 3727 bytes --]

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-02-12 15:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-28 16:26 Org support for the notmuch mail client Matthieu Lemerre
2010-12-05 17:19 ` Matthieu Lemerre
2010-12-14 11:54   ` David Bremner
2011-02-03 14:38 ` Bastien
2011-02-12 12:24 ` Bastien
2011-02-12 15:54   ` Matthieu Lemerre
2011-02-12 15:55     ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).