[Openmcl-devel] Weird ccl-ide-init behavior

Ron Garret ron at flownet.com
Wed Mar 6 18:59:24 UTC 2013


I have this code in ~/ccl-ide-init.lisp:

(setf foo-zero 0)
(setf foo-ide (multiple-value-list (ignore-errors (/ 1 foo-zero))))

And this code in ~/ccl-init.lisp, which gets loaded after ccl-ide-init.lisp:

(setf foo (multiple-value-list (ignore-errors (/ 1 foo-zero))))

The result:

Welcome to Clozure Common Lisp Version 1.8-store-r15418  (DarwinX8664)!
? foo-zero
0
? foo
(NIL #<DIVISION-BY-ZERO #x302000EFAF3D>)
? foo-ide
> Error: Unbound variable: FOO-IDE

Apparently, errors cause the loading of ccl-ide-init to silently abort, even if those errors are wrapped in an ignore-errors.  Or something like that.  Is this a bug?

rg




More information about the Openmcl-devel mailing list