[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27103: Should show-trailing-whitespace highlight specified spaces?
From: |
Eli Zaretskii |
Subject: |
bug#27103: Should show-trailing-whitespace highlight specified spaces? |
Date: |
Mon, 29 May 2017 05:30:38 +0300 |
> Cc: 27103@debbugs.gnu.org
> From: Clément Pit--Claudel <clement.pitclaudel@live.com>
> Date: Sun, 28 May 2017 16:18:02 -0400
>
> >> (insert (propertize "AA" 'line-prefix (propertize "_" 'display
> >> '(left-fringe right-arrow))))
> >
> > That's not what I meant, but if you are happy, it's fine with me.
>
> I didn't realize that this was possible. It fits my use case very nicely :)
> In the (defun example, I can just put the line-prefix property on the defun,
> and everything works perfectly.
>
> I wonder if we should mention this in the manual. Maybe in the "display
> specs" section, where (fringe …) is described, we could add this:
>
> `left-fringe' and `right-fringe' are replacing specs: the span of text that
> they apply to is made invisible. To add a fringe to a line without hiding
> any of its contents, put the fringe property on the before-string of an
> overlay or on the line-prefix of your text.
That's the kind of "howto" stuff that doesn't really belong to a
manual.
> >> Anything bad with this?
> >
> > It's just a display property. Nothing wrong with that, of course.
>
> Thanks!
OK, closing.
- bug#27103: Should show-trailing-whitespace highlight specified spaces?, (continued)
- 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, 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 <=
- 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