From: Matthieu Lemerre <racin@free.fr>
To: emacs-orgmode@gnu.org
Subject: Org support for the notmuch mail client
Date: Sun, 28 Nov 2010 17:26:29 +0100 [thread overview]
Message-ID: <87k4jx4doq.fsf@free.fr> (raw)
[-- 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
next reply other threads:[~2010-11-28 16:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-28 16:26 Matthieu Lemerre [this message]
2010-12-05 17:19 ` Org support for the notmuch mail client 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
-- strict thread matches above, loose matches on Subject: below --
2011-02-13 19:47 Darren McGuicken
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k4jx4doq.fsf@free.fr \
--to=racin@free.fr \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).