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: Emanuel Berg
Subject: Re: how to track down "invalid face attribute" errors?
Date: Thu, 29 Sep 2022 18:32:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Stefan Monnier via Users list for the GNU Emacs text editor 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. [...]

Okay, but why are the face used before they even have a name?

Isn't it better to initialize the faces first, and if it is
attempted to define them using invalid attributes, then that
would be an error?

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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