info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to copy URL's to clipboard?


From: Katsumi Yamaoka
Subject: Re: How to copy URL's to clipboard?
Date: Thu, 12 Jul 2007 20:18:55 +0900
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

>>>>> Hadron wrote:

> To recap : I would like another w3m function which allows me to
> "browse-url" (and thus firefox)  for an embedded link. Or is it already
> there?

Try adding the following snippets to your ~/.emacs-w3m.el file:

--8<---------------cut here---------------start------------->8---
(defun my-w3m-view-this-url-with-firefox ()
  "View the URL of the link under point using Firefox."
  (interactive)
  (let ((w3m-goto-article-function 'browse-url-firefox))
    (w3m-safe-view-this-url)))

(define-key w3m-minor-mode-map "vv" 'my-w3m-view-this-url-with-firefox)
--8<---------------cut here---------------end--------------->8---

You can change the `vv' key as you like, but it is a good idea to
use `v'-prefixed keys since Gnus reserves them for user's commands.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]