[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#39115: 26.3; eww consecutive links look like one link with mouse-ove
From: |
Stephen Berman |
Subject: |
bug#39115: 26.3; eww consecutive links look like one link with mouse-over |
Date: |
Thu, 23 Jan 2020 15:47:28 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
On Thu, 23 Jan 2020 13:22:21 +0100 Lars Ingebrigtsen <larsi@gnus.org> wrote:
> Stephen Berman <stephen.berman@gmx.net> writes:
>
>> Why do overlays and text properties differ on this?
>
> Overlays are objects, so even if they have identical properties, it's
> easy to see where an overlay starts and stops. For text properties, we
> just use ad-hoc strategies like seeing whether the property we're
> interested changes or not, and determine the start/stop of the region
> based on that.
>
> It's perhaps unfortunate that text property regions don't have more
> "identity", but I guess it'd be difficult to change that now.
On Thu, 23 Jan 2020 16:39:46 +0200 Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Stephen Berman <stephen.berman@gmx.net>
>> Cc: larsi@gnus.org, ynyaaa@gmail.com, 39115@debbugs.gnu.org
>> Date: Wed, 22 Jan 2020 21:44:11 +0100
>>
>> Why do overlays and text properties differ on this?
>
> That's a side effect of different implementations. Text properties
> are kept as intervals, and so two adjacent intervals with the same
> value of the property are indistinguishable from a single interval
> covering both stretches of text (and AFAIR we actually convert them
> into a single interval when we see fit). By contrast, overlays are
> kept in a list, and you can have any number of them at the same
> position with the same property (which is why you can have, e.g., two
> or more after-strings at EOB, and they will both be displayed).
Thanks for the explanations.
Steve Berman
- bug#39115: 26.3; eww consecutive links look like one link with mouse-over, (continued)
bug#39115: 26.3; eww consecutive links look like one link with mouse-over, Eli Zaretskii, 2020/01/22
bug#39115: 26.3; eww consecutive links look like one link with mouse-over, Eli Zaretskii, 2020/01/23
bug#39115: 26.3; eww consecutive links look like one link with mouse-over, Lars Ingebrigtsen, 2020/01/23
bug#39115: 26.3; eww consecutive links look like one link with mouse-over, ynyaaa, 2020/01/22