Subject: Re: bug#15298: 24.3.50; Background color lost when highlighting a string

From: Eli Zaretskii <[email-masked]>
Date: Fri, 13 Dec 2013 20:45:53 +0200

> From: Josh <[email-masked]>
> Date: Fri, 13 Dec 2013 08:14:38 -0800
> Cc: Sebastien Vauban <[email-masked]>, [email-masked]
> 
> On Fri, Dec 13, 2013 at 6:11 AM, Eli Zaretskii <[email-masked]> wrote:
> >> From: "Sebastien Vauban" <[email-masked]>
> >> Date: Fri, 13 Dec 2013 13:50:26 +0100
> >> Cc: [email-masked]
> >>
> >> Side question: when we observe such a word which is not highlighted as
> >> we expect it, is there a way to see the list of all applied faces in the
> >> order they are applied?  That'd help debugging such a problem...
> >
> > The problem in this case (and other similar ones) is that the face you
> > expected was removed, and then another one applied to the same text.
> > Removed faces are not recorded anywhere, as you might expect.
> 
> Would (faces-at-position nil :include-all) reveal the absence of the
> face Sebastien was expecting to have been in effect?

I have no idea, as there's no such function in my Emacs.  But
describe-text-properties will do the job.