Re: [PATCH] Colorized REPL

2012-12-05 Thread Daniel Hartwig
On 6 December 2012 12:28, Nala Ginrut wrote: > I was aimed to patch pretty-print for coloring. But I changed my mind > because an independent module is easy to develop and debug. Yes, I thought as much. Do keep the eventual integration in mind, since I'm sure the maintainers are not interested i

Re: [PATCH] Colorized REPL

2012-12-05 Thread Nala Ginrut
On Thu, 2012-12-06 at 11:09 +0800, Daniel Hartwig wrote: > On 6 December 2012 10:43, Nala Ginrut wrote: > > But if we need the original author to assign the copyright, I'm not sure > > how long will it be. Last time I assigned the copyright took about one > > month, since it's long way to send a h

Re: [PATCH] Colorized REPL

2012-12-05 Thread Daniel Hartwig
On 6 December 2012 10:43, Nala Ginrut wrote: > But if we need the original author to assign the copyright, I'm not sure > how long will it be. Last time I assigned the copyright took about one > month, since it's long way to send a hand-written assignment to USA. > Or I just request the original a

Re: [PATCH] Colorized REPL

2012-12-05 Thread Nala Ginrut
On Wed, 2012-12-05 at 19:19 +0800, Daniel Hartwig wrote: > On 5 December 2012 18:27, Nala Ginrut wrote: > > I can understand this too. So your suggestion is to write a > > (term ansi-color) compatible interface. I think it's easy to do. > > But I'm afraid that Guile don't integrate (term ansi-colo

Re: [PATCH] Colorized REPL

2012-12-05 Thread Daniel Hartwig
On 5 December 2012 18:27, Nala Ginrut wrote: > I can understand this too. So your suggestion is to write a > (term ansi-color) compatible interface. I think it's easy to do. > But I'm afraid that Guile don't integrate (term ansi-color). In your code, one uses "(light-blue yellow)", and only some

Re: [PATCH] Colorized REPL

2012-12-05 Thread Nala Ginrut
On Wed, 2012-12-05 at 17:45 +0800, Daniel Hartwig wrote: > On 5 December 2012 16:48, Nala Ginrut wrote: > >> Is there some advantage to using the GOOPS classes rather than > >> equivalent predicates, which are more universal? Of course, the order > >> of the tests matters highly in both cases. >

Re: [PATCH] Colorized REPL

2012-12-05 Thread Daniel Hartwig
On 5 December 2012 17:50, Daniel Llorens wrote: > I think that (os process) should be merged in Guile in some > form, run-with-pipe has appeared in the lists a few times. Yes, this was ACK during one of those discussions. I believe most of the problem with open-pipe may have been resolved by ch

Re: [PATCH] Colorized REPL

2012-12-05 Thread Nala Ginrut
On Wed, 2012-12-05 at 10:50 +0100, Daniel Llorens wrote: > > On 5 December 2012 15:21, Nala Ginrut wrote: > > > I don't think it's proper to use (ansi term-color) > > purposely, since it's not in Guile. > > Maybe we should start moving a few things from guile-lib into Guile proper. > > (ansi te

Re: [PATCH] Colorized REPL

2012-12-05 Thread Daniel Llorens
> On 5 December 2012 15:21, Nala Ginrut wrote: > I don't think it's proper to use (ansi term-color) > purposely, since it's not in Guile. Maybe we should start moving a few things from guile-lib into Guile proper. (ansi term-color) may be a candidate. I think that (os process) should be merge

Re: [PATCH] Colorized REPL

2012-12-05 Thread Daniel Hartwig
On 5 December 2012 16:48, Nala Ginrut wrote: >> Is there some advantage to using the GOOPS classes rather than >> equivalent predicates, which are more universal? Of course, the order >> of the tests matters highly in both cases. >> > > GOOPS classes covered all the possible types in Guile, and i

Stability of the Linux kernel ABI

2012-12-05 Thread ugiwgh
The file qt-sdk-linux-x86-opensource-2009.02.bin can run any platform, such as redhat5, redhat6, ubuntu12, and so on. How does it can do that? I'm very interest in that technology. Any help will be appreciated. -GHui

Re: [PATCH] Colorized REPL

2012-12-05 Thread Nala Ginrut
Wrong again. I forget add 'before-print-hook' and *unspecified* situation. Resend again. On Wed, 2012-12-05 at 16:48 +0800, Nala Ginrut wrote: > On Wed, 2012-12-05 at 16:23 +0800, Daniel Hartwig wrote: > > On 5 December 2012 15:21, Nala Ginrut wrote: > > > Hi folks! > > > Here's a patch to add c

Re: [PATCH] Colorized REPL

2012-12-05 Thread Nala Ginrut
On Wed, 2012-12-05 at 16:23 +0800, Daniel Hartwig wrote: > On 5 December 2012 15:21, Nala Ginrut wrote: > > Hi folks! > > Here's a patch to add colorized-REPL. > > Some comments :-) > > diff --git a/module/ice-9/colorized.scm b/module/ice-9/colorized.scm > new file mode 100644 > index 000..f

Re: [PATCH] Colorized REPL

2012-12-05 Thread Daniel Hartwig
On 5 December 2012 15:21, Nala Ginrut wrote: > Hi folks! > Here's a patch to add colorized-REPL. Some comments :-) diff --git a/module/ice-9/colorized.scm b/module/ice-9/colorized.scm new file mode 100644 index 000..fe42a9a --- /dev/null +++ b/module/ice-9/colorized.scm @@ -0,0 +1,290 @@ +;;