[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cc-mode fontification feels random
From: |
martin rudalics |
Subject: |
Re: cc-mode fontification feels random |
Date: |
Mon, 14 Jun 2021 10:29:27 +0200 |
> I benchmarked the effects of this
> in large files according to specific instructions by Eli who was also
> concerned about the performance hit and found no evidence of any kind of
> punishment.
Why on earth should file size have any impact on the performance of this
option? It introduces a constant overhead that affects every single
character a user types. You simply delay unfontifying the remaining
part of a buffer until editing leaves the current line.
>> And it should be documented somewhere.
>
> See C-h v jit-lock-antiblink-grace.
It should be documented in at least one manual.
> If it's a performance-only optimization with non-zero functional
> detriment it should be off by default.
It is undocumented practice to steadily undermine the role of
`open-paren-in-column-0-is-defun-start' in all modes with
`beginning-of-defun' the only place left where it currently has any
impact. For some reason, people are afraid though of setting it off by
default (or declaring it obsolete).
martin
- `open-paren-in-column-0-is-defun-start` (was: cc-mode fontification feels random), (continued)
- Re: cc-mode fontification feels random, João Távora, 2021/06/12
- Re: cc-mode fontification feels random, martin rudalics, 2021/06/13
- Re: cc-mode fontification feels random, João Távora, 2021/06/13
- Re: cc-mode fontification feels random, martin rudalics, 2021/06/13
- Re: cc-mode fontification feels random, João Távora, 2021/06/13
- Re: cc-mode fontification feels random, martin rudalics, 2021/06/13
- Re: cc-mode fontification feels random, João Távora, 2021/06/13
- Re: cc-mode fontification feels random,
martin rudalics <=
- Re: cc-mode fontification feels random, João Távora, 2021/06/14
- Re: cc-mode fontification feels random, martin rudalics, 2021/06/14
- Re: cc-mode fontification feels random, João Távora, 2021/06/14
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/14
- Re: cc-mode fontification feels random, Stefan Monnier, 2021/06/14
- Re: cc-mode fontification feels random, Ergus, 2021/06/15
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/07
- Re: cc-mode fontification feels random, Stefan Monnier, 2021/06/08
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/08
Re: cc-mode fontification feels random, Dmitry Gutov, 2021/06/05