[mcclim-devel] clim-debugger

Peter Mechlenborg metch at daimi.au.dk
Fri Apr 15 06:55:44 UTC 2005


Andreas Fuchs wrote:
> I think it rocks. I found the fonts a bit unreadable on descriptive
> texts, so I hacked on it a little. This patch adds:
> 
>  * better fonts on descriptions (not on reference-conditions reference
>    slots yet, I'm hoping somebody figures a way to render them soon)
>  * (maybe) better formatting of reference condition descriptions &
>    extra condition info
>  * better handling of multi-table-column presentation (you can now
>    click on a stack frame number and on a restart description)
>  * doesn't show the --MORE-- link when there are fewer than 20 frames.
> 

Super!

> Here's some lisp porn:
> http://boinkor.net/lisp/porn/clim-debugger_pretty.png (-:
>  
> Hope you like it.

I think I do, but I've never really used patch and I can't make it work 
(perhaps I'm a bit dense). I've copied the patch you provided to a file 
named clim-debugger.lisp-patch and tried this:

[goblin:~/lisp]$patch --verbose clim-debugger.lisp \
clim-debugger.lisp-patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- clim-debugger.orig.lisp     2005-04-14 19:08:32.000000000 +0200
|+++ clim-debugger.lisp  2005-04-15 00:18:25.861376109 +0200
--------------------------
Patching file clim-debugger.lisp using Plan A...
Hunk #1 FAILED at 255.
Hunk #2 FAILED at 270.
Hunk #3 succeeded at 305.
Hunk #4 FAILED at 314.
Hunk #5 succeeded at 340.
3 out of 5 hunks FAILED -- saving rejects to file clim-debugger.lisp.rej
Hmm...  Ignoring the trailing garbage.
done


Head of the patch-file:

[goblin:~/lisp]$head clim-debugger.lisp-patch
--- clim-debugger.orig.lisp     2005-04-14 19:08:32.000000000 +0200
+++ clim-debugger.lisp  2005-04-15 00:18:25.861376109 +0200
@@ -255,13 +255,14 @@
  ;;;   Display debugging info   ;;;;;;;;;;;;;;;;;;
  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

-(defun std-form (pane first second)
+(defun std-form (pane first second &key (family :sans-serif))
    (formatting-row
        (pane)

Can anyone help me? Thanks.

   -- Peter



More information about the mcclim-devel mailing list