[Top][All Lists]

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

Re: compilation-mode, face, font-lock-face

From: Michael Heerdegen
Subject: Re: compilation-mode, face, font-lock-face
Date: Thu, 02 Feb 2017 12:52:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Stephen Leake <address@hidden> writes:

> As I understand it, 'font-lock-face' is supposed to be set only by
> font-lock; 'face' should be set by any other mechanism.

AFAIK, no - rather the opposite.

'face' is dynamically updated by font-lock, so if you modify this text
property directly in a buffer that has font-lock turned on, you get no
visible effect most of the time.  You have to use font-lock-face in this
case, as an instruction to font-lock to use the respective face when
fontifying the buffer.  See (info "(elisp) Special Properties").


reply via email to

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