Do the new M-. changes work with CLISP?
"Clementson, Bill" <[email protected]>
| Newsgroups | gmane.lisp.ilisp.devel |
|---|---|
| Message-ID | <[email protected]> |
I've modified the fsf key bindings and have been testing
ILISP functionality using those new bindings. During this
testing, I tried out the new M-. changes that are in CVS.
Under CLISP, they don't appear to work. The old M-. support
that is in the ILISP 5.12 release did work under CLISP.
To test, do the following:
1. Create a file "test.lisp" with the following contents:
(defun test ()
(+ 3 3))
(test)
2. Save and load the file in ILISP
3. Put the cursor on the (test) sexp and press M-.
4. At the "Edit Definition [test]: " prompt in the minibuffer,
Press enter to accept the default
5. The following error occurs:
Debugger entered--Lisp error: (error "shouldn't have been given type \"any\", for (nil nil \"test\").")
signal(error ("shouldn't have been given type \"any\", for (nil nil \"test\")."))
error("shouldn't have been given type %S, for %S." "any" (nil nil "test"))
lisp-locate-clisp((nil nil "test") "any" t nil)
lisp-locate-definition-in-file(lisp-locate-clisp [cl-struct-ilisp-defn-spec (nil nil "test") "test" "any" "c:/usr/home/lisp/Projects/test.lisp" nil nil] t)
lisp-next-definition(nil t)
next-definition-lisp(nil t)
lisp-edit-definitions-normal(("COMMON-LISP-USER" "::" "test") "any" nil nil)
edit-definitions-lisp(("COMMON-LISP-USER" "::" "test") "any")
* call-interactively(edit-definitions-lisp)
I've read through the notes on the enhancement and CLISP
isn't one of the lisps that it says have been tested
with the enhancement.
--
Bill Clementson
-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com