[Openmcl-devel] Cocoa question

Daniel Dickison danieldickison at gmail.com
Mon Apr 23 16:52:13 UTC 2007


Hi -- I'm experimenting with the Cocoa bridge and have a couple  
questions I couldn't find online.

1. Is there a way to load Cocoa without opening up a listener window  
-- i.e. do something like (require 'cocoa) without Hemlock listener  
starting.

2. I'm having trouble with (require 'cocoa-application) with the  
070408 snapshot -- it ends in an error claiming that the directory  
containing "ccl:OpenMCL.app;Contents;MacOS;dppccl" does not exist, but:
	> (probe-file "ccl:OpenMCL.app;Contents;MacOS;dppccl")
	#P"/Users/ddickiso/Library/Lisp/OpenMCL/ccl/OpenMCL.app/Contents/ 
MacOS/dppccl"

This is the output I get:

[~] (11:07)$ openmcl
; loading system definition from
; /Users/ddickiso/Library/Lisp/asdf-registry/asdf-binary- 
locations.asd into
; #<Package "ASDF0">
; registering #<SYSTEM ASDF-BINARY-LOCATIONS #x85AABC6> as ASDF- 
BINARY-LOCATIONS
Welcome to OpenMCL Version 1.1-pre-070408 (DarwinPPC32)!
? (require 'cocoa-application)
; Note: defining new ObjC message -[PrefsView notePrefsChange:]
; Note: defining new ObjC message -[PrefsView commitPrefs:]
; Note: defining new ObjC message -[PrefsView revertPrefs:]
; Note: defining new ObjC message +[PreferencesPanel sharedPanel]
; Note: defining new ObjC message -[PreferencesPanel show]
; Note: defining new ObjC message -[NSApplication postEventAtStart:]
; Note: defining new ObjC message -[LispApplication showPreferences:]
; Note: defining new ObjC message -[LispApplication toggleTypeout:]
; Note: defining new ObjC message -[HemlockTextStorage  
editingInProgress]
; Note: defining new ObjC message -[HemlockTextStorage noteInsertion:]
; Note: defining new ObjC message -[HemlockTextStorage noteDeletion:]
; Note: defining new ObjC message -[HemlockTextStorage  
noteModification:]
; Note: defining new ObjC message -[HemlockTextStorage noteAttrChange:]
; Note: defining new ObjC message -[HemlockTextStorage  
ensureSelectionVisible]
; Note: defining new ObjC message -[HemlockTextstorageTextView  
updateSelection:length:affinity:]
; Note: defining new ObjC message -[HemlockFrame runErrorSheet:]
; Note: defining new ObjC message -[HemlockFrame  
sheetDidEnd:returnCode:contextInfo:]
; Note: defining new ObjC message -[HemlockFrame  
sheetDidDismiss:returnCode:contextInfo:]
; Note: defining new ObjC message -[HemlockTextStorage  
updateHemlockSelection]
; Note: defining new ObjC message -[HemlockListenerWindowController  
gotData:]
; Note: defining new ObjC message +[HemlockListenerDocument topListener]
; Note: defining new ObjC message -[HemlockListenerDocument interrupt:]
; Note: defining new ObjC message -[HemlockListenerDocument backtrace:]
; Note: defining new ObjC message -[LispApplicationDelegate  
newListener:]
 > Error: Directory containing  
"ccl:OpenMCL.app;Contents;MacOS;dppccl" does not exist.
 > While executing: SAVE-APPLICATION, in process listener(1).
 > Type :POP to abort, :R for a list of available restarts.
 > Type :? for other options.
1 >


Any help would be greatly appreciated!

Daniel




More information about the Openmcl-devel mailing list