GNU bug report logs - #14754
24.3.50; `C-h v' needs to fill wide `pp' lines (493 chars wide?!)

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 30 Jun 2013 07:11:02 UTC

Severity: wishlist

Merged with 11934, 14764

Found in versions 24.1, 24.3.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 14754 <at> debbugs.gnu.org
Subject: bug#14754: 24.3.50; `C-h v' needs to fill wide `pp' lines (493 chars wide?!)
Date: Sun, 9 Feb 2014 19:56:49 -0800 (PST)
> Is there any reason why it doesn't just pretty-print the values
> always?

It's not so simple.  See my followup message, after the original
report.  The bug is really about filling long lines.
Pretty-printing does not help with that.

E.g., do this:

Load file bytecomp.el, then C-h v byte-compile-cl-functions.

The value is a flat list of 456 symbols.  Pretty-printing
inserts no newline chars when printing it.

And as my followup message points out, filling something
that has been pretty-printed destroys pretty-printing.

Perhaps what might be useful (dunno) is a new pretty-printer
variable, to go along with `(eval-expression-)print-length'
and `print-circle', and which would insert a newline between
atoms when the line length is sufficiently long.  Dunno.

I don't have a solution for this enhancement request.  Maybe
someone else does.




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

Previous Next


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