I was wondering why kill-emacs emacs takes over a minute and after some
profiling I found out that the call to org-persist-write-all takes long when
pp-use-max-width is set to t and pp-max-width is also set (in my case to t, the
window-width), which enables line folding in pp. The pp-call happe
Michael Eliachevitch writes:
> I was wondering why kill-emacs emacs takes over a minute and after some
> profiling I found out that the call to org-persist-write-all takes long when
> pp-use-max-width is set to t and pp-max-width is also set (in my case to t,
> the window-width), which enables
pp-max-width has been introduced in Emacs 29.
The fact that pp becomes too slow is likely something to be fixed before
the next Emacs release.
Good catch and I agree. I compile emacs from the master branch and probably
discovered in the emacs-news which I check between upgrades and I probabl
Michael Eliachevitch writes:
> I submitted a bug report where I attached the index file and a minimal
> example file which benchmarks running pp on it, with which I could reproduce
> my issue from emacs -Q:
>
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58687
>
> Let's see what the emacs dev