From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67845 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.w3m,gmane.emacs.gnus.general Subject: [emacs-w3m:10503] Re: nnrss vs. copy link location Date: Thu, 04 Dec 2008 10:58:37 +0900 Organization: Emacsen advocacy group Message-ID: References: <87prkaf5dp.fsf@jidanni.org> <20081204.021742.256018989115879870.nao.aota@gmail.com> Reply-To: emacs-w3m@namazu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228355945 24983 80.91.229.2 (4 Dec 2008 01:59:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2008 01:59:05 +0000 (UTC) Cc: jidanni@jidanni.org, emacs-w3m@namazu.org To: ding@gnus.org Original-X-From: emacs-w3m-admin@namazu.org Thu Dec 04 01:59:04 2008 Return-path: Envelope-to: emacs-w3m@deer.gmane.org Original-Received: from quimby.gnus.org ([80.91.231.51]) by ciao.gmane.org with esmtp (Exim 4.43) id 1L83Ub-0007c7-Nl for emacs-w3m@deer.gmane.org; Thu, 04 Dec 2008 01:59:01 +0000 Original-Received: from vaj.namazu.org ([202.221.179.42]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1L83Un-0008Ak-00 for ; Thu, 04 Dec 2008 02:59:13 +0100 Original-Received: from vaj.namazu.org (localhost [127.0.0.1]) by vaj.namazu.org (Postfix) with ESMTP id 23B8899F32; Thu, 4 Dec 2008 10:58:58 +0900 (JST) Original-Received: from orlando.hostforweb.net (orlando.hostforweb.net [216.246.45.90]) by vaj.namazu.org (Postfix) with ESMTP id E54E199E91 for ; Thu, 4 Dec 2008 10:58:56 +0900 (JST) Original-Received: from localhost ([127.0.0.1]:34812) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1L83UO-0007U5-W6; Wed, 03 Dec 2008 19:58:50 -0600 X-ML-Name: emacs-w3m X-Mail-Count: 10503 X-MLServer: fml [fml 4.0.3 release (20011202/4.0.3)]; post only (anyone can post) X-ML-Info: If you have a question, send e-mail with the body "help" (without quotes) to the address emacs-w3m-ctl@namazu.org; help= User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) X-Hashcash: 1:20:081204:ding@gnus.org::hKclqYBStesH3Wrk:000022cI X-Hashcash: 1:20:081204:jidanni@jidanni.org::LXi86dDEhbuQHz/2:00000000000000000000000000000000000000000041Br X-Hashcash: 1:20:081204:emacs-w3m@namazu.org::BwDxRMk/MtmYewOt:000000000000000000000000000000000000000004U1Z X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( Cancel-Lock: sha1:PvScw6Pa0wkAoWCWjw3MhSsdA44= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - namazu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Flag: No X-Spam-Probability: 0.000000 Precedence: bulk Original-Lines: 34 List-Id: emacs-w3m.namazu.org List-Software: fml [fml 4.0.3 release (20011202/4.0.3)] List-Post: List-Owner: List-Help: List-Unsubscribe: Xref: news.gmane.org gmane.emacs.w3m:7863 gmane.emacs.gnus.general:67845 Archived-At: >>>>> 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,