[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnus with firefox
From: |
Karl Kleinpaste |
Subject: |
Re: gnus with firefox |
Date: |
Sun, 14 May 2006 01:19:25 -0400 |
User-agent: |
Gnus/5.110005 (No Gnus v0.5) XEmacs/21.5-b26 (linux) |
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.