Re: hyperspec.el and clhs-v6

Edi Weitz <[email protected]> 04 May 2002 22:32:02 +0200
Newsgroups gmane.lisp.ilisp.general
Message-ID <[email protected]>
Chris Beggy <[email protected]> writes:

> On 26 Apr 2002 16:47:17 +0200, Edi Weitz <[email protected]> wrote: 
> 
> > Could you send more information like your .emacs or .ilisp file
> > and what exactly happens? (Nothing? Or do you get an error
> > message?  Maybe you can also sent your *Messages* buffer after
> > some attempts have failed.)
> 
> Thanks for responding and here are some details.
> 
> My .emacs has:
> 
>  (load-library "hyperspec")
>  (setq common-lisp-hyperspec-root
>        "file:/usr/doc/HyperSpec/")
>  (setq common-lisp-hyperspec-symbol-table "/usr/doc/HyperSpec/Data/Map_Sym.txt")
>  (setq browse-url-netscape-program "/opt/gnome/bin/mozilla")
> 
> For: 
>   
>   M-x hyperspec-lookup RET defun RET
> 
> Mozilla doesn't give an error message, it just goes to:
> 
>  file:/usr/doc/HyperSpec/Body/mac_defun.html

Hmm, I'm a bit too late here, sorry, but the problem is that you're
loading the library _before_ you set the value of
COMMON-LISP-HYPERSPEC-SYMBOL-TABLE. It should be the other way around
because COMMON-LISP-HYPERSPEC-SYMBOLS is filled only once, namely at
load time. If COMMON-LISP-HYPERSPEC-SYMBOL-TABLE is NIL at this time
(the default value), you get the hard-wired symbol table from CLHS v4
- that's why you got mac_defun.html instead of m_defun.htm.

FYI, there's also another version by Sam Steingold at
<http://groups.google.com/groups?selm=m3sn5nis2c.fsf%40gnu.org>.

Best regards,
Edi.


_______________________________________________________________

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