[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15298: 24.3.50; Background color lost when highlighting a string
From: |
Eli Zaretskii |
Subject: |
bug#15298: 24.3.50; Background color lost when highlighting a string |
Date: |
Fri, 13 Dec 2013 20:45:53 +0200 |
> From: Josh <josh@foxtail.org>
> Date: Fri, 13 Dec 2013 08:14:38 -0800
> Cc: Sebastien Vauban <sva-news@mygooglest.com>, 15298@debbugs.gnu.org
>
> On Fri, Dec 13, 2013 at 6:11 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> >> From: "Sebastien Vauban" <sva-news@mygooglest.com>
> >> Date: Fri, 13 Dec 2013 13:50:26 +0100
> >> Cc: 15298@debbugs.gnu.org
> >>
> >> 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.