From: Reiner Steib <reinersteib+from-uce@imap.cc>
Subject: Re: Using a script to diplay web links
Date: Mon, 03 Oct 2005 23:20:14 +0200 [thread overview]
Message-ID: <v9achqfgc1.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <m3y85bzquz.fsf@ceres.staly.plus.com>
On Sun, Oct 02 2005, David Sumbler wrote:
> Reiner Steib <reinersteib+from-uce@imap.cc> 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/
prev parent reply other threads:[~2005-10-03 21:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-01 9:37 David Sumbler
2005-10-02 13:33 ` Reiner Steib
2005-10-02 19:00 ` David Sumbler
2005-10-03 21:20 ` Reiner Steib [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=v9achqfgc1.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+from-uce@imap.cc \
--cc=Reiner.Steib@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).