[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tick Reduction
From: |
Eli Zaretskii |
Subject: |
Re: Tick Reduction |
Date: |
Tue, 23 Nov 2021 16:43:00 +0200 |
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: emacs-devel@gnu.org, stefankangas@gmail.com, dgutov@yandex.ru
> Date: Tue, 23 Nov 2021 15:32:18 +0100
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> To add a `max-width' to a series of characters, it first has to see
> >> whether there's any other bits with a `display' property.
> >
> > It does? why is that?
>
> If you're (put-text-property foo bar 'display '(max-width ...)) and
> there's bits in the region with an image or a height display property,
> they'll go missing.
Whether or not they go missing depends on how you apply the property.
> >> And do this efficiently, so that we don't get a bunch of short lists
> >> when there's different overlapping regions with `display'.
> >
> > You cannot have overlapping regions with different values of the
> > 'display' property (or of any other text property), so I'm not sure
> > what are you alluding to here.
>
> Exactly -- if you want to have a region with max-width from 1 to 10, and
> height from 5 to 15, you have to create three different intervals.
That's not special to 'display' property.
- Re: Tick Reduction, (continued)
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/22
- Re: Tick Reduction, Eli Zaretskii, 2021/11/22
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/22
- Re: Tick Reduction, Eli Zaretskii, 2021/11/22
- Re: Tick Reduction, Stefan Monnier, 2021/11/22
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/23
- Re: Tick Reduction, Eli Zaretskii, 2021/11/23
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/23
- Re: Tick Reduction, Eli Zaretskii, 2021/11/23
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/23
- Re: Tick Reduction,
Eli Zaretskii <=
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/24
- Re: Tick Reduction, Eli Zaretskii, 2021/11/24
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/24
- Re: Tick Reduction, Eli Zaretskii, 2021/11/24
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/24
- Re: Tick Reduction, Eli Zaretskii, 2021/11/24
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/24
- Re: Tick Reduction, Eli Zaretskii, 2021/11/24
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/24
- Re: Tick Reduction, Eli Zaretskii, 2021/11/24