[Top][All Lists]

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

Re: Using a script to diplay web links

From: Reiner Steib
Subject: Re: Using a script to diplay web links
Date: Mon, 03 Oct 2005 23:20:14 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

On Sun, Oct 02 2005, David Sumbler wrote:

> Reiner Steib <> 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 "" ;; 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)
--8<---------------cut here---------------end--------------->8---

Bye, Reiner.
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |

reply via email to

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