Re: bug#13077: guile: add repl-option for customized print

2012-12-11 Thread Nala Ginrut
On Wed, 2012-12-12 at 13:00 +0800, Daniel Hartwig wrote: > [No need to Cc the bug report] > > On 12 December 2012 12:03, Nala Ginrut wrote: > > Seems (fluid-ref *repl-stack*) is not a pair/list when REPL is just > > started? > > Correction: is not a pair/list when /guile/ is just started. The >

Re: bug#13077: guile: add repl-option for customized print

2012-12-11 Thread Daniel Hartwig
On 12 December 2012 14:01, Daniel Hartwig wrote: > On 12 December 2012 13:49, Nala Ginrut wrote: >> repl-default-option-set! seems didn't make sense. > > Works fine for me. > >> >> I believe people more like to activate the colored-REPL automatically >> when ~/.guile is setup. Rather than call (a

Re: bug#13077: guile: add repl-option for customized print

2012-12-11 Thread Daniel Hartwig
[No need to Cc the bug report] On 12 December 2012 12:03, Nala Ginrut wrote: > Seems (fluid-ref *repl-stack*) is not a pair/list when REPL is just > started? Correction: is not a pair/list when /guile/ is just started. The program, guile, is not a REPL, that is only an optional component of it.

Re: bug#13077: guile: add repl-option for customized print

2012-12-11 Thread Nala Ginrut
hi Daniel! Custom color-scheme is done now! ;-D But we have a problem... :-( It's OK to test this code in the REPL: cut--- (use-modules (ice-9 colorized)) (add-color-scheme! `((,(lambda (data) (and (number? data) (> data 1))) MY-LONG-NUM ,color-it (RED

Re: bug#13077: guile: add repl-option for customized print

2012-12-03 Thread Daniel Hartwig
On 4 December 2012 14:39, Thien-Thi Nguyen wrote: > () Daniel Hartwig > () Tue, 4 Dec 2012 13:34:52 +0800 > >patch that handles [...] *unspecified* > > Can ‘unspecified?’ (the procedure) be used? I seem to recall people > wanting to avoid using ‘*unspecified*’ (the unique object) a while bac

Re: bug#13077: guile: add repl-option for customized print

2012-12-03 Thread Thien-Thi Nguyen
() Daniel Hartwig () Tue, 4 Dec 2012 13:34:52 +0800 patch that handles [...] *unspecified* Can ‘unspecified?’ (the procedure) be used? I seem to recall people wanting to avoid using ‘*unspecified*’ (the unique object) a while back. -- Thien-Thi Nguyen .

Re: bug#13077: guile: add repl-option for customized print

2012-12-03 Thread Daniel Hartwig
On 4 December 2012 14:30, nalaginrut wrote: > And I'll update it to repl-option version after ludo/andy accepts your > patch. > > Or I should post it include your patch altogether? ;-) Separate is easier to work with.

Re: bug#13077: guile: add repl-option for customized print

2012-12-03 Thread nalaginrut
I'll post my original guile-colorized which uses 'before-print-hook' to guile-dev. Though I've already tested it, I wish all folks test it for me. And I'll update it to repl-option version after ludo/andy accepts your patch. Or I should post it include your patch altogether? ;-) On Tue, 2012-12

Re: bug#13077: guile: add repl-option for customized print

2012-12-03 Thread Daniel Hartwig
On 4 December 2012 13:19, nalaginrut wrote: > Hi Daniel! > I believe this patch simplified my work, and 'colorized' module has been > finished, I'm testing and debugging. > I'll post it when it's all done. Glad to hear it. Attached is an alternate patch that handles before-print-hook and *unspec

Re: bug#13077: guile: add repl-option for customized print

2012-12-03 Thread nalaginrut
Hi Daniel! I believe this patch simplified my work, and 'colorized' module has been finished, I'm testing and debugging. I'll post it when it's all done. Thanks! On Tue, 2012-12-04 at 11:46 +0800, Daniel Hartwig wrote: > Package: guile > Severity: wishlist > Tags: patch > X-Debbugs-CC: nalaginrut