Questions tagged [pretty-print]
is the application of styles to source code and markup text content for printing purposes. Styles may be as simple as line wrapping to complex layouts, indentations, coloring, fonts, and syntax highlighting.
4
questions with no upvoted or accepted answers
3
votes
0answers
234 views
Like JavaScript prettier but for Elisp
(N00b question.)
Is there command/package/snippet to format elisp code (like in my init file) in a standard(-ish) way, like what Prettier does for JavaScript?
I'm not only concerned about ...
2
votes
0answers
103 views
To `pp` or not to `pp`?
The pp package is great for pretty-printing Emacs Lisp forms, but can be excruciatingly slow for "large" forms.
Is there a general rule-of-thumb for determining whether we should pp a form or not? E....
1
vote
0answers
32 views
How to pretty print Scheme code in Emacs?
I would like to format Scheme code inside Emacs, I'm developing Scheme interpreter and my formatter don't work quite right, so while I'm working on syntax-rules macro I would like to pretty print the ...
1
vote
0answers
48 views
How to set ps-end-cut-regexp
I often use ps-print-buffer to print out files, but I don't want the first few lines of the buffer to be printed. Here's the beginning of the buffer:
# -*- mode: org; -*-
# Last updated: <2017/12/...