emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nested display strings


From: Michael Welsh Duggan
Subject: Re: Nested display strings
Date: Sun, 24 Apr 2011 02:22:08 -0400
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: Michael Welsh Duggan <address@hidden>
>> Cc: address@hidden
>> Date: Sun, 24 Apr 2011 01:19:38 -0400
>> 
>> I'm of the opinion that it should either display: STRING1 or
>> STRING1STRING2STRING1, and which doesn't really matter.
>
> That is, you think that doing that without setting priorities invokes
> "undefined behavior".
>
>> If I had to choose, however, I would prefer that if two overlays
>> with the same priority appear over the same character, whichever
>> overlay that has the earlier start should take precedence (giving us
>> STRING1 in this case).
>
> I tend to agree.
>
>> Please note, that if myov1 had a specifically higher priority than
>> myov2, I think STRING1STRING2STRING1 is a perfectly valid result.
>
> You mean, if myov2 has higher priority, right?  Because if myov1 has
> higher priority, we display just STRING1, as expected.

Yes, indeed.  Sorry about that.

-- 
Michael Welsh Duggan
(address@hidden)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]