Lispworks 4.3: note-editor-definition-parser doesn't seem to work

Barry Wilkes <[email protected]> Sun, 01 Feb 2004 22:22:43 +0000
Newsgroups gmane.lisp.cl-http
Message-ID <[email protected]>
The macro note-editor-definition-parser in http:server;preliminary.lisp, 
which sets up source browsing via M-. in the lispworks editor doesn't 
work for me in Lispworks 4.3.  From my reading of the Lispworks manual, 
the offending snippet

   ;; use the documented lispworks interface to define a form parser.
   #-(or LispWorks4.0 LispWorks4.1 LispWorks4.2)	; i.e. > 4.2
   `(dspec:define-form-parser
      (,definer
       (:parser ,(dspec:get-form-parser deftype)))))

*should* work, but doesn't.  Replacing the above with the following 
works far better for me.

   ;; use the documented lispworks interface to define a form parser.
   #-(or LispWorks4.0 LispWorks4.1 LispWorks4.2)	; i.e. > 4.2
  `(dspec:define-dspec-alias
      ,definer
      (name &rest args)
      `(,',deftype ,name ,@args)))

I know that this code has been in cl-http for a while now, so I guess I 
would have to ask if the existing code works for anyone else -- maybe I 
am missing something.  If not though, it would be good to get this 
replaced with the version I give above.

Cheers,

Barry Wilkes.