[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bat-mode: Inconsistent fontification. Consider using font-lock-funct
From: |
Stefan Monnier |
Subject: |
Re: bat-mode: Inconsistent fontification. Consider using font-lock-function-name-face |
Date: |
Mon, 09 Sep 2019 17:41:27 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> Right now labels have one custom-face defined for bat-mode (bat-label-face),
> and all -uses- of this label via GOTO or CALL-statements has this label
> highlighted using font-lock-constant-face.
>
> My proposal is that we change both these rules to instead be
> font-lock-function-name-face. This solves both constency-problems:
>
> - internal consistency of label/function fontification
FWIW, most modes distinguish function-definitions from
function-references (aka function-calls), and I think that's a good
thing (I like my definition to be highlighted in bold, but I like my
function calls not to be highlighted at all).
Stefan
Re: bat-mode: Inconsistent fontification. Consider using font-lock-function-name-face,
Stefan Monnier <=
- Re: bat-mode: Inconsistent fontification. Consider using font-lock-function-name-face, Jostein Kjønigsen, 2019/09/10
- Re: bat-mode: Inconsistent fontification. Consider using font-lock-function-name-face, Stefan Monnier, 2019/09/10
- Re: bat-mode: Inconsistent fontification. Consider using font-lock-function-name-face, Eli Zaretskii, 2019/09/10
- Re: bat-mode: Inconsistent fontification. Consider using font-lock-function-name-face, Jostein Kjønigsen, 2019/09/10
- Re: bat-mode: Inconsistent fontification. Consider using font-lock-function-name-face, Eli Zaretskii, 2019/09/10
- Re: bat-mode: Inconsistent fontification. Consider using font-lock-function-name-face, Michael Albinus, 2019/09/10
- Re: bat-mode: Inconsistent fontification. Consider using font-lock-function-name-face, Jostein Kjønigsen, 2019/09/18