[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot start w3m-el from within a document, except newsfeeds
From: |
Katsumi Yamaoka |
Subject: |
Re: Cannot start w3m-el from within a document, except newsfeeds |
Date: |
Fri, 13 Feb 2009 07:40:25 +0900 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.90 (gnu/linux) |
>>>>> Hermann wrote:
> Hi,
> the subject almost says it:
> When I open a link from within a news feed, w3m-el starts as expected.
> However: When I try to open a link from any other document (post/email),
> I get the message:
> Mozilla starting...
> and of course nothing happens; I use Gnus from a text console.
> My .gnus reads the following, regarding w3m-el:
> (eval-after-load "w3"
> '(progn
> (fset 'w3-fetch-orig (symbol-function 'w3-fetch))
> (defun w3-fetch (&optional url target)
> (interactive (list (w3-read-url-with-default)))
> (if (eq major-mode 'gnus-article-mode)
> (browse-url url)
> (w3-fetch-orig url target)))))
> So what do I have to insert in .gnus or in .emacs?
> Hermann
First of all, don't you mix up w3m (emacs-w3m, or the so-called
w3m-el in some Linux distribution) with w3 (Emacs/W3) ?
Try: M-x locate-library RET w3m RET
and: M-x locate-library RET w3 RET
If you wish to use emacs-w3m along with Gnus, see:
(info "(emacs-w3m)Gnus") <- type `C-x C-e' here
If you don't have the emacs-w3m Info manual, visit:
http://emacs-w3m.namazu.org/info/emacs-w3m_60.html
(But it is for the officially released version of emacs-w3m that
is somewhat old. You can obtain the latest one, including Info,
from: http://cvs.namazu.org/emacs-w3m.tar.gz )