From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9311 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.user Subject: Re: How to copy URL's to clipboard? Date: Thu, 12 Jul 2007 07:49:57 +0900 Organization: Emacsen advocacy group Message-ID: References: <87myy32bzt.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1184197274 24752 80.91.229.12 (11 Jul 2007 23:41:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 Jul 2007 23:41:14 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Jul 12 01:41:11 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I8lnx-0007W8-Uv for gegu-info-gnus-english@m.gmane.org; Thu, 12 Jul 2007 01:41:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8lnx-00029X-B6 for gegu-info-gnus-english@m.gmane.org; Wed, 11 Jul 2007 19:41:09 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!goblin1!goblin.stu.neva.ru!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 23 Original-NNTP-Posting-Host: orlando.hostforweb.net Original-X-Trace: quimby.gnus.org 1184194208 5619 216.246.45.90 (11 Jul 2007 22:50:08 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Wed, 11 Jul 2007 22:50:08 +0000 (UTC) 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&( User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:1D1xV+BTOyQwNxmrTxcHaQ8KXUs= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:79496 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9311 Archived-At: >>>>> Hadron wrote: > What would be very nice is a piece of code to recognise when the point > is on a "hidden" url like an html link and then extract the url > automatically, else just the text url. > The one can bind the same key to browse-url-firefox passing the url as > an argument. Er, although it might not be what you'd like to do, by setting `w3m-goto-article-function' to `browse-url-firefox' (or `browse-url'), you can use Firefox (or the browser that `browse-url-default-browser' chooses automatically) to browse the url of a link in the article buffer by typing the key there. This is handled much better in the most recent emacs-w3m[1] that is under development. By the way, for the reason that the key is bound to `w3m-safe-view-this-url' which browses only `cid:...' urls by default, see: (info "(emacs-w3m)Gnus") <- type `C-x C-e' here. [1] You can download it from the emacs-w3m CVS server as an anonymous user, or simply download the tarball from: http://cvs.namazu.org/emacs-w3m.tar.gz?view=tar