[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: |
Fri, 04 Jun 2021 09:10:08 +0300 |
> From: Daniel Colascione <dancol@dancol.org>
> Date: Thu, 3 Jun 2021 20:16:53 -0700
>
> As long as I can remember, cc-mode fontification has felt totally
> random, with actual faces depending on happenstance of previously-parsed
> types, luck of the draw in jit-lock chunking, and so on. Is there any
> *general* way that we can make fontification more robust and consistent?
>
> For years and years now, I've been thinking we just need more
> deterministic parser-and-based mode support, and I still think that, but
> on a realistic level, that doesn't seem to be coming any time soon.
Full agreement. And not only for C and C-like languages, IMO.
See
https://lists.gnu.org/archive/html/emacs-devel/2020-01/msg00059.html
See also Eglot and LSP.
Patches more than welcome, I think having this (whether tree-sitter or
some other similar technology) in core is long overdue.
- cc-mode fontification feels random, Daniel Colascione, 2021/06/03
- Re: cc-mode fontification feels random,
Eli Zaretskii <=
- Re: cc-mode fontification feels random, Theodor Thornhill, 2021/06/04
- Re: cc-mode fontification feels random, João Távora, 2021/06/04
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/04
- Re: cc-mode fontification feels random, Philipp, 2021/06/04
- Re: cc-mode fontification feels random, João Távora, 2021/06/04
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/04
- Re: cc-mode fontification feels random, Dmitry Gutov, 2021/06/04
- Re: cc-mode fontification feels random, João Távora, 2021/06/04
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/04
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/04