Clementson's Blog

Bits and pieces (mostly Lisp-related) that I collect from the ether.

November 2003
Sun Mon Tue Wed Thu Fri Sat
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
Oct  Dec

Documentation Fix for quack.el on Windows

Wednesday, November 5, 2003

I mentioned in my previous posting that I was having trouble with Quack not positioning to the correct section of the HTML documentation under Windows (both IE6 and Mozilla). This was only occurring when the documentation was local (e.g. -- "file://" rather than "http://"). I made a minor mod to quack.el so that:

Here's the kludge:
*** 2413,2419 ****
              ;; keywords for this manual.
              (when kw-p
                (quack-warning "Could not find keywords file for manual "%S"."
!                              sym)))))
         ;; The location is an unrecognized symbol, so just barf.
         (t (quack-internal-error))))
       ;; The location is something other than a string or symbol, so just barf.
--- 2413,2421 ----
              ;; keywords for this manual.
              (when kw-p
                (quack-warning "Could not find keywords file for manual "%S"."
!                              sym)))
! 	  (if (string-match "windows" (symbol-name system-type))
! 	      (setq kw-base web-base))))
         ;; The location is an unrecognized symbol, so just barf.
         (t (quack-internal-error))))
       ;; The location is something other than a string or symbol, so just barf.
Hopefully, Neil will figure out a more permanent fix; however, this will let me use his context-specific help when I'm working with PLT Scheme code.

emacs Copyright © 2004 by Bill Clementson