GNU bug report logs - #65680
cl-print-to-string-with-limit erroneously imposes a maximum print-length of 50

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Fri, 1 Sep 2023 14:18:02 UTC

Severity: normal

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: acm <at> muc.de, 65680 <at> debbugs.gnu.org
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
> Cc: 65680 <at> 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" <bug-gnu-emacs <at> gnu.org>
> 
> > ..  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?




This bug report was last modified 1 year and 293 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.