info-gnus-english
[Top][All Lists]
Advanced

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

Re: How to have 'mailto' (clicking addresses) open a new email in Gnus?


From: Charles Philip Chan
Subject: Re: How to have 'mailto' (clicking addresses) open a new email in Gnus?
Date: Fri, 10 Aug 2012 15:13:48 -0400
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux)

Marius Hofert <marius.hofert@math.ethz.ch> 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)

Attachment: pgphoxLdYXcQL.pgp
Description: PGP signature


reply via email to

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