GNU bug report logs -
#5312
Why is ‘show-trailing-whitespace’ considered unsafe?
Previous Next
Reported by: ludo <at> gnu.org (Ludovic Courtès)
Date: Tue, 5 Jan 2010 14:09:07 UTC
Severity: minor
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Stefan> Of course, maybe you can come up with file formats where trailing
Stefan> whitespaces are seriously problematic as well. I just can't think
Stefan> of any off the top of my head.
> One seen recently -- on the groff list, IIRC -- involved continuation
> lines. <\><NL> works, <\><SP><NL> does not.
That also affects C, C++, Elisp, and many other formats. The fact that we
haven't mentioned them indicates that it's not considered "seriously
problematic" enough.
Actually, font-lock can also be used in those modes to highlight such
suspicious forms: it's more useful than show-trailing-whitespace since
it can more specifically target those trailing whitespaces that are
semantically significant.
Stefan
This bug report was last modified 15 years and 132 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.