[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to copy URL's to clipboard?
From: |
Hadron |
Subject: |
Re: How to copy URL's to clipboard? |
Date: |
Thu, 12 Jul 2007 14:33:49 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux) |
Katsumi Yamaoka <yamaoka@jpl.org> writes:
>>>>>> 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:
>
> (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)
>
> 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.
Thanks, but is it possible for this function to also work for real
"visible" links e.g
"follow this link : http://www.bbc.co.com" ?
This is the ideal thing - then I have one "browse with firefox" key for
both link types. I assume the code would first check if its a visible
link and if not then assume a hidden link processable with
w3m-safe-view-this-url.
Also, whats the "vv" key? If I hit v, it invokes the usual w3m-bookmark
with the first v.
Thanks for your feedback.
- How to copy URL's to clipboard?, Svend Tollak Munkejord, 2007/07/10
- Re: How to copy URL's to clipboard?, Katsumi Yamaoka, 2007/07/10
- Re: How to copy URL's to clipboard?, Svend Tollak Munkejord, 2007/07/11
- Re: How to copy URL's to clipboard?, Hadron, 2007/07/11
- Re: How to copy URL's to clipboard?, Katsumi Yamaoka, 2007/07/11
- Re: How to copy URL's to clipboard?, Hadron, 2007/07/12
- Re: How to copy URL's to clipboard?, Katsumi Yamaoka, 2007/07/12
- Re: How to copy URL's to clipboard?,
Hadron <=
- Re: How to copy URL's to clipboard?, Katsumi Yamaoka, 2007/07/12
- Re: How to copy URL's to clipboard?, Katsumi Yamaoka, 2007/07/13
- Re: How to copy URL's to clipboard?, Hadron, 2007/07/15