Re: w3m rather than netscape

Edi Weitz <[email protected]> 05 May 2002 20:30:15 +0200
Newsgroups gmane.lisp.ilisp.general
Message-ID <[email protected]>
Paolo Amoroso <[email protected]> writes:

> On Sat, 04 May 2002 02:09:30 -0400 (EDT), Chris Beggy wrote:
> 
> > Can I use w3m.el in emacs as the viewer for hyperspec.el?
> 
> I am not familiar with that browser. If it is the one I think, add this to
> your ~/.emacs file:
> 
>   (setq browse-url-browser-function 'browse-url-w3)

W3M is different from W3. (See <http://w3m.sourceforge.net/> for more
information.) The function you'll have to use is w3m-browse-url.

I have these two lines in my .emacs:

  (setq browse-url-netscape-program "/usr/X11R6/bin/mozilla"))
  (setq browse-url-browser-function
    '(("CLHS" . w3m-browse-url) ("." . browse-url-netscape)))

This'll show CLHS pages inside of Emacs (through W3M) while other
links (e.g. the ones found by Gnus in c.l.l articles) will be sent to
Mozilla.

Cheers,
Edi.


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [email protected]