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

Re: browse-url-firefox vs. gnus



In [emacs-w3m : No.12254] jidanni@xxxxxxxxxxx wrote:
> Please press TAB until the cursor is on top of the link below.
> Then do M-x browse-url-firefox .
> Does it attempt to get
> "http://本郵件訊息由" ?

This is because browse-url uses 'thing-at-point' to pick a url.
The following replacement will help for the case
`mm-text-html-renderer' is `w3m' or `shr'.

(eval-after-load "browse-url"
  '(progn
     (require 'w3m)
     (defalias
       'browse-url-url-at-point
       'w3m-active-region-or-url-at-point)))