From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#65680: cl-print-to-string-with-limit erroneously imposes a maximum print-length of 50 Date: Fri, 29 Sep 2023 16:49:57 +0000 Message-ID: References: <83il838jfy.fsf@gnu.org> <83msxe779i.fsf@gnu.org> <837coi74ia.fsf@gnu.org> <83v8btywz3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23708"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, 65680-done@debbugs.gnu.org, monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 29 18:51:06 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 1qmGhm-0005qa-1t for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 29 Sep 2023 18:51:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qmGhY-0003oJ-5f; Fri, 29 Sep 2023 12:50:53 -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 1qmGhT-0003nt-R6 for bug-gnu-emacs@gnu.org; Fri, 29 Sep 2023 12:50:48 -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 1qmGhT-0005iD-IJ for bug-gnu-emacs@gnu.org; Fri, 29 Sep 2023 12:50:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qmGhi-0007DD-36 for bug-gnu-emacs@gnu.org; Fri, 29 Sep 2023 12:51:02 -0400 Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Sep 2023 16:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 65680 X-GNU-PR-Package: emacs Mail-Followup-To: 65680@debbugs.gnu.org, acm@muc.de, acm@muc.de Original-Received: via spool by 65680-done@debbugs.gnu.org id=D65680.169600623027672 (code D ref 65680); Fri, 29 Sep 2023 16:51:01 +0000 Original-Received: (at 65680-done) by debbugs.gnu.org; 29 Sep 2023 16:50:30 +0000 Original-Received: from localhost ([127.0.0.1]:57060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmGhC-0007CD-6d for submit@debbugs.gnu.org; Fri, 29 Sep 2023 12:50:30 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:20694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmGhA-0007Bo-9U for 65680-done@debbugs.gnu.org; Fri, 29 Sep 2023 12:50:29 -0400 Original-Received: (qmail 2098 invoked by uid 3782); 29 Sep 2023 18:50:01 +0200 Original-Received: from acm.muc.de (p4fe15322.dip0.t-ipconnect.de [79.225.83.34]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 29 Sep 2023 18:50:00 +0200 Original-Received: (qmail 18698 invoked by uid 1000); 29 Sep 2023 16:49:57 -0000 Content-Disposition: inline In-Reply-To: <83v8btywz3.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de 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:271515 Archived-At: Hello, Eli. On Fri, Sep 29, 2023 at 15:39:44 +0300, Eli Zaretskii wrote: > > Date: Wed, 27 Sep 2023 15:12:37 +0000 > > Cc: Eli Zaretskii > > From: Alan Mackenzie > > I've implemented cl-print-string-length in cl-print.el, but not as a > > customisable variable (for consistency with print-{length,level}). I > > manipulate it in cl-print-string-with-limit by binding it to (- limit > > 3), then multiplying it by ¾ at each successive trial printing. > > I haven't yet made any amendment to the CL manual. > Please do. It seems that cl-print.el is entirely undocumented in the CL manual. I've opened bug #66267 for this. I intend to work on it in the coming days. > > Here's the patch I propose to commit: > OK, modulo Stefan's comment. I've committed it, and I'm closing bug #65680 with this post. -- Alan Mackenzie (Nuremberg, Germany).