Andrea=
s R=C3=B6hler <
andreas.roeh=
ler@online.de> schrieb am Fr., 28. Aug. 2015 um 08:47=C2=A0Uhr:
<=
/div>
Hi all,
is the concept of use-hard-newlines still considered useful?
Just looking how to simplify fill-paragraph.
AFAICS it introduces complexity which doesn't contribute, not reallly.<=
br>
I think the concept of hard newlines is us=
eful, just like the concept of non-breaking spaces. Especially in code comm=
ents I often want a line break that is unaffected by fill-paragraph without=
requiring an empty line. However the current implementation is not optimal=
because hard newlines rely on a text property instead of a distinct charac=
ter, so IIUC hard newlines will be lost when saving (except for enriched mo=
de, which seems mostly unused these days). Instead I'd suggest that Ema=
cs observe the LINE SEPARATOR (U+2028) and PARAGRAPH SEPARATOR (U+2029) cha=
racters: currently they are displayed as horizontal whitespace instead of l=
ine breaks, and fill-paragraph treats both like no-break spaces. Instead, f=
ill-paragraph should treat U+2028 like a soft newline and U+2029 like a har=
d newline.