From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: David Pirotte Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.user Subject: Re: GNU Guile 2.1.7 released (beta) Date: Thu, 2 Mar 2017 17:54:51 -0300 Message-ID: <20170302175451.69916295@capac> References: <87y3x3zt6v.fsf@pobox.com> <87tw7kviu6.fsf@pobox.com> <20170227210444.681b8e02@capac> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/VW6MlCLRmR.b8AaXra_QChi"; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1488488142 24879 195.159.176.226 (2 Mar 2017 20:55:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 2 Mar 2017 20:55:42 +0000 (UTC) Cc: Andy Wingo , guile-user@gnu.org, guile-devel@gnu.org To: Daniel Llorens Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Mar 02 21:55:36 2017 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjXl0-0005IG-Ip for guile-devel@m.gmane.org; Thu, 02 Mar 2017 21:55:26 +0100 Original-Received: from localhost ([::1]:54563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjXl6-0003BI-M2 for guile-devel@m.gmane.org; Thu, 02 Mar 2017 15:55:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjXl2-0003B1-04 for guile-devel@gnu.org; Thu, 02 Mar 2017 15:55:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjXkz-0000MM-0Q for guile-devel@gnu.org; Thu, 02 Mar 2017 15:55:28 -0500 Original-Received: from maximusconfessor.all2all.org ([79.99.200.102]:40887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjXky-0000Bc-PZ; Thu, 02 Mar 2017 15:55:24 -0500 Original-Received: from localhost (unknown [192.168.0.2]) by maximusconfessor.all2all.org (Postfix) with ESMTP id 619D6A04C148; Thu, 2 Mar 2017 21:55:07 +0100 (CET) Original-Received: from maximusconfessor.all2all.org ([192.168.0.1]) by localhost (maximusconfessor.all2all.org [192.168.0.2]) (amavisd-new, port 10024) with ESMTP id XoUEXnrl2Au7; Thu, 2 Mar 2017 21:55:03 +0100 (CET) Original-Received: from capac (unknown [179.210.17.105]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id C8D3AA04C146; Thu, 2 Mar 2017 21:55:01 +0100 (CET) In-Reply-To: X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-Received-From: 79.99.200.102 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.lisp.guile.devel:18981 gmane.lisp.guile.user:13381 Archived-At: --Sig_/VW6MlCLRmR.b8AaXra_QChi Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Daniel, Andy, > I think this is the minimum for .guile: >=20 > (import (system repl common) (ice-9 format)) > (repl-default-option-set! 'print (lambda (repl val) (format #t "~200@y" v= al))) >=20 > That doesn't seem so bad. For the current repl you can do: >=20 > (repl-option-set! (car (fluid-ref *repl-stack*)) 'print (lambda (repl val= ) (format > #t "~200@y" val))) Veeeeeeery complicated :) Howe about this: (set! %repl-printer truncated-print) (set! %truncated-print-max-chars 72) In the repl ,repl-printer truncated-print ,truncated-print-max-chars 72 Once set, the above would be used by error and raised exception 'printers',= per default imo, otherwise we could also have: (set! %error-printer truncated-print) In the repl ,error-printer truncated-print Regards, David --Sig_/VW6MlCLRmR.b8AaXra_QChi Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAli4hpwACgkQ83T9k6MF etf85Qf7BbTqRZSy7/J/VKnpy6jVt1+PAWynPefazGA/4eXqLAW1dtXyuU56pXMq I5Q2cWTWa/5BlC6LoQKjgzRagHbhFHt5b1HOVJ4Fv/uVX0I/n5nA+/Fq/op4eQSg 1gWw39VWvRfyOgb7+SVw4owkRNPt/nJ2HNY5e2wDJ/SI4dK47RqlS+4Mkv2fnIls FQd6vLfcpA7pBh1V7wv26I4NUKXRMSDIRVry6tXkrJmytYZ2iGtqfhBRNiBEGaW9 aWeiv6fRERvl7TgWSTb2Z4YC4vlrOa6Gpku5fpTC3ROuFsTqpNfSwWf/IRPyjsgm ++jLG/CyD+WXidmpGXhVLGcGN+OOTg== =ZezQ -----END PGP SIGNATURE----- --Sig_/VW6MlCLRmR.b8AaXra_QChi--