From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Newsgroups: gmane.lisp.guile.bugs Subject: bug#59540: Calling length on a very long improper list is disastrous. Date: Mon, 12 Dec 2022 12:45:08 +0100 Message-ID: <87sfhk26d7.fsf@gnu.org> References: <87r0x7419l.fsf@gnu.org> <602C3A2B-D6B0-42F2-8E50-7A9E581A9879@sarc.name> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19965"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cc: Jeremy Phelps , 59540@debbugs.gnu.org To: lloda Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Mon Dec 12 13:00:08 2022 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p4hTb-0004xm-UN for guile-bugs@m.gmane-mx.org; Mon, 12 Dec 2022 13:00:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4hG0-0006h0-JT; Mon, 12 Dec 2022 06:46:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4hFy-0006eW-Be for bug-guile@gnu.org; Mon, 12 Dec 2022 06:46:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4hFy-00051d-06 for bug-guile@gnu.org; Mon, 12 Dec 2022 06:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p4hFx-0000sb-Lv for bug-guile@gnu.org; Mon, 12 Dec 2022 06:46:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Mon, 12 Dec 2022 11:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59540 X-GNU-PR-Package: guile Original-Received: via spool by 59540-submit@debbugs.gnu.org id=B59540.16708455243372 (code B ref 59540); Mon, 12 Dec 2022 11:46:01 +0000 Original-Received: (at 59540) by debbugs.gnu.org; 12 Dec 2022 11:45:24 +0000 Original-Received: from localhost ([127.0.0.1]:52434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4hFL-0000sK-Oe for submit@debbugs.gnu.org; Mon, 12 Dec 2022 06:45:24 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4hFL-0000sE-1n for 59540@debbugs.gnu.org; Mon, 12 Dec 2022 06:45:23 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4hFF-00047q-8B; Mon, 12 Dec 2022 06:45:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=Caj+SYfqKODrvhxWaBHqfjLgC2sNAMJK88mNLidXBwY=; b=lKKAe02LuZKRV5fYQdu8 RHpcOXBBgN5Pwg4fr6wDfnCCaWtLoYao53eMV1/CmjL5fuGyh5UI/h9qcq5b+XmuFzkxUWXw85jN1 dxLRaJWotIu0Tl1DP3t3hVisSwvHZiHl5wL0kf2/2Sk1/I2G5iETKazkT9vyX2vRMsar0yqmRJbGF T8B5KR4q1ja4RJCs2ALRRghOout3L5eCFOYfj99bWdlDDtGFKLN9/aaZTOqaSBpoba/5vUP/aqVke 9VGHjglbj1yE6ULc6NutyE57hVWUJ46bBPu8j6YhMRtC7ptlXzVx00qjpmYSSlSQjfJJkgdQhtE9K oiP0KcdTHtNmnQ==; Original-Received: from [89.207.171.77] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4hF9-0008GT-O8; Mon, 12 Dec 2022 06:45:16 -0500 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Duodi 22 Frimaire an 231 de la =?UTF-8?Q?R=C3=A9volution, ?= jour de la =?UTF-8?Q?Bruy=C3=A8re?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu In-Reply-To: <602C3A2B-D6B0-42F2-8E50-7A9E581A9879@sarc.name> (lloda@sarc.name's message of "Mon, 12 Dec 2022 10:25:39 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.bugs:10469 Archived-At: Hi, lloda skribis: > I think excessive output is a more serious problem, because it should be = possible to go to a backtrace frame and look at objects directly. On the ot= her hand, it should also be possible to C-c when guile starts to flood the = terminal. But neither of these workarounds is reliable :-/ Ultimately this = printing should be configurable. > > We already have the repl-option system (repl-option-set! repl 'print ...)= . This system doesn't apply to exception messages nor backtraces. I think i= f it did, that would mostly solve the problem. Yes. Right now it=E2=80=99s just $COLUMNS; we should have a documented SRF= I-39 parameter for that. > I also think that, besides options to truncate or not, we should have a p= ager (display at most a page, give options to next/stop/all). That would be= the best default. Yes! Ludo=E2=80=99.