[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27103: Should show-trailing-whitespace highlight specified spaces?
From: |
Clément Pit--Claudel |
Subject: |
bug#27103: Should show-trailing-whitespace highlight specified spaces? |
Date: |
Sun, 28 May 2017 13:53:09 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 |
On 2017-05-28 13:44, Eli Zaretskii wrote:
>> And the contents of the buffer would look like this:
>>
>> → (defun …
>> …)
>>
>> → (defun …
>> …)
>
> But this again asks that the display engine could produce 2 different
> display elements out of the same buffer position, which means it would
> need to scan that buffer position twice. Right?
Possibly — I don't think I understand this part well. What happens for
before-string properties? Could the same thing happen here?
>> I don't think such a result is currently achievable without overlays (which
>> are not nearly fast enough for my purposes).
>
> Are overlays really so slow that you are prepared to jump through such
> hoops?
Definitely :) I need these markers for a literate-programming buffer where
roughly every other line has a marker. On a 10k lines file, overlays are
entirely impractical.
(I guess I could lazily add an remove the overlays, but I'm not too excited
about reimplementing jit-lock's logic :/)
Clément.
signature.asc
Description: OpenPGP digital signature
- bug#27103: Should show-trailing-whitespace highlight specified spaces?, Clément Pit--Claudel, 2017/05/27
- bug#27103: Should show-trailing-whitespace highlight specified spaces?, Eli Zaretskii, 2017/05/27
- bug#27103: Should show-trailing-whitespace highlight specified spaces?, Clément Pit--Claudel, 2017/05/27
- bug#27103: Should show-trailing-whitespace highlight specified spaces?, Eli Zaretskii, 2017/05/27
- bug#27103: Should show-trailing-whitespace highlight specified spaces?, Clément Pit--Claudel, 2017/05/27
- bug#27103: Should show-trailing-whitespace highlight specified spaces?, Eli Zaretskii, 2017/05/28
- bug#27103: Should show-trailing-whitespace highlight specified spaces?, Clément Pit--Claudel, 2017/05/28
- bug#27103: Should show-trailing-whitespace highlight specified spaces?, Eli Zaretskii, 2017/05/28
- bug#27103: Should show-trailing-whitespace highlight specified spaces?,
Clément Pit--Claudel <=
- bug#27103: Should show-trailing-whitespace highlight specified spaces?, Eli Zaretskii, 2017/05/28
- bug#27103: Should show-trailing-whitespace highlight specified spaces?, Clément Pit--Claudel, 2017/05/28
- bug#27103: Should show-trailing-whitespace highlight specified spaces?, Eli Zaretskii, 2017/05/28
- bug#27103: Should show-trailing-whitespace highlight specified spaces?, Clément Pit--Claudel, 2017/05/28
- bug#27103: Should show-trailing-whitespace highlight specified spaces?, Eli Zaretskii, 2017/05/28
- bug#27103: Should show-trailing-whitespace highlight specified spaces?, Clément Pit--Claudel, 2017/05/28
- bug#27103: Should show-trailing-whitespace highlight specified spaces?, Eli Zaretskii, 2017/05/29