From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Colorized REPL Date: Tue, 11 Dec 2012 10:31:33 +0800 Organization: HFG Message-ID: <1355193093.22533.76.camel@Renee-desktop.suse> References: <1354692089.25329.71.camel@Renee-desktop.suse> <1354697316.25329.83.camel@Renee-desktop.suse> <1354703255.25329.107.camel@Renee-desktop.suse> <87a9tmajov.fsf@gnu.org> <1355106191.22533.63.camel@Renee-desktop.suse> <87zk1l1t3x.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1355193115 20573 80.91.229.3 (11 Dec 2012 02:31:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Dec 2012 02:31:55 +0000 (UTC) Cc: guile-devel@gnu.org To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Dec 11 03:32:08 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TiFdf-00071m-Cx for guile-devel@m.gmane.org; Tue, 11 Dec 2012 03:32:07 +0100 Original-Received: from localhost ([::1]:41990 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiFdS-0000T1-Rr for guile-devel@m.gmane.org; Mon, 10 Dec 2012 21:31:54 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiFdQ-0000Sl-3Z for guile-devel@gnu.org; Mon, 10 Dec 2012 21:31:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiFdO-00045j-Op for guile-devel@gnu.org; Mon, 10 Dec 2012 21:31:51 -0500 Original-Received: from mail-pa0-f41.google.com ([209.85.220.41]:63085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiFdE-0003qT-4u; Mon, 10 Dec 2012 21:31:40 -0500 Original-Received: by mail-pa0-f41.google.com with SMTP id bj3so2450411pad.0 for ; Mon, 10 Dec 2012 18:31:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:in-reply-to:references :organization:content-type:x-mailer:mime-version :content-transfer-encoding; bh=TV08oe0r6MZypKqX91YJpBVAiC/hFQmuQnf0QQ9SSdE=; b=Swwa72jzH3b+bEomXPla/1h+vv0weAT3+t+sm2XlfK5P8atG/w8Xwzm0CEJS4G+MYa QAhvg2eDdq+vJhLCfaBedRy7KZkhzH+tARTcPUCmziDtN1LezRxtu+Y5xMtRz/cP0HGT WHrqUKcZ3D7DgyB/ooAHmIRD6WGHgDKznFM9C2WLs8E0ju95Fb4/JiBpfOUDcTUFK1TJ ZEgKJaij/V9xdxheK4hy+Btt7hIjuBRbc9+on/k4oRqoIaAOR+OPVikX3Sl9Jou7PIwt 4GZhfw/FPkjdfYYzDVNQdPx9IEu2c7aYre/sFK4GXNM6t4p4Ma3GR3IwDLcvMokAYnno m9CQ== Original-Received: by 10.66.72.71 with SMTP id b7mr41017477pav.28.1355193098701; Mon, 10 Dec 2012 18:31:38 -0800 (PST) Original-Received: from [147.2.147.112] ([61.14.130.226]) by mx.google.com with ESMTPS id c2sm7335703pay.34.2012.12.10.18.31.35 (version=SSLv3 cipher=OTHER); Mon, 10 Dec 2012 18:31:37 -0800 (PST) In-Reply-To: <87zk1l1t3x.fsf@gnu.org> X-Mailer: Evolution 3.4.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.220.41 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:15327 Archived-At: On Mon, 2012-12-10 at 22:42 +0100, Ludovic Courtès wrote: > Hi, > > Nala Ginrut skribis: > > > Since (term ansi-color) code is small one, except for the comment, do we > > still need to ask him for integration? IMO, we just borrowed something > > interfaces from his code. > > Well yes, the color table itself is public data, not even copyrightable > per se. > > > Another question: > > I'll try to patch the colorized into 'pretty-print' now, but is it > > expected? Or just leave it as a independent module? Which is the proper > > way for the maintainer? > > Instead of patching (ice-9 pretty-print) specifically for your purposes, > perhaps you could instead make it more generally extensible, in a way > that would be useful for your use case but not only? > I think (ice-9 colorized) is enough for colored-REPL purpose, of course, with Daniel's 'option-REPL-printer' patch. Besides, it'll provide other methods of coloring for the users. But the opinion to patch to 'pretty-print' also has a reason: if not, we'll keep another version of 'list/vector/array' printers. And the output indent may be different from 'pretty-print'. Some guys may think it's interesting, but others maybe not. hmm... > (I first need to look at the other threads on this topic...) > > Thanks, > Ludo’.