Gary Wessle <[EMAIL PROTECTED]> 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.
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to