From: Clementson, Bill <Bill_Clementson@jd...> - 2003-05-11 18:55:36
From: Tiago Maduro-Dias on Sunday, May 11, 2003 9:12 AM
> This isn't really a dev question but you'll probably be able=20
> 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.
> If anyone could show me how to configure it it would be very much
> obliged :).
I use a combination of IE and w3 on Emacs & MS Windows. Usually, I want =
to use IE (calling the hyperspec with F1), but sometimes I want to use =
w3 instead. I set up the following in order to use w3 (make sure the w3 =
directory is in your load-path first) to access the hyperspec from the =
(global-set-key [(shift f1)]
(let ((browse-url-browser-function 'browse-url-w3)
(common-lisp-hyperspec-symbol-table (concat =
(common-lisp-hyperspec (thing-at-point 'symbol)))))
Note that you need to use the file://... syntax for the =
common-lisp-hyperspec-root variable but can not use it for the =
hyperspec-prog variable. Note also that I use global-set-key because I =
often want to access the hyperspec from inside a document that isn't a =
lisp source file. You may want to use an ilisp-specific binding instead.
Hope that helps.=20
> Thanks in advance,
> Tiago Maduro-Dias
> "To underestimate one's self is as much a departure from truth as to
> exaggerate one's own powers."
> (Sherlock Holmes)
> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
> The only event dedicated to issues related to Linux=20
> enterprise solutions
> Ilisp-devel mailing list