Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Karl Kleinpaste <karl@charcoal.com>
Subject: Re: gnus with firefox
Date: Sun, 14 May 2006 01:19:25 -0400	[thread overview]
Message-ID: <vxklkt5yyhu.fsf@mesquite.charcoal.com> (raw)
In-Reply-To: <878xp5h66f.fsf@localhost.localdomain>

Gary Wessle <phddas@yahoo.com> writes:
> how can I use gnus as a mail client to send mail when I click on a
> link while browser in firefox?

In GNOME Preferences -> More Prefs -> Preferred Applications, I set
Mail Reader as "custom", using "gnus %s".  Then the following script
gives me the handling of mailto: links.

#!/bin/sh
export PATH=/usr/local/bin:"$PATH"
if [ "$1" = "" ] ; then
    exec xemacs -geometry 90x40 -f gnus-init
else
    if gnuclient -batch -eval t >/dev/null 2>&1 ; then
	exec gnuclient -batch -eval "(progn (gnus-url-mailto \"$1\") (set-buffer-modified-p nil))"
    else
	exec xemacs -geometry 90x40 \
	    -eval "(progn (require 'gnus-art) (gnus-url-mailto \"$1\") (font-lock-mode 1) (set-buffer-modified-p nil))"
    fi
fi
exec xmessage -center No XEmacs or gnuclient
echo no xemacs, no gnuclient, no xmessage
exit 1

As someone else observed, the "mozex" extension to FF should be able
to handle this with "gnus %s" for mailto: handling.

  parent reply	other threads:[~2006-05-14  5:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-13 23:10 Gary Wessle
2006-05-14  1:40 ` David Hansen
2006-05-14  5:19 ` Karl Kleinpaste [this message]
     [not found]   ` <m21wuu3aar.fsf@kurt.swanson>
2006-05-17  1:22     ` Dryice Liu
     [not found] ` <mailman.1773.1147571577.9609.info-gnus-english@gnu.org>
2006-05-15 14:56   ` John Sullivan

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=vxklkt5yyhu.fsf@mesquite.charcoal.com \
    --to=karl@charcoal.com \
    --cc=karl+usenet@charcoal.com \
    /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).