[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#63861: [PATCH] pp.el: New "pretty printing" code
From: |
Juri Linkov |
Subject: |
bug#63861: [PATCH] pp.el: New "pretty printing" code |
Date: |
Mon, 05 Jun 2023 19:12:49 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
> FWIW, the change affects other functionality that uses `pp`, such as
> `C-h v`. While working on (previous versions of) this code, I've had
> performance problems show up during the generation of `emoji-labels.el`.
When tried on emoji-labels.el, at the end it failed with
(scan-error "Containing expression ends prematurely" 255866 255867)
>> Also, I think this warrants a NEWS entry and should be documented in
>> the ELisp manual.
>
> Definitely for NEWS, yes. For the ELisp manual, currently we don't
> document `pp-buffer`, the closest I see is `indent-pp-sexp` (in
> `programs.texi`).
For indent-pp-sexp with a prefix arg used on defuns, the new version
is much better - it makes code more readable. It has only one snag:
it inserts an empty line between the defun line and the docstring.
- bug#63861: [PATCH] pp.el: New "pretty printing" code, (continued)
- bug#63861: [PATCH] pp.el: New "pretty printing" code, Stefan Monnier, 2023/06/03
- bug#63861: [PATCH] pp.el: New "pretty printing" code, Eli Zaretskii, 2023/06/03
- bug#63861: [PATCH] pp.el: New "pretty printing" code, Visuwesh, 2023/06/03
- bug#63861: [PATCH] pp.el: New "pretty printing" code, Stefan Monnier, 2023/06/07
- bug#63861: [PATCH] pp.el: New "pretty printing" code, Visuwesh, 2023/06/08
- bug#63861: [PATCH] pp.el: New "pretty printing" code, Stefan Monnier, 2023/06/09
- bug#63861: [PATCH] pp.el: New "pretty printing" code, Ihor Radchenko, 2023/06/09
- bug#63861: [PATCH] pp.el: New "pretty printing" code, Stefan Monnier, 2023/06/09
- bug#63861: [PATCH] pp.el: New "pretty printing" code, Visuwesh, 2023/06/09
- bug#63861: [PATCH] pp.el: New "pretty printing" code, Visuwesh, 2023/06/09
- bug#63861: [PATCH] pp.el: New "pretty printing" code,
Juri Linkov <=
- bug#63861: [PATCH] pp.el: New "pretty printing" code, Stefan Monnier, 2023/06/07
- bug#63861: [PATCH] pp.el: New "pretty printing" code, Juri Linkov, 2023/06/07
- bug#63861: [PATCH] pp.el: New "pretty printing" code, Stefan Monnier, 2023/06/07
bug#63861: [PATCH] pp.el: New "pretty printing" code, Thierry Volpiatto, 2023/06/07
bug#63861: [PATCH] pp.el: New "pretty printing" code, Stefan Monnier, 2023/06/08