[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font-lock-maximum-decoration and how to make a default font-lock low
From: |
Stefan Monnier |
Subject: |
Re: font-lock-maximum-decoration and how to make a default font-lock lower than maximal? |
Date: |
Tue, 21 Aug 2012 13:24:08 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
> For example, assume you are developing X-mode and some users would like
> to have functions + numbers + other stuff highlighted, but you don't
> want to activate those by default. So you can add font-lock keyword
> levels (2, 3, 4 etc) to accommodate this preference, but want to set the
> default to 2.
I hate font-lock-maximum-decoration's notion of "levels" because there
is no such neat line. Some users will care about one particular detail,
others about an other. So please don't use font-lock's levels for that
fine-grained control. Instead just introduce new config vars specific
to your major mode.
Stefan
- Re: font-lock-maximum-decoration should be 2 by default?, (continued)
- Re: font-lock-maximum-decoration should be 2 by default?, Vitalie Spinu, 2012/08/18
- Re: font-lock-maximum-decoration should be 2 by default?, Stefan Monnier, 2012/08/21
- Re: font-lock-maximum-decoration should be 2 by default?, Vitalie Spinu, 2012/08/22
- RE: font-lock-maximum-decoration should be 2 by default?, Drew Adams, 2012/08/26
- Re: font-lock-maximum-decoration should be 2 by default?, Stephen J. Turnbull, 2012/08/18
- Re: font-lock-maximum-decoration should be 2 by default?, Vitalie Spinu, 2012/08/18
- Re: font-lock-maximum-decoration should be 2 by default?, Stephen J. Turnbull, 2012/08/19
- Re: font-lock-maximum-decoration should be 2 by default?, Vitalie Spinu, 2012/08/19
- Re: font-lock-maximum-decoration should be 2 by default?, Stephen J. Turnbull, 2012/08/19
- Re: font-lock-maximum-decoration and how to make a default font-lock lower than maximal?, Eli Zaretskii, 2012/08/17
- Re: font-lock-maximum-decoration and how to make a default font-lock lower than maximal?,
Stefan Monnier <=