00:12:23 -!- tfb [~tfb@restormel.cley.com] has quit [Quit: sleeping] 00:30:53 gz_ [~gz@209-6-49-85.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #ccl 00:34:41 -!- gz [~gz@209-6-49-85.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Ping timeout: 240 seconds] 00:34:41 -!- gz_ is now known as gz 00:53:35 sykopomp [~sykopomp@gateway/tor-sasl/sykopomp] has joined #ccl 00:55:08 http://clisp.sourceforge.net/impnotes.html#exit-on-error Is there an equivalent to this in CCL? http://ccl.clozure.com/manual/chapter4.9.html Says to provide :error-handler :quit, but when I send C-c to the application, it throws me into the debugger. 01:08:01 Another option might be starting ccl with --batch. 01:09:23 would that work for delivered executables that are intended to be 'just run'? 01:11:05 You'd have to arrange to start up with --batch somehow, such as via a shell wrapper. 01:11:23 If :error-handler :quit doesn't work, I suppose we'd have to consider that a bug. 01:11:54 It would seem that way. Am I misusing it, or expecting it to behave differently? 01:20:32 We have this notion of an application object (it's the value of ccl:*application*). By default, *application* is an instance of ccl::lisp-development-system. 01:21:03 The idea is that you can specialize ccl:application-error-handler for whatever kind of application you have. 01:21:14 -!- gz [~gz@209-6-49-85.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Quit: gz] 01:22:11 In your case, you're evidently not interested in a lisp-development-system, so maybe it would be adequate to do (change-class ccl:*application* 'ccl::application). 01:23:00 (I'm not sure why ccl::application isn't exported.) 01:23:05 Sorry that this is all undocumented. 01:23:29 Maybe gbyers would have something to say also. 01:26:03 Anyway, the problem is that application-error-handler for a ccl::lisp-development-system doesn't pay attention to the error handler flags you specify in save-application. The method specialized for ccl::application does. 01:26:18 I will now quit babbling. 01:26:53 It's not clear to me what ^C has to do with errors. 01:32:52 well, for one, it triggers a break, and I also want the image to die immediately if any errors pop up (after reporting them). It's a nice way to kill two birds with one stone. 01:35:49 Yes, and someone else may want different behavior.. It's clear that you should have more control over how ^C is handled, it's less clear that treating it as an error would be the right thing. 01:38:19 For what it's worth, they use --batch at the three-letter company involved in the airline reservations business. 01:43:06 In the absence of something better, you could also just ignore SIGINT. 01:44:30 -!- deepfire [~deepfire@80.92.100.69] has quit [Ping timeout: 260 seconds] 01:46:06 True. But, I think sykopomp's point is that when you start up from an image saved with :error-handler :quit, even (error "foo") gives you a break loop instead of printing an error message and quitting. 01:54:17 And in fact the :ERROR-HANDLER arg only takes effect with certain application classes, and the documentation ignores that fact. Hence the earlier discussion. 02:21:41 I don't pretend to know how it should work for everyone. All I was looking for was for a way for my command-line application to give what I consider expected behavior, without too much hassle. For something this simple, the shell script might be too much, but isn't the end of the world. 03:36:16 -!- rme [~rme@50.43.147.22] has quit [Quit: rme] 03:38:26 leo2007 [~leo@123.114.48.61] has joined #ccl 04:44:02 -!- sykopomp [~sykopomp@gateway/tor-sasl/sykopomp] has left #ccl 06:33:43 -!- leo2007 [~leo@123.114.48.61] has quit [Quit: head home] 07:50:30 jdz [~jdz@193.206.22.97] has joined #ccl 07:53:58 leo2007 [~leo@123.114.35.97] has joined #ccl 08:18:18 tfb [~tfb@80.238.0.145] has joined #ccl 08:55:33 -!- leo2007 [~leo@123.114.35.97] has quit [Ping timeout: 255 seconds] 11:31:48 leo2007 [~leo@123.114.35.97] has joined #ccl 13:39:32 rme [~rme@50.43.148.91] has joined #ccl 13:48:28 -!- rme [rme@8B650136.78A1BA07.699BA7A6.IP] has quit [Ping timeout] 13:49:06 rme_ [~rme@50.43.148.142] has joined #ccl 13:49:51 -!- rme [~rme@50.43.148.91] has quit [Ping timeout: 255 seconds] 13:49:51 -!- rme_ is now known as rme 14:47:24 -!- Modius [~Modius@cpe-70-123-140-183.austin.res.rr.com] has quit [Quit: "Object-oriented design" is an oxymoron] 15:18:41 -!- leo2007 [~leo@123.114.35.97] has quit [Remote host closed the connection] 15:23:41 milanj [~milanj_@109-93-62-105.dynamic.isp.telekom.rs] has joined #ccl 15:24:11 rme_ [~rme@50.43.137.3] has joined #ccl 15:25:05 -!- rme [~rme@50.43.148.142] has quit [Ping timeout: 250 seconds] 15:25:05 -!- rme_ is now known as rme 15:25:09 -!- rme [rme@A163BB42.78A1BA07.699BA7A6.IP] has quit [Ping timeout] 15:58:48 -!- jdz [~jdz@193.206.22.97] has quit [Ping timeout: 276 seconds] 16:20:14 rme_ [~rme@50.43.140.219] has joined #ccl 16:21:08 -!- rme [rme@E635B752.47C9A248.699BA7A6.IP] has quit [Ping timeout] 16:21:09 -!- rme_ is now known as rme 16:22:51 -!- rme [~rme@50.43.137.3] has quit [Ping timeout: 276 seconds] 16:22:51 -!- rme_ is now known as rme 16:36:13 survery [~thomas@dslb-178-007-120-202.pools.arcor-ip.net] has joined #ccl 16:36:32 -!- survery [~thomas@dslb-178-007-120-202.pools.arcor-ip.net] has left #ccl 16:52:23 jdz [~jdz@host190-69-dynamic.54-82-r.retail.telecomitalia.it] has joined #ccl 16:58:40 -!- tfb [~tfb@80.238.0.145] has quit [Quit: sleeping] 17:49:16 gz [~gz@c-66-31-201-117.hsd1.ma.comcast.net] has joined #ccl 18:10:23 -!- gz [~gz@c-66-31-201-117.hsd1.ma.comcast.net] has left #ccl 19:11:18 gz [~gz@c-66-31-201-117.hsd1.ma.comcast.net] has joined #ccl 19:13:03 -!- gz [~gz@c-66-31-201-117.hsd1.ma.comcast.net] has left #ccl 20:31:36 -!- jdz [~jdz@host190-69-dynamic.54-82-r.retail.telecomitalia.it] has quit [Ping timeout: 276 seconds] 21:19:32 -!- milanj [~milanj_@109-93-62-105.dynamic.isp.telekom.rs] has quit [Quit: Leaving] 22:15:02 -!- clop [~jared@moat3.centtech.com] has quit [Ping timeout: 246 seconds] 22:16:30 clop [~jared@moat3.centtech.com] has joined #ccl 22:59:27 -!- gbyers [~gb@c-68-84-152-249.hsd1.nm.comcast.net] has quit [Ping timeout: 240 seconds]