[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Regarding adding additional default font-lock faces
From: |
Stefan Monnier |
Subject: |
Re: Regarding adding additional default font-lock faces |
Date: |
Wed, 01 Aug 2018 17:53:51 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> * function/method-call (that is invocation, not declaration)
The standard face to use for these is the nil face.
> * attributes/annotations for functions, classes,
I don't know what this refers to. Which languages have those?
> not to mention function-parameters
These also use the nil "standard face".
> What does the emacs-community feel about expanding on the set of default
> font-lock faces to include values for these? And how do we decided which
> faces we should add?
I'm not a big "angry fruit salad" fan, so I don't have a strong opinion
on these: I think it's OK if most of the code uses the default face, and
if people introduce new faces for "variable reference", "function call",
"number", "method call", "field access", "indirect function call",
"inlinable function call", ... I'll just tweak those faces to look like
the default face.
Stefan