[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nnrss vs. copy link location
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Thu, 04 Dec 2008 10:58:37 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 10503
- References: <87prkaf5dp.fsf@xxxxxxxxxxx> <20081204.021742.256018989115879870.nao.aota@xxxxxxxxx>
>>>>> Naohiro Aota wrote:
> It seems that there is something wrong with Gnus.
> mm-inline-text-html-render-with-w3m() in mm-view.el
> .-------------------------------------------------------------------------------
>| (let ((w3m-safe-url-regexp mm-w3m-safe-url-regexp)
>| w3m-force-redisplay)
>| (w3m-region (point-min) (point-max) nil charset))
> `-------------------------------------------------------------------------------
> Here, links' special keymap (w3m-link-map) is set.
> .-------------------------------------------------------------------------------
>| (when (and mm-inline-text-html-with-w3m-keymap
>| (boundp 'w3m-minor-mode-map)
>| w3m-minor-mode-map)
>| (add-text-properties
>| (point-min) (point-max)
>| (list 'keymap w3m-minor-mode-map
>| ;; Put the mark meaning this part was rendered by
> emacs-w3m.
>| 'mm-inline-text-html-with-w3m t)))
> `-------------------------------------------------------------------------------
> But here, the previous keymap is overridden. :(
> Anyway, I wrote a patch to fix this problem. Could you check it?
Thank you for fixing the bug. I verified that the patch does
the trick and realized that the mouse handling on links got to be
very convenient. I've committed your patch (that was broken but
I repaired manually) in both the Gnus trunk and the Emacs trunk.
Regards,