From lam at tuxfamily.org Tue Jan 18 11:10:19 2005 From: lam at tuxfamily.org (Nicolas Lamirault) Date: Tue, 18 Jan 2005 12:10:19 +0100 Subject: [lambda-gtk-devel] Problem with patch sbcl-af and sb-executable ? Message-ID: <87y8erxaas.fsf@no-log.org> hello, i have make a little prg in cl-lambda-gtk to test it it works, but when i try to make an executable i have an error : sbcl.core is core created like this : $ tar -zxf sbcl-af-2004-10-22.tgz $ cd sbcl-af $ sbcl --load "system" * (sb-ext:save-lisp-and-die "sbcl.core") sbcl --core sbcl.core This is SBCL 0.8.16, an implementation of ANSI Common Lisp. More information about SBCL is available at . SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. * (require :sb-executable) debugger invoked on a SB-INT:EXTENSION-FAILURE in thread 14174: Don't know how to REQUIRE SB-EXECUTABLE. See also: The SBCL Manual, Variable *MODULE-PROVIDER-FUNCTIONS* The SBCL Manual, Function REQUIRE You can type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL. restarts (invokable by number or by possibly-abbreviated name): 0: [ABORT ] Reduce debugger level (leaving debugger, returning to toplevel). 1: [TOPLEVEL] Restart at toplevel READ/EVAL/PRINT loop. (SB-IMPL::REQUIRE-ERROR 3 "Don't know how to ~S ~A.")[:EXTERNAL] 0] 1 with no sbcl.core : sbcl This is SBCL 0.8.16, an implementation of ANSI Common Lisp. More information about SBCL is available at . SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. * (require :sb-executable) ("SB-EXECUTABLE") does anybody know how can i use sb-executable and sbcl-af patch ? thanks for any help -- Nicolas Lamirault From bsder at mail.allcaps.org Sat Jan 22 03:18:44 2005 From: bsder at mail.allcaps.org (Andrew P. Lentvorski, Jr.) Date: Fri, 21 Jan 2005 19:18:44 -0800 Subject: [lambda-gtk-devel] .emacs file for lambda-gtk? Message-ID: <5259F941-6C24-11D9-A87D-000A95C874EE@mail.allcaps.org> I have noticed that the examples.lisp file indents much less for gtk:define-signal-handler than my editor defaults. Could someone send me the magic incantations to indent like the examples file? Thanks, -a From taube at uiuc.edu Sat Jan 22 15:16:30 2005 From: taube at uiuc.edu (Rick Taube) Date: Sat, 22 Jan 2005 09:16:30 -0600 Subject: [lambda-gtk-devel] .emacs file for lambda-gtk? In-Reply-To: <5259F941-6C24-11D9-A87D-000A95C874EE@mail.allcaps.org> References: <5259F941-6C24-11D9-A87D-000A95C874EE@mail.allcaps.org> Message-ID: <97EA496A-6C88-11D9-A280-000D935889B0@uiuc.edu> This is what I use in my .emacs file: (put 'define-signal-handler 'common-lisp-indent-function 'lisp-indent-defmethod) -- which gives me Tab indentation like this: (gtk:define-signal-handler cmio_noop :void (widget data) ;; widget is an unimplemented button, data is window. (cmio-print (widget->object data) :warning "Sorry, '~@(~A~)' not yet implemented." (gtk:button-get-label widget))) BTW last week I implemented some code for running gtk:main-iteration-do as a polling function in SBCL and CMUCL, and as a process in OpenMCL, which frees up the REPL again when GTK windows are open. It seems to be working quite well. I think perhaps I should add this support to the lambda-gtk sources as two new exports: (gtk:main-start) and (gtk:main-stop) --rick On Jan 21, 2005, at 9:18 PM, Andrew P. Lentvorski, Jr. wrote: > I have noticed that the examples.lisp file indents much less for > gtk:define-signal-handler than my editor defaults. > > Could someone send me the magic incantations to indent like the > examples file? > > Thanks, > -a > > _______________________________________________ > lambda-gtk-devel site list > lambda-gtk-devel at common-lisp.net > http://common-lisp.net/mailman/listinfo/lambda-gtk-devel From taube at uiuc.edu Sat Jan 22 16:01:42 2005 From: taube at uiuc.edu (Rick Taube) Date: Sat, 22 Jan 2005 10:01:42 -0600 Subject: [lambda-gtk-devel] Problem with patch sbcl-af and sb-executable ? In-Reply-To: <87y8erxaas.fsf@no-log.org> References: <87y8erxaas.fsf@no-log.org> Message-ID: My apologies for the tardy response to this message. Im afraid I can't offer any advice yet because I have not gotten around to saving images yet in my own work. Im sure there will have to be initializiation functions to make sure the library is loaded and so forth. If you do get it working please let me know so I can add the directions and whatever support coded is needed. best, --rick On Jan 18, 2005, at 5:10 AM, Nicolas Lamirault wrote: > > hello, > i have make a little prg in cl-lambda-gtk to test it > it works, but when i try to make an executable i have an error : > > sbcl.core is core created like this : > $ tar -zxf sbcl-af-2004-10-22.tgz > $ cd sbcl-af > $ sbcl --load "system" > * (sb-ext:save-lisp-and-die "sbcl.core") > > sbcl --core sbcl.core > This is SBCL 0.8.16, an implementation of ANSI Common Lisp. > More information about SBCL is available at . > > SBCL is free software, provided as is, with absolutely no warranty. > It is mostly in the public domain; some portions are provided under > BSD-style licenses. See the CREDITS and COPYING files in the > distribution for more information. > * (require :sb-executable) > > debugger invoked on a SB-INT:EXTENSION-FAILURE in thread 14174: > Don't know how to REQUIRE SB-EXECUTABLE. > See also: > The SBCL Manual, Variable *MODULE-PROVIDER-FUNCTIONS* > The SBCL Manual, Function REQUIRE > > You can type HELP for debugger help, or (SB-EXT:QUIT) to exit from > SBCL. > > restarts (invokable by number or by possibly-abbreviated name): > 0: [ABORT ] Reduce debugger level (leaving debugger, returning to > toplevel). > 1: [TOPLEVEL] Restart at toplevel READ/EVAL/PRINT loop. > (SB-IMPL::REQUIRE-ERROR 3 "Don't know how to ~S ~A.")[:EXTERNAL] > 0] 1 > > with no sbcl.core : > > sbcl > This is SBCL 0.8.16, an implementation of ANSI Common Lisp. > More information about SBCL is available at . > > SBCL is free software, provided as is, with absolutely no warranty. > It is mostly in the public domain; some portions are provided under > BSD-style licenses. See the CREDITS and COPYING files in the > distribution for more information. > * (require :sb-executable) > > ("SB-EXECUTABLE") > > does anybody know how can i use sb-executable and sbcl-af patch ? > thanks for any help > > > > -- > Nicolas Lamirault > _______________________________________________ > lambda-gtk-devel site list > lambda-gtk-devel at common-lisp.net > http://common-lisp.net/mailman/listinfo/lambda-gtk-devel From bruno.loff at gmail.com Mon Jan 31 19:58:02 2005 From: bruno.loff at gmail.com (Bruno Loff) Date: Mon, 31 Jan 2005 19:58:02 +0000 Subject: [lambda-gtk-devel] Problem with examples? Message-ID: <86a84bfc05013111583efa9075@mail.gmail.com> Something wierd when I try to use the examples: * (load (compile-file "gtkffi-cmusbcl")) ....... T * (load "examples") ; Loading #p"/home/bruno/Projects/lambda-gtk/examples.lisp". ; ; Warning: These variables are undefined: ; BYE1 DATA WIDGET ; ; ; Warning: These functions are undefined: ; DATA GTK::DEF-CALLBACK C-CALL:VOID WIDGET Error in KERNEL:%COERCE-TO-FUNCTION: the function GTK::DEF-CALLBACK is undefined. I'll try and figure out what happened. Any hints? Bruno Loff From taube at uiuc.edu Mon Jan 31 23:27:40 2005 From: taube at uiuc.edu (Rick Taube) Date: Mon, 31 Jan 2005 17:27:40 -0600 Subject: [lambda-gtk-devel] Problem with examples? In-Reply-To: <86a84bfc05013111583efa9075@mail.gmail.com> References: <86a84bfc05013111583efa9075@mail.gmail.com> Message-ID: <4996d8c54c466a830c9824a5b39cce09@uiuc.edu> what version of cmucl are you using?? i tested the examples in 19a (x86/linux) and it works. --rick On Jan 31, 2005, at 1:58 PM, Bruno Loff wrote: > Something wierd when I try to use the examples: > > * (load (compile-file "gtkffi-cmusbcl")) > ....... > T > * (load "examples") > ; Loading #p"/home/bruno/Projects/lambda-gtk/examples.lisp". > ; > > ; Warning: These variables are undefined: > ; BYE1 DATA WIDGET > ; ; > > ; Warning: These functions are undefined: > ; DATA GTK::DEF-CALLBACK C-CALL:VOID WIDGET > > Error in KERNEL:%COERCE-TO-FUNCTION: the function GTK::DEF-CALLBACK > is undefined. > > I'll try and figure out what happened. Any hints? > > Bruno Loff > _______________________________________________ > lambda-gtk-devel site list > lambda-gtk-devel at common-lisp.net > http://common-lisp.net/mailman/listinfo/lambda-gtk-devel