[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").
Michael.
- compilation-mode, face, font-lock-face, Stephen Leake, 2017/02/02
- Re: compilation-mode, face, font-lock-face,
Michael Heerdegen <=
- Re: compilation-mode, face, font-lock-face, Stephen Leake, 2017/02/02
- RE: compilation-mode, face, font-lock-face, Drew Adams, 2017/02/02
- Re: compilation-mode, face, font-lock-face, Davis Herring, 2017/02/02
- Re: compilation-mode, face, font-lock-face, Anders Lindgren, 2017/02/02