From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69761 Path: news.gmane.org!not-for-mail From: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= Newsgroups: gmane.emacs.w3m,gmane.emacs.gnus.general Subject: [emacs-w3m:11249] Re: right clicking on URL in emacs-w3m vs. gnus Date: Tue, 29 Jun 2010 10:57:25 +0200 Message-ID: <87aaqetdvu.fsf@gmail.com> References: <87sk6thfcc.fsf@jidanni.org> <87sk6qf3bu.fsf@lifelogs.com> <87iq7kc2bd.fsf@lifelogs.com> <87zl0vjatu.fsf@lifelogs.com> <874ogrw8h7.fsf@gmail.com> <87r5jrtwq1.fsf@gmail.com> Reply-To: stepnem@gmail.com, emacs-w3m@namazu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1277801966 29041 80.91.229.12 (29 Jun 2010 08:59:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2010 08:59:26 +0000 (UTC) Cc: Ted Zlatanov , ding@gnus.org To: emacs-w3m@namazu.org Original-X-From: emacs-w3m-admin@namazu.org Tue Jun 29 10:59:21 2010 Return-path: Envelope-to: emacs-w3m@deer.gmane.org Original-Received: from quimby.gnus.org ([80.91.231.51]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OTWez-00034s-G8 for emacs-w3m@deer.gmane.org; Tue, 29 Jun 2010 10:59:17 +0200 Original-Received: from vaj.namazu.org ([202.221.179.42]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OTWey-0004ud-00 for ; Tue, 29 Jun 2010 10:59:17 +0200 Original-Received: from vaj.namazu.org (localhost [127.0.0.1]) by vaj.namazu.org (Postfix) with ESMTP id CCD5999EFB; Tue, 29 Jun 2010 17:59:12 +0900 (JST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by vaj.namazu.org (Postfix) with ESMTP id 1134899ECA for ; Tue, 29 Jun 2010 17:58:15 +0900 (JST) Original-Received: by fg-out-1718.google.com with SMTP id e21so597820fga.8 for ; Tue, 29 Jun 2010 01:58:13 -0700 (PDT) Original-Received: by 10.87.74.17 with SMTP id b17mr8939231fgl.59.1277801891035; Tue, 29 Jun 2010 01:58:11 -0700 (PDT) Original-Received: from localhost ([88.103.132.186]) by mx.google.com with ESMTPS id z15sm3861630fkz.51.2010.06.29.01.58.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 29 Jun 2010 01:58:09 -0700 (PDT) In-Reply-To: (Katsumi Yamaoka's message of "Tue, 29 Jun 2010 10:36:37 +0900") X-ML-Name: emacs-w3m X-Mail-Count: 11249 X-MLServer: fml [fml 4.0.3 release (20011202/4.0.3)](fml commands only mode); post only (only members 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.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :in-reply-to:references:user-agent:date:message-id:mime-version :content-type:content-transfer-encoding; bh=rCAVNdOKZp6rIhAG1wFT95iJG/E8k7dOndMAUGNGLug=; b=j/1uDR3+gS0jCzFnO/WBScPR5DWH0YqDvyDPc7LkLLOVBx16hXmZzmooh22+DjI7NA AM7tHht0F3uf6EWVVvd5WR0nbUwgpKy5mASplaQQYIZF29rEdUHH9DA8CbN4P0XwPbj3 RJ2RSEzhR3o+jEpnVvHguRAgvYW91y9RYFYCc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type:content-transfer-encoding; b=w5Owid9Jibg5ns/LV441GzIQFRF5JrjSeJRRzFUKw7eib71zlxM/Kn4o6MjRq//eNp EaRq5eti6EB1MLYSh3lhPVIUjNzSdcCmCEgOb3oeiM6DX1fPNCQZmV8v66SwOjQtOr25 b90rDeCPnDZsWsp3oIBKFDqihYg6y/IEMC8p4= X-Spam-Flag: No X-Spam-Probability: 0.000000 Precedence: bulk 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: Resent-From: shirai@meadowy.org Resent-To: emacs-w3m@namazu.org (moderated) Resent-Date: Tue, 29 Jun 2010 17:59:12 +0900 Resent-Message-Id: <201006291759.FMLAAB10325.emacs-w3m@namazu.org> Xref: news.gmane.org gmane.emacs.w3m:8608 gmane.emacs.gnus.general:69761 Archived-At: Katsumi Yamaoka writes: > =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec wrote: >> Katsumi Yamaoka writes: > [...] >>>> ,---- >>>>| Open this link with >>>>| =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>| browse-url >>>>| emacs-w3m >>>> `---- >>> >>> I haven't implemented it yet because I didn't think it's very useful. > >> Interesting. I find it _very_ useful. Does that mean you have defined a >> lot of custom commands for manipulating URLs in Gnus Article buffer? Or >> do you never feel a need to e.g. quickly copy the link location? > > It's enough to me to type `M-x bro RET' (`bro' is complemented > into `browse-url'), `M-x w3m RET', or just `RET' on a string that > looks like a url. Those commands copy the link location and pass > it to the browser. OK. (BTW, I often want to *only* copy the URL, not open it.) >>> Are there other function items you want? > >> I don't see why we couldn't get the complete same right click menu as in >> emacs-w3m. I'd especially like to have "Copy Link Location" (and I hope >> it will also work in article headers -- I often find myself wanting to >> copy the Gmane permalink, for example); jidanni mentioned in a recent >> report the need for "Open in External Browser"; I can also see how "Save >> Link as..." could be useful. In short, why not just provide the whole of >> emacs-w3m right click menu? > > Note that what we're talking about is a text/plain article (or > other) that is not rendered by emacs-w3m, like this: > > http://git.gnus.org/ > > Currently there is only a button that Gnus adds using widget.el > (iff `gnus-treat-buttonize' is the default value). OTOH, an html > article rendered by emacs-w3m has the right click menu buttons on > links. Yes, I know; but it's frustrating (for an emacs-w3m user at least) to have a URL button, but not be able to do anything with it apart from middle-clicking. > Not all users have and load emacs-w3m, so, maybe what we can do > will be to provide the right click menu like emacs-w3m only if > `mm-text-html-renderer' is `w3m', and the menu title should be > "emacs-w3m". Sounds reasonable to me. > Even in that case, we will have to make Lisp functions for the menu > items one by one. Because the article is not rendered by emacs-w3m. That seems unfortunate; I'm not acquainted with emacs-w3m or gnus internals well enough to see any more convenient solution (to avoid some code duplication perhaps) -- if you don't see one, it might very well be the case there is none... Thank you very much for your feedback, =C5=A0t=C4=9Bp=C3=A1n