[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make emacs-w3m use wanderlust on a mailto: link?
At Mon, 07 Dec 2009 07:14:35 +0900,
Katsumi Yamaoka wrote:
>
> >>>>> In [Wanderlust English : No.03112] Bill Powell wrote:
>
> > Hi! Another quick newbie question: how do I configure emacs-w3m to
> > use wanderlust when I click on a mailto: link? I looked around but
> > couldn't find info on this.
>
> Specify `mail-user-agent'. See the Wanderlust info manual:
>
> (info "(wl)Minimal Settings") <- Type `C-x C-e' here.
>
Excellent! Thanks very much! I added this bit of code to my .emacs:
;; Make Wanderlust the default mailer.
(autoload 'wl-user-agent-compose "wl-draft" nil t)
(if (boundp 'mail-user-agent)
(setq mail-user-agent 'wl-user-agent))
(if (fboundp 'define-mail-user-agent)
(define-mail-user-agent
'wl-user-agent
'wl-user-agent-compose
'wl-draft-send
'wl-draft-kill
'mail-send-hook))
And now, when I'm in emacs-w3m, when I hit RETURN on a "mailto:" link, it brings
up Wanderlust. Splendid.
Thanks again,
Bill Powell