On Sun, Oct 02 2005, David Sumbler wrote:
> Reiner Steib <[EMAIL PROTECTED]> writes:
>> (defun rs-w3m-view-this-url ()
[...]
>> (define-key w3m-minor-mode-map (kbd "RET") 'rs-w3m-view-this-url)
>> (define-key w3m-minor-mode-map (kbd "<right>") 'rs-w3m-view-this-url)
>
> Thanks - seems to work like a dream!
On a second thought, the following seems to be more simple and cleaner
(you need to remove the previous code):
--8<---------------cut here---------------start------------->8---
(setq browse-url-generic-program "xsel.sh" ;; replace with your script
browse-url-browser-function 'browse-url-generic)
(add-hook 'gnus-article-mode-hook
(lambda ()
(set (make-local-variable 'w3m-goto-article-function)
'browse-url)))
--8<---------------cut here---------------end--------------->8---
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
_______________________________________________
Info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english