Page MenuHomePhabricator

Whitespace following fuzzy marks should be removed during fuzzy mark removal
Closed, DeclinedPublic

Description

Patch against r48433 removing whitespace following fuzzy marks when fuzzy marks are stripped.

When fuzzy marks are stripped for export, whitespace following them should be, too.
Currently, messages cannot have leading whitespace, except, when sneaking through
behind a fuzzy mark.

There is a patch attached, which I was not able to test.
It should solve the problem in many cases, at least. I cannot tell
for sure, I got them all, though.

I found astonishingly many places that appeared to me needing to be changed.
Maybe, it's worth collecting them into a central subroutine or method.


Version: unspecified
Severity: enhancement

Attached:

Details

Reference
bz18000

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:34 PM
bzimport set Reference to bz18000.

Patch against r48446 removing specific whitespace following fuzzy marks when fuzzy marks are stripped.

Some whitespace is allowed. Stripping should only remove leading line endings, vertical tabs, and NULs. TABs and spaces are kept.

Attached:

Closed WONTFIX. This isn't going to work ever. This would also remove leading space that were put there on purpose for fuzzied messages. FUZZY not meant to be added on a line by itself, but as the first text in a message, with the outdated part following directly.