[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Call for volunteers: add tree-sitter support to major modes
From: |
Philip Kaludercic |
Subject: |
Re: Call for volunteers: add tree-sitter support to major modes |
Date: |
Tue, 11 Oct 2022 19:20:18 +0000 |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Theodor Thornhill <theo@thornhill.no> writes:
>
>> How about deprecating typescript.el the moment the 29.1 branch is cut?
>> After we can but some sort of structure in place for the two to coexist?
>
> It doesn't work that way -- people will have the old typescript-mode in
> their ~/.emacs.d/elpa/ files for years still to come, and things will
> just be messy.
>
> So I think the way forward here would be to just plonk the new code into
> the package, but choose totally different code paths depending on
> whether we're in Emacs 29 (and have tree-sitter) or not. Then you can
> start removing the non-tree-sitter code from the file afterwards.
Perhaps I missed something, but why not just name the new mode 'ts-mode'
(just like we jave 'js-mode' not 'javascript-mode')?
- Re: Call for volunteers: add tree-sitter support to major modes, (continued)
- Re: Call for volunteers: add tree-sitter support to major modes, Theodor Thornhill, 2022/10/11
- Re: Call for volunteers: add tree-sitter support to major modes, Lars Ingebrigtsen, 2022/10/11
- Re: Call for volunteers: add tree-sitter support to major modes, Theodor Thornhill, 2022/10/11
- Re: Call for volunteers: add tree-sitter support to major modes, Theodor Thornhill, 2022/10/11
- Re: Call for volunteers: add tree-sitter support to major modes, Lars Ingebrigtsen, 2022/10/11
- Re: Call for volunteers: add tree-sitter support to major modes, Theodor Thornhill, 2022/10/11
- Re: Call for volunteers: add tree-sitter support to major modes, Lars Ingebrigtsen, 2022/10/11
- Re: Call for volunteers: add tree-sitter support to major modes, Theodor Thornhill, 2022/10/11
- Re: Call for volunteers: add tree-sitter support to major modes, Stefan Monnier, 2022/10/11
- Re: Call for volunteers: add tree-sitter support to major modes, Lars Ingebrigtsen, 2022/10/12
- Re: Call for volunteers: add tree-sitter support to major modes,
Philip Kaludercic <=
- Re: Call for volunteers: add tree-sitter support to major modes, Theodor Thornhill, 2022/10/11
- Re: Call for volunteers: add tree-sitter support to major modes, Po Lu, 2022/10/11
- Re: Call for volunteers: add tree-sitter support to major modes, Yuan Fu, 2022/10/11
- Re: Call for volunteers: add tree-sitter support to major modes, Theodor Thornhill, 2022/10/11
- Re: Call for volunteers: add tree-sitter support to major modes, Eli Zaretskii, 2022/10/11
- Re: Call for volunteers: add tree-sitter support to major modes, Theodor Thornhill, 2022/10/11
- Re: Call for volunteers: add tree-sitter support to major modes, Po Lu, 2022/10/11
- Re: Call for volunteers: add tree-sitter support to major modes, Eli Zaretskii, 2022/10/11
- Re: Call for volunteers: add tree-sitter support to major modes, Po Lu, 2022/10/11
- Re: Call for volunteers: add tree-sitter support to major modes, Eli Zaretskii, 2022/10/11