[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#34504: 'pp' causally mentioned
From: |
Michael Heerdegen |
Subject: |
bug#34504: 'pp' causally mentioned |
Date: |
Sun, 17 Feb 2019 18:54:12 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
積丹尼 Dan Jacobson <jidanni@jidanni.org> 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.