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

Gary Byers gb at clozure.com
Wed Mar 6 17:04:18 PST 2013


This was a symptom of <http://trac.clozure.com/ccl/ticket/682>, which was fixed in the trunk
in <http://trac.clozure.com/ccl/changeset/15540>



On Wed, 6 Mar 2013, Ron Garret wrote:

> 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
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
>



More information about the Openmcl-devel mailing list