emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christoph Herzog <rhogez@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Linking to Thunderbird (correction)
Date: Mon, 10 Dec 2012 08:24:09 +0100	[thread overview]
Message-ID: <ka42mn$mn9$1@ger.gmane.org> (raw)
In-Reply-To: <k9tuql$192$1@ger.gmane.org>

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	other threads:[~2012-12-10  7:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-07 23:41 Linking to Thunderbird Christoph Herzog
2012-12-10  7:24 ` Christoph Herzog [this message]
2012-12-10 18:45   ` Linking to Thunderbird (correction) 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

  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='ka42mn$mn9$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 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).