GNU bug report logs -
#35797
26.2; Adaptive Wrap does not respect Whitespace Mode faces
Previous Next
Full log
Message #29 received at 35797 <at> debbugs.gnu.org (full text, mbox):
> From: Andrew T <summerfallsaway <at> gmail.com>
> Cc: stephen.berman <at> gmx.net, 35797 <at> debbugs.gnu.org
> Date: Thu, 23 May 2019 19:26:45 -0700
>
> With my current Whitespace Mode configurations, I don't see the dots
> for real indentation, so I don't think it should show the dots for
> simulated indentation while soft-wrapping either.
So, AFAIU, your problem is that you don't like whitespace-mode
displaying the whitespace in the wrap-prefix as "normal" space
characters, i.e. as "dots", and not as whitespace in indentation. And
the exact face in which these "dots" are displayed is not the issue.
Is my understanding correct?
If my understanding is correct, then whitespace.el cannot do that: it
only recognizes indentation by looking at characters in the buffer
that follow a newline. By contrast, wrap-prefix doesn't come from the
buffer, and doesn't follow a newline. So whitespace-mode simply
doesn't understand that the wrap-prefix is indentation of sorts.
Perhaps this problem could be solved in adaptive-wrap-prefix mode, by
creating a wrap-prefix not just as a string of space characters, but
something else, like using a special 'display' spec or something. In
any case, the feature you are looking for wasn't implemented yet.
This bug report was last modified 6 years and 24 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.