emacs-devel
[Top][All Lists]
Advanced

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

Re: font-lock-maximum-decoration API


From: Stefan Monnier
Subject: Re: font-lock-maximum-decoration API
Date: Sun, 19 May 2019 23:42:23 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> I've noticed that few major modes implement multiple levels of font-lock
> decoration, which might be because it's more difficult to dynamically create
> different font-lock keywords, but it also could be because there seems to be
> no API for programmatically changing this value per major mode, as the
> variable permits:

Another reason might be that "levels" is not a very useful guide.
E.g. I like my major modes to work hard to give useful font-lock
highlighting, but I don't like it when they highlight everything.


        Stefan




reply via email to

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