[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: cannot click on some email addresses



From: jidanni@xxxxxxxxxxx said
Subject: [emacs-w3m:11489] cannot click on some email addresses
Message-ID: <87ei8h3352.fsf@xxxxxxxxxxx>
Date: Thu, 13 Jan 2011 11:15:37 +0800

> On http://lists.debian.org/debian-emacsen/2011/01/msg00000.html
> try clicking on any of the
> Reply to:
>   * debian-emacsen@xxxxxxxxxxxxxxxx
>   * Trent W. Buck (on-list)
>   * Trent W. Buck (off-list)
> addresses. You will get an error.

Thank you for your report.
I fixed it on CVS Head as following patch.

--
Hideyuki SHIRAI (mailto:shirai@xxxxxxxxxxx)

--- w3m.el	11 Jan 2011 04:20:13 -0000	1.1513
+++ w3m.el	13 Jan 2011 13:07:04 -0000
@@ -8830,6 +8830,7 @@
 (defun w3m-goto-mailto-url (url &optional post-data)
   (let ((before (nreverse (buffer-list)))
 	comp info buffers buffer function)
+    (setq url (w3m-decode-entities-string url))
     (save-window-excursion
       (if (and (symbolp w3m-mailto-url-function)
 	       (fboundp w3m-mailto-url-function))

とりあえず、

(setq w3m-mailto-url-function 'mew-url-mailto) <= (*1)
(setq w3m-mailto-url-function 'gnus-url-mailto)

(let ()
  (setq w3m-mailto-url-function nil)
  mail-user-agent)
 => mew-user-agent

の環境で動作するのは確認しました。

(*1) 昔々ぼくが作ったもので、mew-browse.el というものの中に入っ
ています。ちょうど、同時期に Nagata Sen さんが rfc2368.el を書い
ていて、勝手に対抗して :-) いろいろやっていました。