From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65680: cl-print-to-string-with-limit erroneously imposes a maximum print-length of 50 Date: Thu, 21 Sep 2023 19:36:58 +0300 Message-ID: <83lecz8out.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27893"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, 65680@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 21 18:38:10 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qjMgs-00074l-1V for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Sep 2023 18:38:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjMgc-0005h3-8Z; Thu, 21 Sep 2023 12:37:54 -0400 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 1qjMga-0005gt-Ff for bug-gnu-emacs@gnu.org; Thu, 21 Sep 2023 12:37:52 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qjMga-0004bm-7X for bug-gnu-emacs@gnu.org; Thu, 21 Sep 2023 12:37:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjMgk-00020S-1C for bug-gnu-emacs@gnu.org; Thu, 21 Sep 2023 12:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Sep 2023 16:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65680 X-GNU-PR-Package: emacs Original-Received: via spool by 65680-submit@debbugs.gnu.org id=B65680.16953142377651 (code B ref 65680); Thu, 21 Sep 2023 16:38:02 +0000 Original-Received: (at 65680) by debbugs.gnu.org; 21 Sep 2023 16:37:17 +0000 Original-Received: from localhost ([127.0.0.1]:34722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjMfx-0001zG-PE for submit@debbugs.gnu.org; Thu, 21 Sep 2023 12:37:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjMfr-0001yu-R1 for 65680@debbugs.gnu.org; Thu, 21 Sep 2023 12:37:11 -0400 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 1qjMfc-0004Wy-7D; Thu, 21 Sep 2023 12:36:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=E4HMwWYjZVRW6MRRaiZs2fNugyHv9vpAX1A1j86AUi8=; b=D4LL8U/NB/L+ s2FE2o2rkkm5Brtw2A1Slv8cZB5E3cWaY4WNUbn6/bZlvseq0NlRDz/SYiqRvwEMKJ1u4EqYuay9A qlRroeuhVNrCJDFGv7i+LIZn5JivvAUZ4tE6MmU4odjkfdVERXd85ZMl/V33smMdBCsxHxTBQ2mIT UGRIWC2LtKEfb4rK/+dG9zb9HFH7ZCvqdMVYKjTGZl7i9hLsJ02/pxS0yFgj9Ety2HhnZOpw4thbk whyBh8h4R56MNYC1EnqeCUD5T1nXPrQLys7Krm3PJ381D9oOxTdJCrr3TdWV2B8bv2/YMj4WPXeTw kUijbMZkggMqkn4bOuFkGg==; In-Reply-To: (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:271005 Archived-At: > Cc: 65680@debbugs.gnu.org > Date: Thu, 21 Sep 2023 12:16:57 -0400 > From: Stefan Monnier via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > .. I propose fixing this bug by removing these limits on print-length and > > print-level in cl-print-to-string-with-limit. > > Sounds a bit drastic. Strings can be obnoxiously long, so it's > important for cl-print to be able to truncate them. > [ IOW, I'm not happy with commit > 761f8901fffdb155cbcc7f3b5a2329161c2c1826. ] Then how about if we reinstate the limit, but with a larger limit for strings, in a separate variable? Do you have a suggestion for the value of such a limit?