Buffers past ekp-auto-justify-lazy-threshold (20k chars) no longer re-justify wholesale on a width change: the visible span updates synchronously and the rest follows in polite background chunks (run-with-timer ticks that yield to pending input). Measured on a 300-paragraph, 132k-char article: perceived latency 332 ms → 15 ms, background completion ~0.5 s. Fixed in the process: adjacent chunk markers shared a boundary, and the earlier chunk's delete+insert pushed the next chunk's start marker back over the freshly inserted text — chunks grew linearly (2.2k, 4.9k, 7.4k… chars) and background work went quadratic (14 s). Start markers now use insertion-type t. Regression test asserts the chunked result equals the one-shot result property-for-property. Also: org/markdown skip-face presets (ekp-region-org-skip-faces / ekp-region-markdown-skip-faces), MELPA header hygiene (Version + URL on the main file, stale Package-Requires dropped from ekp-hyphen.el), readme notes. 67 ERT green; fuzz 300/300. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ekp-bench.el | ||
| ekp-demo.el | ||
| ekp-fuzz.el | ||
| ekp-region-tests.el | ||
| ekp-tests.el | ||
| run-tests.sh | ||
| text-de_DE.txt | ||
| text-en_US.txt | ||
| text-fr.txt | ||
| text-zh2-en_US.txt | ||
| text-zh-en_US.txt | ||
| text-zh.txt | ||