Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Marius Hofert <marius.hofert@math.ethz.ch>
To: gnu.emacs.gnus@googlegroups.com
Cc: info-gnus-english@gnu.org
Subject: Re: How to have 'mailto' (clicking addresses) open a new email in Gnus?
Date: Fri, 10 Aug 2012 16:28:28 -0700 (PDT)	[thread overview]
Message-ID: <3a743fa6-9e26-4029-ac0b-deb441df30f9@googlegroups.com> (raw)
In-Reply-To: <mailman.6737.1344626097.855.info-gnus-english@gnu.org>

Dear Charles,

*excellent*, many thanks.

Marius

On Friday, August 10, 2012 9:13:48 PM UTC+2, Charles Philip Chan wrote:
> Marius Hofert writes:
> 
> 
> 
> > Sometimes, email addresses on websites are links, which, when clicked,
> 
> > open a new email (with corresponding address) in the default email
> 
> > program. I figured out that Firefox has a setting (Preferences ->
> 
> > Applications -> mailto) but how can I set it to open a new email in
> 
> > Gnus?
> 
> 
> 
> You need a script and set Firefox's mailto handler to use it. For
> 
> example:
> 
> 
> 
> #!/bin/sh
> 
> mailaddr="`echo $1 | cut -d : -f 2`"
> 
> emacsclient -n --eval "(compose-mail-other-frame \"$mailaddr\" \"$2\")"
> 
> 
> 
> Charles
> 
> 
> 
> -- 
> 
> "I once witnessed a long-winded, month-long flamewar over the use of
> 
> mice vs. trackballs...It was very silly."
> 
> (By Matt Welsh)

  parent reply	other threads:[~2012-08-10 23:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-10 18:36 Marius Hofert
2012-08-10 19:13 ` Charles Philip Chan
     [not found] ` <mailman.6737.1344626097.855.info-gnus-english@gnu.org>
2012-08-10 23:28   ` Marius Hofert [this message]
2012-08-10 23:46   ` Marius Hofert
2012-08-10 23:59     ` Charles Philip Chan
     [not found]     ` <mailman.6753.1344643232.855.info-gnus-english@gnu.org>
2012-08-11  6:13       ` Marius Hofert
2012-08-11  8:48         ` Charles Philip Chan
     [not found]         ` <mailman.6764.1344675537.855.info-gnus-english@gnu.org>
2012-08-11 16:33           ` Marius Hofert
2012-08-11 18:26             ` Charles Philip Chan
     [not found]             ` <mailman.6802.1344709625.855.info-gnus-english@gnu.org>
2012-08-11 20:11               ` Marius Hofert
2012-08-11  5:12 ` Teemu Likonen

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=3a743fa6-9e26-4029-ac0b-deb441df30f9@googlegroups.com \
    --to=marius.hofert@math.ethz.ch \
    --cc=gnu.emacs.gnus@googlegroups.com \
    --cc=info-gnus-english@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.
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 NNTP newsgroup(s).