Subject: bug#34504: 'pp' causally mentioned

From: Michael Heerdegen <[email-masked]>
Date: Sun, 17 Feb 2019 18:54:12 +0100

積丹尼 Dan Jacobson <[email-masked]> writes:

> OK it can only do objects, not a collection of objects, which is what
> I suppose a file is. So how to pretty print one's .emacs file with it
> might be mentioned as an exercise for the reader on that page.

There's `pp-buffer'.  It's only a function, however.

Note that AFAIK, pp is nothing more as a very thin wrapper around the
standard Elisp printer that adds some additional line breaks, and even
that in a not very intelligent way.  A good pretty printer you could use
to prettify your .emacs still has to be written.

Michael.