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

Ron Garret ron at flownet.com
Wed Mar 6 17:45:15 PST 2013


Ah.  Cool.  Thanks!

Is the app store version still being maintained?  i.e. can I expect this change to eventually make its way into the app store version, or should I start building my own IDE again?

rg

On Mar 6, 2013, at 5:04 PM, Gary Byers wrote:

> 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