From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Hartwig Newsgroups: gmane.lisp.guile.devel Subject: Re: About REPL hook Date: Sun, 2 Dec 2012 10:59:45 +0800 Message-ID: References: <1354096427.11146.35.camel@Renee-desktop.suse> <87a9tze57g.fsf@gnu.org> <1354379482.11146.147.camel@Renee-desktop.suse> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1354417195 4621 80.91.229.3 (2 Dec 2012 02:59:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Dec 2012 02:59:55 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Dec 02 04:00:07 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 1Tezmk-0006AA-Du for guile-devel@m.gmane.org; Sun, 02 Dec 2012 04:00:02 +0100 Original-Received: from localhost ([::1]:59832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TezmY-0006Kc-PU for guile-devel@m.gmane.org; Sat, 01 Dec 2012 21:59:50 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TezmW-0006KW-DB for guile-devel@gnu.org; Sat, 01 Dec 2012 21:59:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TezmV-0006e9-5v for guile-devel@gnu.org; Sat, 01 Dec 2012 21:59:48 -0500 Original-Received: from mail-we0-f169.google.com ([74.125.82.169]:59562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TezmU-0006e3-Uh for guile-devel@gnu.org; Sat, 01 Dec 2012 21:59:47 -0500 Original-Received: by mail-we0-f169.google.com with SMTP id t49so699294wey.0 for ; Sat, 01 Dec 2012 18:59:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=N2HLKXSQVZuCtpNqxvfQdlz4p3pR/xW0r2V0qqVNXU0=; b=Pk5egN2htFo9pAL7Ykxe63WbI/Zwa2ykEvNrd0YSJDvBjojDkAV/Vmg0QkGLfmQCaP u/fFIf4EDPRIYAipzVtBYkKS3q/CJzJCi5zCDHyKpPznO3ojChcaQRn7m+MKHULYRkcx 9M5gymjXGIWoJZi+PyqHLPFWlZ28kOwLz+PQrSh1sxNQdku0sg90P4mGpQd7bDo91Fc1 w8FDN5wUMQ9fZDH4nNfkfhrv7g9vgAx7AeSFrNViwNF+LvfZdBiCCoWBgJlV1Z65UjIv KDEMwSY7drFcXxYlj1BmxiwEWzThH/HbGTrfiexxs+F/nde5JggAZf8fwz7JIp7UD1mJ UQJA== Original-Received: by 10.216.90.73 with SMTP id d51mr1960685wef.188.1354417185501; Sat, 01 Dec 2012 18:59:45 -0800 (PST) Original-Received: by 10.216.100.6 with HTTP; Sat, 1 Dec 2012 18:59:45 -0800 (PST) In-Reply-To: <1354379482.11146.147.camel@Renee-desktop.suse> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 74.125.82.169 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:15289 Archived-At: On 2 December 2012 00:31, nalaginrut wrote: > I think a colorized REPL is useful for our users. > Will you accept a patch to 'pp' for colorized REPL? Or an easy way, a > module with hook to do the same job, but output twice? Perhaps rather implement this as a separate, =E2=80=9Cadvanced=E2=80=9D int= erface. Think: ipython vs. python. Most of the existing repl module would be reusable for such a task. There are benefits to keeping the official package, shell, repl, interface, whatsit free of unnecessary features. Such simplicity aids in debugging, and facilitates a clear definition of language semantics, compatibility, portability, extension, etc.. Also, are you aware of the multiple existing packages that provide provide a Guile REPL with syntax highlighting (and *much* more)?. Try Geiser [1] or Quack [2], both of which run inside emacs and provide integration between file and repl buffers (i.e. run expressions directly from file buffers). Regards [1] http://www.nongnu.org/geiser/ [2] http://www.neilvandyke.org/quack/