From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9306 Path: news.gmane.org!not-for-mail From: Hadron Newsgroups: gmane.emacs.gnus.user Subject: Re: How to copy URL's to clipboard? Date: Wed, 11 Jul 2007 17:31:18 +0200 Message-ID: <87myy32bzt.fsf@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1184172094 2159 80.91.229.12 (11 Jul 2007 16:41:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 Jul 2007 16:41:34 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Jul 11 18:41:33 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 1I8fFs-0003iq-AE for gegu-info-gnus-english@m.gmane.org; Wed, 11 Jul 2007 18:41:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8fFr-0005CR-Ue for gegu-info-gnus-english@m.gmane.org; Wed, 11 Jul 2007 12:41:31 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 26 Original-X-Trace: individual.net LKwFsgeyzjyApN84MNQ/NgU+4EKWBjUgzK2rHnnMCbmG9eyfUw X-Orig-Path: news.individual.net!news Cancel-Lock: sha1:VvFKiS2MxstNmIrXgqfLasf71sQ= sha1:CfeNy7781e8mQaZUR0E2cMot1W8= X-Face: 2h#||Cd#d%F*NCm59[_6/{1a@jy%; |j>{D~4^gKg(^i%7j0IK?+,/GmW&:CD5fEKb_! User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.gnus:79491 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:9306 Archived-At: Katsumi Yamaoka writes: >>>>>> Svend Tollak Munkejord wrote: > >> Sometimes I receive html e-mails with external links (of the type >> "click here", not "http://www...") in them, and for one reason or >> another, w3m is not always the ideal way of displaying them. Then it >> would be nice to be able copy the URL to the clipboard, and paste the >> address into a browser. How can this be done? The URL is shown in the >> echo area when I move the cursor over the link, but I can't get at >> it... > > Try the `u' command on the link in the article buffer. If you > use the Info-like keymap, use the `Y' command instead. This key > is bound to `w3m-print-this-url', which copies a url of the link > into the kill ring. 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. --