- text property ekp-no-break turns any span into a rigid typesetting atom: no line break inside, no hyphenation, literal spacing (space runs inside the span become preserved space boxes instead of stretchable glue) — inline code, product names, numbers with units - character-driven joins: NBSP, NARROW NBSP, FIGURE SPACE keep their neighbors together (they are boxes whose adjacent gaps are unbreakable and glue-free — the character supplies its spacing); WORD JOINER / ZWNBSP attach invisibly like combining marks - new commands: ekp-no-break-region / ekp-allow-break-region - overlong atoms fall back to single emergency lines (atomic-run handling from the break-permission layer); zero C changes needed Tests: 52 ERT green incl. atomicity across widths, hyphenation suppression, NBSP/WJ adjacency sweeps; fuzz 300/300 with C parity. 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 | ||