[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rename Tree-sitter major modes from "ts" to "treesit" (was Re: tree-
From: |
Theodor Thornhill |
Subject: |
Re: Rename Tree-sitter major modes from "ts" to "treesit" (was Re: tree-sitter version?) |
Date: |
Sat, 26 Nov 2022 10:06:11 +0100 |
On 26 November 2022 09:31:45 CET, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Yuan Fu <casouri@gmail.com>
>> Date: Sat, 26 Nov 2022 00:20:00 -0800
>> Cc: "T.V Raman" <raman@google.com>,
>> tsdh@gnu.org,
>> emacs-devel@gnu.org
>>
>> > On Nov 25, 2022, at 8:25 AM, Daniel Martín <mardani29@yahoo.es> wrote:
>> >
>> > "T.V Raman" <raman@google.com> writes:
>> >
>> >> also the name "ts" as part of tree-sitter is an unfortunate
>> >> confusion since ts-mode is for typescript.
>> >>
>> >> I initally wrongly assumed that ts-mode was some kind of global mode
>> >> that would enable tree-support for all supported modes, given the
>> >> names c-ts-mode etc.
>> >
>> > This is a good point. The Tree-sitter Elisp library itself and its
>> > commands already use the "treesit" abbreviation consistently. We're
>> > still on time to rename the new language modes to c-treesit-mode, and so
>> > on. Thoughts?
>>
>> Yeah we should use treesit, if nothing better appears. We had a (short)
>> discussion on better names than xxx-ts-mode, but no one had better idea, so
>> the name stuck.
>
>Sorry, no more renames, and that is final. The branching point for emacs-29
>is almost upon us, and we cannot afford such changes anymore. The
>justification is quite weak anyway. People who think "ts" means only
>"typescript" will have to adapt. (The tree-sitter library has all of its
>functions start with "ts_", so we didn't invent this shorthand out of thin
>air.)
>
Ok :)
Theo
- Re: Rename Tree-sitter major modes from "ts" to "treesit" (was Re: tree-sitter version?), (continued)
- Re: Rename Tree-sitter major modes from "ts" to "treesit" (was Re: tree-sitter version?), Eli Zaretskii, 2022/11/25
- Re: Rename Tree-sitter major modes from "ts" to "treesit" (was Re: tree-sitter version?), Theodor Thornhill, 2022/11/25
- Re: Rename Tree-sitter major modes from "ts" to "treesit" (was Re: tree-sitter version?), Theodor Thornhill, 2022/11/25
- Re: Rename Tree-sitter major modes from "ts" to "treesit" (was Re: tree-sitter version?), Stefan Kangas, 2022/11/25
- Re: Rename Tree-sitter major modes from "ts" to "treesit" (was Re: tree-sitter version?), Theodor Thornhill, 2022/11/26
- Re: Rename Tree-sitter major modes from "ts" to "treesit" (was Re: tree-sitter version?), Yuan Fu, 2022/11/26
- Re: Rename Tree-sitter major modes from "ts" to "treesit" (was Re: tree-sitter version?), Theodor Thornhill, 2022/11/26
- Re: Rename Tree-sitter major modes from "ts" to "treesit" (was Re: tree-sitter version?), Eli Zaretskii, 2022/11/26
- Re: Rename Tree-sitter major modes from "ts" to "treesit" (was Re: tree-sitter version?),
Theodor Thornhill <=
- Re: tree-sitter version?, Richard Stallman, 2022/11/28
- Re: tree-sitter version?, Eli Zaretskii, 2022/11/28
- Re: tree-sitter version?, T.V Raman, 2022/11/25