emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Linking to Thunderbird (correction)


From: Christoph Herzog
Subject: Re: [O] Linking to Thunderbird (correction)
Date: Mon, 10 Dec 2012 08:24:09 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 12/08/2012 12:41 AM, Christoph Herzog wrote:
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)


The following code works much better:


(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." (start-process "myname" nil "thunderbird" "-thunderlink" (concat "thunderlink:" path)))

(provide 'org-thunderlink)






reply via email to

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