Gnus development mailing list
 help / color / mirror / Atom feed
From: "Robert D. Crawford" <rdc1x@comcast.net>
To: ding@gnus.org
Subject: Re: nnrss vs. copy link location
Date: Tue, 02 Dec 2008 20:18:25 -0600	[thread overview]
Message-ID: <878wqyroge.fsf@comcast.net> (raw)
In-Reply-To: <87prkaf5dp.fsf@jidanni.org>

jidanni@jidanni.org writes:

> I'm reading http://feedproxy.google.com/TorrentFreak in NNRSS, but
> when I come across links like
> <a href="http://torrentfreak.com/pirate-party-endorses-obama-080103/">US Pirate Party</a>
> 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





  reply	other threads:[~2008-12-03  2:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-03  0:51 jidanni
2008-12-03  2:18 ` Robert D. Crawford [this message]
2008-12-03  3:26   ` jidanni
2008-12-03 17:17 ` [emacs-w3m:10493] " Naohiro Aota
2008-12-03 19:21   ` jidanni
2008-12-04  1:58   ` [emacs-w3m:10503] " Katsumi Yamaoka
2008-12-04 20:14     ` Reiner Steib
2008-12-04 22:14       ` [emacs-w3m:10509] " Katsumi Yamaoka

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=878wqyroge.fsf@comcast.net \
    --to=rdc1x@comcast.net \
    --cc=ding@gnus.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).