From: Christoph Herzog <rhogez@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Linking to Thunderbird
Date: Sat, 08 Dec 2012 00:41:11 +0100 [thread overview]
Message-ID: <k9tuql$192$1@ger.gmane.org> (raw)
Today I discovered a really practical add-on for Thunderbird that solved
my problem of how to linking to a mail in Thunderbird:
https://addons.mozilla.org/de/thunderbird/addon/thunderlink/
(It requires some modification of the mimetypes on your system as
described in the documentation.)
Next, I set up a file org-thunderlink.el to register the link in orgmode.
The code is not more than this:
(require 'org)
(org-add-link-type "thunderlink" 'org-thunderlink-open)
(defun org-thunderlink-open (path)
"Opens a specified email in Thunderbird with the help of the add-on
ThunderLink."
;(message-box path)
(start-process "myname" nil "xdg-open" (concat "thunderlink:" path)))
(provide 'org-thunderlink)
It works mostly except when Thunderbird is not running and for some
emails whose id start with a number (but I have to check out).
I would be interested in feedback if someone improves the code above to
make it right: I'm aware that, as I am not an Elisp programmer, the code
above is probably not the way to do it. :-)
next reply other threads:[~2012-12-07 23:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-07 23:41 Christoph Herzog [this message]
2012-12-10 7:24 ` Linking to Thunderbird (correction) Christoph Herzog
2012-12-10 18:45 ` Matt Price
2012-12-13 22:58 ` Linking to Thunderbird Bastien
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='k9tuql$192$1@ger.gmane.org' \
--to=rhogez@gmail.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.