[slime-devel] Re: HyperSpec 4.0, section lookup

Christophe Rhodes csr21 at cam.ac.uk
Fri Jul 2 11:08:13 UTC 2004


Lennart Staflin <lenst at lysator.liu.se> writes:

> I would like to suggest the following change to hyperspec.el
>
> --- hyperspec.el	30 Jun 2004 19:48:40 +0200	1.5
> +++ hyperspec.el	02 Jul 2004 11:51:16 +0200	
> @@ -1135,10 +1135,9 @@
>   		       "")
>   	    ".htm")))
>
> -(defun common-lisp-hyperpsec-section-4.0 (indices)
> -  (let ((string (format "%sBody/sec%s_"
> -			common-lisp-hyperspec-root
> -			(pop indices))))
> +(defun common-lisp-hyperspec-section-4.0 (indices)
> +  (let ((string (format "%sBody/sec_"
> +			common-lisp-hyperspec-root)))			
>       (concat string
>   	    (mapconcat (lambda (n)
>   			 (format "%d" n))
>
>
> That section naming works with the hyperspec copy I got. I hope it's
> the same for all copies. That the function name is misspelled suggests
> that that function hasn't been tested much.

I doubt it's been tested at all... I only wrote it last week. :-)
Sorry, I only tested it for the 6.0 version; the 4.0 version was a
best (though apparently not very good) effort.

Cheers,

Christophe
-- 
http://www-jcsu.jesus.cam.ac.uk/~csr21/       +44 1223 510 299/+44 7729 383 757
(set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b)))
(defvar b "~&Just another Lisp hacker~%")    (pprint #36rJesusCollegeCambridge)





More information about the slime-devel mailing list