[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: |
Fri, 13 Jul 2007 08:24:15 +0900 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) |
>>>>> Hadron wrote:
> 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" ?
That function can be used in only areas that are rendered by
emacs-w3m in the article buffer. There the `w3m-minor-mode-map'
keymap lives and it hides the `gnus-article-mode-map' keymap.
For such a link expressed with a plain text, you can bind the
same key to just the function `browse-url-firefox'. For example:
(eval-after-load "gnus-art"
'(progn
(define-key gnus-article-mode-map "v" (make-sparse-keymap))
(define-key gnus-article-mode-map "vv" 'browse-url-firefox)))
If you want to add other commands, say:
(eval-after-load "gnus-art"
'(progn
(define-key gnus-article-mode-map "v" (make-sparse-keymap))
(define-key gnus-article-mode-map "vv" 'browse-url-firefox)
(define-key gnus-article-mode-map "vx" 'foo)
(define-key gnus-article-mode-map "vy" 'bar)
(define-key gnus-article-mode-map "vz" 'baz)))
> Also, whats the "vv" key? If I hit v, it invokes the usual w3m-bookmark
> with the first v.
You seem to have typed the v key in a normal emacs-w3m buffer.
There the `w3m-mode-mep' keymap lives.
- 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, 2007/07/12
- Re: How to copy URL's to clipboard?,
Katsumi Yamaoka <=
- 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