help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: how to track down "invalid face attribute" errors?


From: Stefan Monnier
Subject: Re: how to track down "invalid face attribute" errors?
Date: Wed, 28 Sep 2022 07:41:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Emanuel Berg [2022-09-25 15:00:31] wrote:
> Sounds like that error message should be changed to include
> what face causes trouble, if possible?

IIUC this message comes when the face is not a symbol but a plist of
properties, so there's a good chance that printing the face will just
say (:foreground nil) and thus won't help you.  A better option might be
to include the position of the problem, so you can then go and
investigate the text properties and overlays at that position.


        Stefan




reply via email to

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