Org-mode mailing list
 help / color / 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
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 index

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://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

Org-mode mailing list

Archives are clonable:
	git clone --mirror https://orgmode.org/list/0 list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ https://orgmode.org/list \
		emacs-orgmode@gnu.org
	public-inbox-index list

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.orgmode
	nntp://news.gmane.io/gmane.emacs.orgmode


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git