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: Marius Hofert
Subject: Re: How to have 'mailto' (clicking addresses) open a new email in Gnus?
Date: Fri, 10 Aug 2012 16:28:28 -0700 (PDT)
User-agent: G2/1.0

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)




reply via email to

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