Re: Configuring emacs/ilisp to work with w3

Edi Weitz <[email protected]>
Newsgroups gmane.lisp.ilisp.devel
Message-ID <[email protected]>
Tiago Maduro-Dias <[email protected]> writes:

> This isn't really a dev question but you'll probably be able to help
> me.  I have emacs configured to work with mozilla:
> 
> ;; browser configuration
> (setq browse-url-browser-function 'browse-url-netscape
> 	browse-url-netscape-program "mozilla")
> 
> It works perfectly.
> 
> But afterwards I installed w3 and I'm having trouble figuring out
> exactly how to redirect the hyperspec apropos help thing to w3
> instead of the configured browser.

Something like this:

  (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.

This works for me with w3m (which is different from w3) but should
work for any combination of browsers. See the info entry for
browse-url-browser-function for details.

Cheers,
Edi.


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.