GNU bug report logs - #63861
[PATCH] pp.el: New "pretty printing" code

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Fri, 2 Jun 2023 22:52:02 UTC

Severity: normal

Tags: patch

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 63861 <at> debbugs.gnu.org, Visuwesh <visuweshm <at> gmail.com>
Subject: bug#63861: [PATCH] pp.el: New "pretty printing" code
Date: Fri, 09 Jun 2023 11:26:16 -0400
>> I haven't seen "really bizarre results" with `pp-region` yet, but
>> I wouldn't be surprised if that can happen: I've been playing with
>> various pretty-printing alternatives over the years and they all seem to
>> suffer from weird behaviors occasionally, except for those that insert
>> too many line breaks.
> If algorithms that insert "too many" line breaks can be reasonably fast,
> can they be executed first followed by merging the excessive lines back?

Speed is definitely an issue in general, but the "behavior" I was
alluding to above was not the performance but the end result (and
I think the same was true for Visuwesh's comment).


        Stefan





This bug report was last modified 2 years and 28 days ago.

Previous Next


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