From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67839 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.gnus.general Subject: nnrss vs. copy link location Date: Wed, 03 Dec 2008 08:51:14 +0800 Message-ID: <87prkaf5dp.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228265556 29352 80.91.229.12 (3 Dec 2008 00:52:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2008 00:52:36 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16286@lists.math.uh.edu Wed Dec 03 01:53:39 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1L7fzi-0003VX-O1 for ding-account@gmane.org; Wed, 03 Dec 2008 01:53:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1L7fxd-00027X-NT; Tue, 02 Dec 2008 18:51:25 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1L7fxb-00027I-6t for ding@lists.math.uh.edu; Tue, 02 Dec 2008 18:51:23 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1L7fxY-0008Cs-LS for ding@lists.math.uh.edu; Tue, 02 Dec 2008 18:51:23 -0600 Original-Received: from sd-green-bigip-177.dreamhost.com ([208.97.132.177] helo=homiemail-a1.g.dreamhost.com) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1L7fxj-0002ty-00 for ; Wed, 03 Dec 2008 01:51:31 +0100 Original-Received: from jidanni1.jidanni.org (122-127-36-102.dynamic.hinet.net [122.127.36.102]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTP id E3C67119E13 for ; Tue, 2 Dec 2008 16:51:16 -0800 (PST) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67839 Archived-At: I'm reading http://feedproxy.google.com/TorrentFreak in NNRSS, but when I come across links like US Pirate Party there is no 'copy link location' etc. right click mouse keys etc. No way to copy link location. From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67840 Path: news.gmane.org!not-for-mail From: "Robert D. Crawford" Newsgroups: gmane.emacs.gnus.general Subject: Re: nnrss vs. copy link location Date: Tue, 02 Dec 2008 20:18:25 -0600 Message-ID: <878wqyroge.fsf@comcast.net> References: <87prkaf5dp.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228270827 9022 80.91.229.12 (3 Dec 2008 02:20:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2008 02:20:27 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16287@lists.math.uh.edu Wed Dec 03 03:21:29 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1L7hMm-0000e9-HA for ding-account@gmane.org; Wed, 03 Dec 2008 03:21:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1L7hLB-0002X9-Cu; Tue, 02 Dec 2008 20:19:49 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1L7hL9-0002Ww-PN for ding@lists.math.uh.edu; Tue, 02 Dec 2008 20:19:47 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1L7hL7-00007G-6R for ding@lists.math.uh.edu; Tue, 02 Dec 2008 20:19:47 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1L7hLH-00040q-00 for ; Wed, 03 Dec 2008 03:19:55 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1L7hL4-0008LJ-MW for ding@gnus.org; Wed, 03 Dec 2008 02:19:42 +0000 Original-Received: from c-98-211-29-41.hsd1.tn.comcast.net ([98.211.29.41]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Dec 2008 02:19:42 +0000 Original-Received: from rdc1x by c-98-211-29-41.hsd1.tn.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Dec 2008 02:19:42 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 31 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-211-29-41.hsd1.tn.comcast.net Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:VGbLpH/i1vRllm1rJ9LGL8f83TA= X-Spam-Score: -3.6 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67840 Archived-At: jidanni@jidanni.org writes: > I'm reading http://feedproxy.google.com/TorrentFreak in NNRSS, but > when I come across links like > US Pirate Party > there is no 'copy link location' etc. right click mouse keys etc. No > way to copy link location. If you want to copy the link into the kill ring for later yanking, here is some code that will do this. You did not mention whether you were using w3 or w3m to view html buffers, but this code will work either way: (defun rdc-gnus-save-url () "Saves the url to the kill-ring." (interactive) (if (eq browse-url-browser-function 'w3m-browse-url) (w3m-print-this-url) (progn (w3-view-this-url) (w3-save-this-url)))) (define-key gnus-article-mode-map "v" 'rdc-gnus-save-url) Helpful? rdc -- Robert D. Crawford rdc1x@comcast.net From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67842 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.gnus.general Subject: Re: nnrss vs. copy link location Date: Wed, 03 Dec 2008 11:26:33 +0800 Message-ID: <87ljuyvt06.fsf@jidanni.org> References: <878wqyroge.fsf@comcast.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228274837 17629 80.91.229.12 (3 Dec 2008 03:27:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2008 03:27:17 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16289@lists.math.uh.edu Wed Dec 03 04:28:21 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1L7iPS-00076s-JV for ding-account@gmane.org; Wed, 03 Dec 2008 04:28:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1L7iNv-0002tF-Cj; Tue, 02 Dec 2008 21:26:43 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1L7iNt-0002t0-Ra for ding@lists.math.uh.edu; Tue, 02 Dec 2008 21:26:41 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1L7iNq-0000IN-V4 for ding@lists.math.uh.edu; Tue, 02 Dec 2008 21:26:41 -0600 Original-Received: from mailbigip.dreamhost.com ([208.97.132.5] helo=homiemail-a1.g.dreamhost.com) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1L7iO2-00052x-00 for ; Wed, 03 Dec 2008 04:26:50 +0100 Original-Received: from jidanni1.jidanni.org (122-127-43-151.dynamic.hinet.net [122.127.43.151]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTP id 41CDE119DE3 for ; Tue, 2 Dec 2008 19:26:36 -0800 (PST) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67842 Archived-At: OK, into .gnus.el I put (defun rdc-gnus-save-url () "Saves the url to the kill-ring." (interactive) (w3m-print-this-url)) (define-key gnus-article-mode-map "v" 'rdc-gnus-save-url) and restarted emacs. But oddly v didn't put it on the kill ring. However I discovered u already does w3m-print-this-url which indeed puts it on the kill ring. So I'll use u. OK thanks. I chalk it up to the w3m/gnus/nnrss special environment. E.g., no right mouse choices either. From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67843 Path: news.gmane.org!not-for-mail From: Naohiro Aota Newsgroups: gmane.emacs.w3m,gmane.emacs.gnus.general Subject: [emacs-w3m:10493] Re: nnrss vs. copy link location Date: Thu, 04 Dec 2008 02:17:42 +0900 (JST) Message-ID: <20081204.021742.256018989115879870.nao.aota@gmail.com> References: <87prkaf5dp.fsf@jidanni.org> Reply-To: emacs-w3m@namazu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1228324677 11823 80.91.229.2 (3 Dec 2008 17:17:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2008 17:17:57 +0000 (UTC) Cc: emacs-w3m@namazu.org, ding@gnus.org To: jidanni@jidanni.org Original-X-From: emacs-w3m-admin@namazu.org Wed Dec 03 17:17:55 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 1L7vMI-0005bA-R5 for emacs-w3m@deer.gmane.org; Wed, 03 Dec 2008 17:17:54 +0000 Original-Received: from vaj.namazu.org ([202.221.179.42]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1L7vMU-0000rF-00 for ; Wed, 03 Dec 2008 18:18:07 +0100 Original-Received: from vaj.namazu.org (localhost [127.0.0.1]) by vaj.namazu.org (Postfix) with ESMTP id EE39F99F23; Thu, 4 Dec 2008 02:17:50 +0900 (JST) Original-Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.244]) by vaj.namazu.org (Postfix) with ESMTP id A0E7399E23 for ; Thu, 4 Dec 2008 02:17:49 +0900 (JST) Original-Received: by rv-out-0708.google.com with SMTP id f25so4056044rvb.50 for ; Wed, 03 Dec 2008 09:17:48 -0800 (PST) Original-Received: by 10.141.19.9 with SMTP id w9mr6428607rvi.31.1228324668651; Wed, 03 Dec 2008 09:17:48 -0800 (PST) Original-Received: from localhost (zaq3a55f27d.zaq.ne.jp [58.85.242.125]) by mx.google.com with ESMTPS id f42sm5855448rvb.6.2008.12.03.09.17.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 03 Dec 2008 09:17:47 -0800 (PST) In-Reply-To: <87prkaf5dp.fsf@jidanni.org> X-ML-Name: emacs-w3m X-Mail-Count: 10493 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= X-Mailer: Mew version 6.1.53 on Emacs 23.0.60 / Mule 6.0 (HANACHIRUSATO) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:message-id:to:cc:subject :from:in-reply-to:references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=pnIowjK1Um+reGRtIXE5atYmjnnjpkpiC5ICg41ySAE=; b=i77EshfOOTvsSfSvXVFz12vZQHSw0KJpzysg/SY+f4x5KGANAM3T5+cRfa1Ckj7gXb vra0lo8ClA2RL6hO49PiQhfBQYBpVNIIjo7XQDhR7dyM2IHgWXSXjXjf40Qte7lsLHMz 9mjlUa1L2ZKpmWVo5FRNMQ1gB6VPeTGhRxsOM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:message-id:to:cc:subject:from:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=qXB+q3nImWAaWp+Y3SFuQFwtFwIX89WKCAG07rseiEUXAOUhRPSryvzBFTGxZg6ELH wre81T+tzwO9qhlkFKAqYn0zK074umZqLytJIM823wq9PYPTZCM1sXef3NEP9919af6F ceesrNwkDLHx48gUvUvGRQJAbr1iziEqM8VhY= X-Spam-Flag: No X-Spam-Probability: 0.000000 Precedence: bulk Original-Lines: 157 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:7853 gmane.emacs.gnus.general:67843 Archived-At: From: jidanni@jidanni.org Subject: nnrss vs. copy link location Date: Wed, 03 Dec 2008 08:51:14 +0800 > I'm reading http://feedproxy.google.com/TorrentFreak in NNRSS, but > when I come across links like > href="http://torrentfreak.com/pirate-party-endorses-obama-080103/">US > Pirate Party > there is no 'copy link location' etc. right click mouse keys etc. No > way to copy link location. 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? Regards, Naohiro Aota 2008-12-03 Naohiro Aota * mm-view.el (mm-inline-text-html-render-with-w3m): Put special keymap on links. * gnus-art.el (gnus-article-wash-html-with-w3m): Ditto. Index: lisp/gnus-art.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/gnus-art.el,v retrieving revision 7.283 diff -u -r7.283 gnus-art.el --- lisp/gnus-art.el 3 Oct 2008 04:21:54 -0000 7.283 +++ lisp/gnus-art.el 3 Dec 2008 17:05:33 -0000 @@ -2731,11 +2731,34 @@ (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)))) + (if (and (boundp 'w3m-link-map) + w3m-link-map) + (let ((begin (point-min)) + (map (copy-keymap w3m-link-map)) + end) + (set-keymap-parent map w3m-minor-mode-map) + (while (setq end (next-single-property-change begin + 'w3m-href-anchor)) + (add-text-properties + begin end + (list 'keymap (if (get-text-property begin 'w3m-href-anchor) + map + w3m-minor-mode-map) + ;; Put the mark meaning this part was rendered by emacs-w3m. + 'mm-inline-text-html-with-w3m t)) + (setq begin end)) + (add-text-properties + begin (point-max) + (list 'keymap (if (get-text-property begin 'w3m-href-anchor) + map + w3m-minor-mode-map) + ;; Put the mark meaning this part was rendered by emacs-w3m. + 'mm-inline-text-html-with-w3m t))) + (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))))) (defvar charset) ;; Bound by `article-wash-html'. Index: lisp/mm-view.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/mm-view.el,v retrieving revision 7.59 diff -u -r7.59 mm-view.el --- lisp/mm-view.el 22 Sep 2008 10:34:03 -0000 7.59 +++ lisp/mm-view.el 3 Dec 2008 17:05:33 -0000 @@ -261,11 +261,34 @@ (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))) + (if (and (boundp 'w3m-link-map) + w3m-link-map) + (let ((begin (point-min)) + (map (copy-keymap w3m-link-map)) + end) + (set-keymap-parent map w3m-minor-mode-map) + (while (setq end (next-single-property-change begin + 'w3m-href-anchor)) + (add-text-properties + begin end + (list 'keymap (if (get-text-property begin 'w3m-href-anchor) + map + w3m-minor-mode-map) + ;; Put the mark meaning this part was rendered by emacs-w3m. + 'mm-inline-text-html-with-w3m t)) + (setq begin end)) + (add-text-properties + begin (point-max) + (list 'keymap (if (get-text-property begin 'w3m-href-anchor) + map + w3m-minor-mode-map) + ;; Put the mark meaning this part was rendered by emacs-w3m. + 'mm-inline-text-html-with-w3m t))) + (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)))) (mm-handle-set-undisplayer handle `(lambda () From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67844 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.gnus.general,gmane.emacs.w3m Subject: Re: nnrss vs. copy link location Date: Thu, 04 Dec 2008 03:21:45 +0800 Message-ID: <87d4g9f4ja.fsf@jidanni.org> References: <20081204.021742.256018989115879870.nao.aota@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228332142 8519 80.91.229.12 (3 Dec 2008 19:22:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2008 19:22:22 +0000 (UTC) Cc: emacs-w3m@namazu.org, ding@gnus.org To: nao.aota@gmail.com Original-X-From: ding-owner+M16291=ding+2Daccount=gmane.org@lists.math.uh.edu Wed Dec 03 20:23:25 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1L7xJX-0005zv-BM for ding-account@gmane.org; Wed, 03 Dec 2008 20:23:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1L7xIJ-00078U-T0 for ding-account@gmane.org; Wed, 03 Dec 2008 13:21:55 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1L7xIJ-00078P-53 for ding@lists.math.uh.edu; Wed, 03 Dec 2008 13:21:55 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1L7xIG-0002dO-FS for ding@lists.math.uh.edu; Wed, 03 Dec 2008 13:21:55 -0600 Original-Received: from balanced.mail.policyd.dreamhost.com ([208.97.132.119] helo=homiemail-a2.g.dreamhost.com) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1L7xIR-0002gP-00 for ; Wed, 03 Dec 2008 20:22:03 +0100 Original-Received: from jidanni2.jidanni.org (122-127-33-131.dynamic.hinet.net [122.127.33.131]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a2.g.dreamhost.com (Postfix) with ESMTP id EC645D2740; Wed, 3 Dec 2008 11:21:47 -0800 (PST) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67844 gmane.emacs.w3m:7854 Archived-At: NA> Anyway, I wrote a patch to fix this problem. Could you check it? Thanks. I trust that it will work, however I prefer to stick to my Debian sid set-up. 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, From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67847 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general,gmane.emacs.w3m Subject: Re: [emacs-w3m:10503] Re: nnrss vs. copy link location Date: Thu, 04 Dec 2008 21:14:27 +0100 Message-ID: <87r64n3dgc.fsf@marauder.physik.uni-ulm.de> References: <87prkaf5dp.fsf@jidanni.org> <20081204.021742.256018989115879870.nao.aota@gmail.com> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228421722 29639 80.91.229.12 (4 Dec 2008 20:15:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2008 20:15:22 +0000 (UTC) Cc: emacs-w3m@namazu.org, ding@gnus.org To: Naohiro Aota Original-X-From: ding-owner+M16294@lists.math.uh.edu Thu Dec 04 21:16:25 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1L8KcY-0008Cd-AA for ding-account@gmane.org; Thu, 04 Dec 2008 21:16:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1L8Kb9-0004x1-5X; Thu, 04 Dec 2008 14:14:55 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1L8Kb7-0004wf-Bs for ding@lists.math.uh.edu; Thu, 04 Dec 2008 14:14:53 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1L8Kb4-0000eH-CM for ding@lists.math.uh.edu; Thu, 04 Dec 2008 14:14:53 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1L8KbF-0007Zt-00 for ; Thu, 04 Dec 2008 21:15:01 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id mB4KEVk0022858; Thu, 4 Dec 2008 21:14:31 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 64CD41C865; Thu, 4 Dec 2008 21:14:31 +0100 (CET) X-Face: #vK]N[`vqjuod*|)'[iD7/"3AB-ApT%fmN"LWAg@oS7OesGv~)n[OBTLM#I="J'Y^-7I I/ps7o_'IK@#-Rs{::DZ@O8yS|fexe,XslY[:dNWOb~>?mC-&i_c)say:"\IpA.5U.b]'NY;Pks{lb h.+#6%DpZuaK3dcHB`Av3zc:r!C%~s0&m,tWj]&},qg.+0ww2gK%f!:GK|wMl.I!(voY*1"^li8"~B BNG)9LvPi?^DMR-GVDnZqhu*3Hi,+g=wFhI)BL6&u{EOVEHjVEVq~d?_}lMntWAc3(6?kftjc>_f>! g0wM(qPM$d5]^TT_Qyi&L?LGVG)SHN;Gk/,pkY9,~ Mail-Followup-To: Naohiro Aota , emacs-w3m@namazu.org, ding@gnus.org In-Reply-To: (Katsumi Yamaoka's message of "Thu, 04 Dec 2008 10:58:37 +0900") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) X-DCC-debian-Metrics: poseidon 1169; Body=3 Fuz1=3 Fuz2=3 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67847 gmane.emacs.w3m:7867 Archived-At: On Thu, Dec 04 2008, Katsumi Yamaoka wrote: > I've committed your patch [...] in both the Gnus trunk and the > Emacs trunk. +2008-12-04 Naohiro Aota + + * mm-view.el (mm-inline-text-html-render-with-w3m): Put special keymap + on links. + + * gnus-art.el (gnus-article-wash-html-with-w3m): Ditto. We don't have papers on file from Naohiro Aota. AFAICS the patch is to long to be installed without a copyright assignment for Emacs or Gnus. Are you willing to assign the copyright to the FSF? If so, I'll send you the form off-list. + * lpath.el: Bind w3m-link-map for Emacs 21, 22, and XEmacs. Shouldn't this be a separate entry for Katsumi Yamaoka? Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/ From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67849 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.w3m,gmane.emacs.gnus.general Subject: [emacs-w3m:10509] Re: nnrss vs. copy link location Date: Fri, 05 Dec 2008 07:14:55 +0900 Organization: Emacsen advocacy group Message-ID: References: <87prkaf5dp.fsf@jidanni.org> <20081204.021742.256018989115879870.nao.aota@gmail.com> <87r64n3dgc.fsf@marauder.physik.uni-ulm.de> 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 1228428917 23973 80.91.229.2 (4 Dec 2008 22:15:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2008 22:15:17 +0000 (UTC) Cc: emacs-w3m@namazu.org, ding@gnus.org To: Naohiro Aota Original-X-From: emacs-w3m-admin@namazu.org Thu Dec 04 22:15:15 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 1L8MTZ-0008GW-A7 for emacs-w3m@deer.gmane.org; Thu, 04 Dec 2008 22:15:13 +0000 Original-Received: from vaj.namazu.org ([202.221.179.42]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1L8MTl-00015U-00 for ; Thu, 04 Dec 2008 23:15:25 +0100 Original-Received: from vaj.namazu.org (localhost [127.0.0.1]) by vaj.namazu.org (Postfix) with ESMTP id 7D71A99E20; Fri, 5 Dec 2008 07:15:10 +0900 (JST) Original-Received: from orlando.hostforweb.net (orlando.hostforweb.net [216.246.45.90]) by vaj.namazu.org (Postfix) with ESMTP id 5A9B11B9F0 for ; Fri, 5 Dec 2008 07:15:09 +0900 (JST) Original-Received: from localhost ([127.0.0.1]:33839) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1L8MTM-0006t0-Rp; Thu, 04 Dec 2008 16:15:02 -0600 X-ML-Name: emacs-w3m X-Mail-Count: 10509 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:nao.aota@gmail.com::xldGT5PONwmOKRg+:000000000000000000000000000000000000000000004gH X-Hashcash: 1:20:081204:emacs-w3m@namazu.org::AoQWQ3MevJ0a3BmS:000000000000000000000000000000000000000004S5X X-Hashcash: 1:20:081204:ding@gnus.org::UhOa2g8d/FNjyWEe:00000nU/ 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:HvI2oHr4Fl+rVAY0/4uFohSDXsg= 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: 24 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:7869 gmane.emacs.gnus.general:67849 Archived-At: >>>>> Reiner Steib wrote: > +2008-12-04 Naohiro Aota > + > + * mm-view.el (mm-inline-text-html-render-with-w3m): Put special keymap > + on links. > + > + * gnus-art.el (gnus-article-wash-html-with-w3m): Ditto. > We don't have papers on file from Naohiro Aota. AFAICS the patch is > to long to be installed without a copyright assignment for Emacs or > Gnus. Are you willing to assign the copyright to the FSF? If so, > I'll send you the form off-list. Aota-san replied to me that he has already started the paper work yesterday (I noticed he has not been in the AUTHORS file yet too, and sent the form to him). > + * lpath.el: Bind w3m-link-map for Emacs 21, 22, and XEmacs. > Shouldn't this be a separate entry for Katsumi Yamaoka? Yes, I've fixed it already. Regards,