[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cc-mode fontification feels random
From: |
Eli Zaretskii |
Subject: |
Re: cc-mode fontification feels random |
Date: |
Sun, 06 Jun 2021 20:06:23 +0300 |
> Date: Sun, 6 Jun 2021 14:19:00 +0000
> From: Alan Mackenzie <acm@muc.de>
> Cc: dancol@dancol.org, emacs-devel@gnu.org
>
> By "background fontification" I meant stealth fontification (and should
> have said so). This is, sadly, disabled by default. If it were to be
> enabled again, I was envisaging some sort of signal from jit-lock stealth
> fontification when the stealth had determined a buffer was completely
> fontified.
When a buffer has been completely fontified by jit-lock stealth
fontification, that buffer no longer appears in
jit-lock-stealth-buffers. Is that good enough?
But yes, since stealth fontifications are disabled by default, this
isn't the way to make CC mode fontifications more accurate.
> Yes. By CC Mode's fontification detecting a symbol, foo, must be a type,
> and entering it into its internal table. I am thinking that immediately
> following, CC Mode could scan the entire buffer and refontify occurrences
> of foo which hadn't yet got font-lock-type-face.
You could still do that, but it could be costly, and slow down
redisplay, no?
- Re: cc-mode fontification feels random, (continued)
- Re: cc-mode fontification feels random, Ergus, 2021/06/04
- Re: cc-mode fontification feels random, Alan Mackenzie, 2021/06/04
- Re: cc-mode fontification feels random, Daniel Colascione, 2021/06/04
- Re: cc-mode fontification feels random, Alan Mackenzie, 2021/06/06
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/06
- Re: cc-mode fontification feels random, Alan Mackenzie, 2021/06/06
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/06
- Re: cc-mode fontification feels random, Alan Mackenzie, 2021/06/06
- Re: cc-mode fontification feels random,
Eli Zaretskii <=
- Re: cc-mode fontification feels random, Stefan Monnier, 2021/06/06
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/06
- Re: cc-mode fontification feels random, Stefan Monnier, 2021/06/06
- Re: cc-mode fontification feels random, Daniel Colascione, 2021/06/06
- Re: cc-mode fontification feels random, Stefan Monnier, 2021/06/06
- Re: cc-mode fontification feels random, Daniel Colascione, 2021/06/06
- Re: cc-mode fontification feels random, Stefan Monnier, 2021/06/06
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/06
- Re: cc-mode fontification feels random, Stefan Monnier, 2021/06/06
- Re: cc-mode fontification feels random, martin rudalics, 2021/06/07