From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Newsgroups: gmane.lisp.guile.bugs Subject: bug#29684: exception printers - request for improvement Date: Wed, 4 Jul 2018 11:30:12 +0200 Message-ID: <20180704093012.GA23703@tuxteam.de> References: <20171213012435.34d43175@capac> <87in5yrk9z.fsf@gnu.org> <20180701192321.75afe2e1@capac> <87r2kmm8rz.fsf@gnu.org> <20180703163123.0514c5aa@capac> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1530696545 26875 195.159.176.226 (4 Jul 2018 09:29:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 4 Jul 2018 09:29:05 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: 29684@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Jul 04 11:29:01 2018 Return-path: Envelope-to: guile-bugs@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 1fae5s-0006pS-7P for guile-bugs@m.gmane.org; Wed, 04 Jul 2018 11:29:00 +0200 Original-Received: from localhost ([::1]:44867 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fae7z-0003SB-A6 for guile-bugs@m.gmane.org; Wed, 04 Jul 2018 05:31:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fae7t-0003Rs-QR for bug-guile@gnu.org; Wed, 04 Jul 2018 05:31:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fae7q-0001ZB-Ml for bug-guile@gnu.org; Wed, 04 Jul 2018 05:31:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37950) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fae7q-0001Yv-Hv for bug-guile@gnu.org; Wed, 04 Jul 2018 05:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fae7q-0002NY-75 for bug-guile@gnu.org; Wed, 04 Jul 2018 05:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 04 Jul 2018 09:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29684 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15306966379106 (code B ref -1); Wed, 04 Jul 2018 09:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Jul 2018 09:30:37 +0000 Original-Received: from localhost ([127.0.0.1]:45844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fae7P-0002Ml-D4 for submit@debbugs.gnu.org; Wed, 04 Jul 2018 05:30:36 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34295) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fae7M-0002MX-Ac for submit@debbugs.gnu.org; Wed, 04 Jul 2018 05:30:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fae7F-00016o-Uc for submit@debbugs.gnu.org; Wed, 04 Jul 2018 05:30:26 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34582) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fae7F-00016C-HH for submit@debbugs.gnu.org; Wed, 04 Jul 2018 05:30:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fae7E-0003H9-DO for bug-guile@gnu.org; Wed, 04 Jul 2018 05:30:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fae7B-0000yb-99 for bug-guile@gnu.org; Wed, 04 Jul 2018 05:30:24 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:53879) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fae7A-0000k4-UT for bug-guile@gnu.org; Wed, 04 Jul 2018 05:30:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=Z47rhOGzFhEWwFgWORUQGa/oW8oi5SZXsjUnQsmxlCQ=; b=IzIQotNqZyzFKwYf801fzwzxPNGBRvLCYkBsDV6M1HBr0yVyt023uqQIFGzdOoQZdUXuQQNA3gFCgGIugyOLIgbYf0jFd2EJpfYRbBN0N7ab2TWsGiac6cv5u8mVywGpz0B455RiMC+yya0E4Q36q81VjrMkD125tGNsC4LcVjS1F5l6B4+kUmH5zXP3wX/IJ21WbvWI8oCsZ19mDFKDUfTcoFqMXs6eWpy5V+R+/B+LPTOli2iveLPbIjxHXlej9O4dmg7re8xl8YGxUWalqT44Jy6vQNchIDzm/NsdPyHg3FKxu/z0BSg+xPiLLh5VFXnu/2mzLX8RCxtY28ivfA==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1fae73-0006Wr-8Y for bug-guile@gnu.org; Wed, 04 Jul 2018 11:30:13 +0200 In-Reply-To: <20180703163123.0514c5aa@capac> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:9087 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Jul 03, 2018 at 04:31:23PM -0300, David Pirotte wrote: > Hi Ludovic, > > > > It is perfectly fine, on the opposite side, to ask advanced scheme users (who > > > would want to, but I really don't see the point) configure guile s the repl and > > > the exception printer so it tries to print the full content of huge lsts, > > > vectors, arrays ... > > > Perhaps you could arrange to set the REPL’s ‘print’ option right from > > one of the Guile-OpenCV modules? I mean the configuration you mention > > have doesn’t have to be done manually by users. > > I'll do that yes, since I failed to convince you it you be a better default for all > of us, not just Guile-CV :) Hm. Applying the peanut gallery factor to my opinion (roughly 10e-7), I tend to side with David's position: the default consumer of REPL's print is a human, and feeding him/her with huge binary things isn't "tasty"... But... grain of salt, and things. What would be David's position's downsides? Thanks - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAls8k6QACgkQBcgs9XrR2kaJSgCePeZgTTphZmdrkww/uoVm/9mW Ib4An2/NY2kWS6Oso7w9jzSP8s9x9mZz =KsrJ -----END PGP SIGNATURE-----