[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Turning on/off tree-sitter modes
From: |
Stefan Monnier |
Subject: |
Re: Turning on/off tree-sitter modes |
Date: |
Mon, 02 Dec 2024 22:30:14 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
>> For the init file, we have things like
>>
>> (add-to-list 'major-mode-remap-alist '(foo-mode . bar-mode))
>>
>> so I don't see any need for anything new.
>
> Let's not forget the case of TS modes for which we don't have non-TS
> modes in auto-mode-alist and other relevant variables? do we recommend
> to add stuff to auto-mode-alist or something? This has to be part of
> the solution we devise.
[ I don't know what to say because it's too vague. The way I read
you're saying there are cases that are broken, but without telling me
how they're broken, it's hard to know what to do. This said,
I suspect in most of those cases the answer starts by unbreaking them,
before we consider what kind of API/UI we want to offer users to
configure them. ]
Do you have a concrete example?
Stefan
- Re: Turning on/off tree-sitter modes, Dmitry Gutov, 2024/12/01
- Re: Turning on/off tree-sitter modes, Eli Zaretskii, 2024/12/02
- Re: Turning on/off tree-sitter modes,
Stefan Monnier <=
- Re: Turning on/off tree-sitter modes, Eli Zaretskii, 2024/12/03
- Re: Turning on/off tree-sitter modes, Stefan Monnier, 2024/12/03
- Re: Turning on/off tree-sitter modes, Eli Zaretskii, 2024/12/03
- Re: Turning on/off tree-sitter modes, Stefan Monnier, 2024/12/03
- Re: Turning on/off tree-sitter modes, Eli Zaretskii, 2024/12/03
- Re: Turning on/off tree-sitter modes, Stefan Monnier, 2024/12/03
- Re: Turning on/off tree-sitter modes, Eli Zaretskii, 2024/12/03
- Re: Turning on/off tree-sitter modes, Dmitry Gutov, 2024/12/03
- Re: Turning on/off tree-sitter modes, Stefan Monnier, 2024/12/03
- Re: Turning on/off tree-sitter modes, Eli Zaretskii, 2024/12/04