[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Nested display strings
From: |
Stefan Monnier |
Subject: |
Re: Nested display strings |
Date: |
Mon, 25 Apr 2011 09:47:23 -0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> What about the case when the "inner" overlay has higher priority than
> the "outer" one?
Same problem: for two overlays of equal `priority', the shorter one has
higher priority, so your original example is already one of those
cases, AFAIC.
The main issue is that a single overlays with a `display' property
normally means "display that thing *once*". So while we can argue of
the case where the two overlays share the start or end position, in the
case where the inner overlays is really "in the middle", there's no
clearly correct way to render it.
So I think the best behavior is to detect the situation and signal
some kind of warning/error (and behave in whichever way is most
convenient for the C code).
Stefan
- Nested display strings, Eli Zaretskii, 2011/04/23
- Re: Nested display strings, Stefan Monnier, 2011/04/24
- Re: Nested display strings, Chong Yidong, 2011/04/25
- Re: Nested display strings, Eli Zaretskii, 2011/04/25
- Re: Nested display strings, Chong Yidong, 2011/04/26
- Re: Nested display strings, Eli Zaretskii, 2011/04/26
- Re: Nested display strings, Stefan Monnier, 2011/04/26
- Re: Nested display strings, Eli Zaretskii, 2011/04/26
- Re: Nested display strings, Ted Zlatanov, 2011/04/26