Subject: bug#71469: font-lock does not apply standard faces and their descendants

From: Robert Pluim <[email-masked]>
Date: Tue, 08 Oct 2024 14:57:40 +0200

>>>>> On Sat, 05 Oct 2024 09:06:24 -0400, Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <[email-masked]> said:

    >> We have occasionally declared things obsolete with the understanding
    >> that they'll be deleted much later than the normal "10 years, give or
    >> take".  See the comment in `interactive-p', for example.
    >> 
    >> The patch below gives me 64 warnings in our tree.  I'm not sure if it's
    >> worth installing or not.

    Stefan> FWIW, it's a +1 from me (assuming we then silence the resulting
    Stefan> warnings, of course).

emacs-lisp/lisp-mode.el:311:18: Warning: ‘font-lock-warning-face’ is
an obsolete variable (as of 31.1); use ’font-lock-warning-face
instead.

sounds like a great way to cause confusion. How about:

"use value 'font-lock-comment-face directly instead"

or similar?

Robert
--