[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cc-mode fontification feels random
From: |
João Távora |
Subject: |
Re: cc-mode fontification feels random |
Date: |
Fri, 04 Jun 2021 11:34:31 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> My problem is that I know of now package that integrates tree-sitter
> into Emacs with architecture that makes sense to me. The ones I saw
> all send the entire buffer to tree-sitter using buffer-string (and
> failing to encode it), which doesn't scale.
In this matter, the LSP approach may be more efficient, since it
transmits only changes/differences, and should (in principle) handle the
encoding troubles.
But I don't understand what's stopping these tree-sitter C modules (like
[1] and [2]) to have access to the buffer's contents directly and have
the best of both worlds.
João
[1]: https://github.com/karlotness/tree-sitter.el
[2]: https://github.com/ubolonton/emacs-tree-sitter
- Re: cc-mode fontification feels random, (continued)
- Re: cc-mode fontification feels random, Daniel Martín, 2021/06/05
- 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, 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,
João Távora <=
- 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
- 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, Eli Zaretskii, 2021/06/05