[Openmcl-devel] Quartz not working in v1.10

Joshua Kordani jkordani at lsa2.com
Thu Nov 6 10:06:26 PST 2014


? '#/pageAtIndex:
NEXTSTEP-FUNCTIONS:|pageAtIndex:|
? (function #/pageAtIndex:)
#<OBJC-DISPATCH-FUNCTION NEXTSTEP-FUNCTIONS:|pageAtIndex:| #x30200296751F>
?

is this what you are expecting?

Joshua Kordani
LSA Autonomy

On 11/6/14 12:47 PM, Ron Garret wrote:
> Yes.  Now try (after a clean start):
>
> '#/pageAtIndex:
>
> and then:
>
> (function #/pageAtIndex:)
>
> On Nov 6, 2014, at 9:12 AM, Joshua Kordani <jkordani at lsa2.com 
> <mailto:jkordani at lsa2.com>> wrote:
>
>> after (require :cocoa) and load-framework, I get this.
>>
>> ? (function #/pageAtIndex:)
>> #<OBJC-DISPATCH-FUNCTION NEXTSTEP-FUNCTIONS:|pageAtIndex:| 
>> #x30200295E2AF>
>> ?
>>
>> again on Welcome to Clozure Common Lisp Version 
>> 1.11-dev-r16306M-trunk  (DarwinX8664)!
>>
>> Joshua Kordani
>> LSA Autonomy
>> On 11/6/14 12:05 PM, Ron Garret wrote:
>>> Sorry, that should have been (require :cocoa)
>>>
>>> On Nov 6, 2014, at 9:03 AM, Joshua Kordani <jkordani at lsa2.com 
>>> <mailto:jkordani at lsa2.com>> wrote:
>>>
>>>> oops right,
>>>> (require :bridge)
>>>> ...warnings...
>>>> ? (find-package :objc)
>>>> #<Package "OBJC">
>>>> ? (objc:load-framework "Quartz" :quartz)
>>>> > Error: Undefined function OBJC:LOAD-FRAMEWORK called with 
>>>> arguments ("Quartz" :QUARTZ) .
>>>> > While executing: CCL::TOPLEVEL-EVAL, in process listener(1).
>>>> > Type :GO to continue, :POP to abort, :R for a list of available 
>>>> restarts.
>>>> > If continued: Retry applying OBJC:LOAD-FRAMEWORK to ("Quartz" 
>>>> :QUARTZ).
>>>> > Type :? for other options.
>>>> 1 > :pop
>>>>
>>>> Joshua Kordani
>>>> LSA Autonomy
>>>> On 11/6/14 11:58 AM, Ron Garret wrote:
>>>>> Welcome to Clozure Common Lisp Version 1.11-dev-r16304M-trunk 
>>>>> (DarwinX8664)!
>>>>> ? (find-package "objc")
>>>>> NIL
>>>>> ? (require :bridge)
>>>>> ...
>>>>> ? (find-package :objc)
>>>>> #<Package "OBJC">
>>>>> ?
>>>>>
>>>>> On Nov 6, 2014, at 8:47 AM, Joshua Kordani <jkordani at lsa2.com 
>>>>> <mailto:jkordani at lsa2.com>> wrote:
>>>>>
>>>>>> Dunno if this helps, but
>>>>>>
>>>>>> ./dx86cl64
>>>>>> Welcome to Clozure Common Lisp Version 1.11-dev-r16306M-trunk  
>>>>>> (DarwinX8664)!
>>>>>>
>>>>>> CCL is developed and maintained by Clozure Associates. For more 
>>>>>> information
>>>>>> about CCL visit http://ccl.clozure.com. To enquire about 
>>>>>> Clozure's Common Lisp
>>>>>> consulting services e-mail info at clozure.com or visit 
>>>>>> http://www.clozure.com.
>>>>>>
>>>>>> ? (objc:load-framework "Quartz" :quartz)
>>>>>>
>>>>>> > Error: There is no package named "OBJC" .
>>>>>> > While executing: CCL::%PARSE-TOKEN, in process listener(1).
>>>>>> > Type :GO to continue, :POP to abort, :R for a list of available 
>>>>>> restarts.
>>>>>> > If continued: Retry finding package with name "OBJC".
>>>>>> > Type :? for other options.
>>>>>> 1 > :pop
>>>>>>
>>>>>> Joshua Kordani
>>>>>> LSA Autonomy
>>>>>> On 11/5/14 2:58 PM, Ron Garret wrote:
>>>>>>> On Nov 5, 2014, at 11:40 AM, Ron Garret<ron at flownet.com>  wrote:
>>>>>>>
>>>>>>>> On Nov 5, 2014, at 11:27 AM, Ron Garret<ron at flownet.com>  wrote:
>>>>>>>>
>>>>>>>>> Somehow my image got built with pageAtIndex: already interned in the nsfun package (how that happened I still don’t know)
>>>>>>>> Now I know.  It appears to be a Hemlock bug :-)
>>>>>>>>
>>>>>>>> Welcome to Clozure Common Lisp Version 1.10-r16304M  (DarwinX8664)!
>>>>>>>> ? (apropos "pageAt")
>>>>>>>> ? (apropos "pageAt")
>>>>>>>> NEXTSTEP-FUNCTIONS:|pageAtIndex:|
>>>>>>>>
>>>>>>>> In between those two calls to apropos I opened a file that contained the following text:
>>>>>>>>
>>>>>>>> '#/pageAtIndex:
>>>>>>>>
>>>>>>>> So apparently Hemlock is not properly setting *read-suppress* during syntax parsing, or something like that.
>>>>>>> Whee!!!!
>>>>>>>
>>>>>>> Welcome to Clozure Common Lisp Version 1.10-r16304M  (DarwinX8664)!
>>>>>>> ? 'abcdefghijklmnopqrstuvwxyz
>>>>>>> ABCDEFGHIJKLMNOPQRSTUVWXYZ
>>>>>>> ? (apropos 'abc)
>>>>>>>   ABC
>>>>>>>   ABCD
>>>>>>>   ABCDE
>>>>>>>   ABCDEF
>>>>>>>   ABCDEFG
>>>>>>>   ABCDEFGH
>>>>>>>   ABCDEFGHI
>>>>>>>   ABCDEFGHIJ
>>>>>>>   ABCDEFGHIJK
>>>>>>>   ABCDEFGHIJKL
>>>>>>>   ABCDEFGHIJKLM
>>>>>>>   ABCDEFGHIJKLMN
>>>>>>>   ABCDEFGHIJKLMNO
>>>>>>>   ABCDEFGHIJKLMNOP
>>>>>>>   ABCDEFGHIJKLMNOPQ
>>>>>>>   ABCDEFGHIJKLMNOPQR
>>>>>>>   ABCDEFGHIJKLMNOPQRS
>>>>>>>   ABCDEFGHIJKLMNOPQRST
>>>>>>>   ABCDEFGHIJKLMNOPQRSTU
>>>>>>>   ABCDEFGHIJKLMNOPQRSTUV
>>>>>>>   ABCDEFGHIJKLMNOPQRSTUVW
>>>>>>>   ABCDEFGHIJKLMNOPQRSTUVWX
>>>>>>>   ABCDEFGHIJKLMNOPQRSTUVWXY
>>>>>>>   ABCDEFGHIJKLMNOPQRSTUVWXYZ
>>>>>>>   ABCDEFGHIJKLMNOPQRSTUVWZ
>>>>>>> :ABCL,  Value: :ABCL
>>>>>>> ?
>>>>>>>
>>>>>>> I opened a ticket.
>>>>>>>
>>>>>>> rg
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Openmcl-devel mailing list
>>>>>>> Openmcl-devel at clozure.com
>>>>>>> https://lists.clozure.com/mailman/listinfo/openmcl-devel
>>>>>>
>>>>>> _______________________________________________
>>>>>> Openmcl-devel mailing list
>>>>>> Openmcl-devel at clozure.com <mailto:Openmcl-devel at clozure.com>
>>>>>> https://lists.clozure.com/mailman/listinfo/openmcl-devel
>>>>>
>>>>
>>>
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20141106/37e6b888/attachment.htm>


More information about the Openmcl-devel mailing list