Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: info-gnus-english@gnu.org
Subject: Re: How to copy URL's to clipboard?
Date: Thu, 12 Jul 2007 07:49:57 +0900	[thread overview]
Message-ID: <b4mtzsablnu.fsf@jpl.org> (raw)
In-Reply-To: <87myy32bzt.fsf@gmail.com>

>>>>> 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 <RET> 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 <RET> 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

  reply	other threads:[~2007-07-11 22:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-10 13:13 Svend Tollak Munkejord
2007-07-10 22:16 ` Katsumi Yamaoka
2007-07-11  6:51   ` Svend Tollak Munkejord
2007-07-11 15:31   ` Hadron
2007-07-11 22:49     ` Katsumi Yamaoka [this message]
2007-07-12  9:34       ` Hadron
2007-07-12 11:18         ` Katsumi Yamaoka
2007-07-12 12:33           ` Hadron
2007-07-12 23:24             ` Katsumi Yamaoka
2007-07-13  4:24               ` Katsumi Yamaoka
2007-07-15 17:16                 ` Hadron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4mtzsablnu.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).