[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 13:25:22 +0300 |
> From: Theodor Thornhill <theo@thornhill.no>
> Cc: emacs-devel@gnu.org, ubolonton@gmail.com, joaotavora@gmail.com
> Date: Fri, 04 Jun 2021 09:10:33 +0200
>
> >> 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?
>
> Yes, tree-sitter. Ubolonton has made a tremendous package implementing
> this for emacs. It is used in csharp-mode already, with success. At
> least for the fontification. There are still some kinks to work out in
> the indentation part of the mode.
Not from my POV, see my other message.
I welcome patches submitted to the project with the goal of
integrating that into Emacs core. Past discussions indicated to me
that authors of the existing packages are not interested in that
enough to modify the packages according to our suggestions. Sorry to
be blunt.
- Re: cc-mode fontification feels random, (continued)
- Re: cc-mode fontification feels random, Ergus, 2021/06/05
- Remote GUI Emacs really works (was: cc-mode fontification feels random), Óscar Fuentes, 2021/06/05
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/05
- Re: cc-mode fontification feels random, Ergus, 2021/06/05
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/05
- Re: cc-mode fontification feels random, Yuri Khan, 2021/06/04
- Re: cc-mode fontification feels random,
Eli Zaretskii <=
Re: cc-mode fontification feels random, Daniel Colascione, 2021/06/04
- Re: cc-mode fontification feels random, Eli Zaretskii, 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, Stefan Monnier, 2021/06/04
- Re: cc-mode fontification feels random, Daniel Colascione, 2021/06/04
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/04
- Re: cc-mode fontification feels random, Daniel Colascione, 2021/06/04
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/04
- Re: cc-mode fontification feels random, Daniel Colascione, 2021/06/04