emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: address@hidden: mixed faces of invisibility ellipses]


From: Stefan Monnier
Subject: Re: address@hidden: mixed faces of invisibility ellipses]
Date: Tue, 19 Apr 2005 09:07:21 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>>> To determine the face for ..., we compare the face of the 
>>> last visible char ']' and first invisible char '['.
>>> If they have the same face, use that common face for the ellipsis.
>>> Otherwise, use the default face for the ellipsis.
>> That might work well enough.  
> I just committed a change to do that -- seems to work quite nicely.
> And at least the behaviour is predictable.

Good, thanks.

>> What do previous releases do?
> Don't know.  
> But a brief look at the code suggests they use the face of the last
> invisible character (typically the newline).

Good, so your change reverts to the old behavior, but with an added sanity
check (that the first char also has the same face).  Case closed,


        Stefan




reply via email to

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