[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Turning on/off tree-sitter modes
From: |
Eli Zaretskii |
Subject: |
Re: Turning on/off tree-sitter modes |
Date: |
Tue, 03 Dec 2024 18:45:53 +0200 |
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: dmitry@gutov.dev, emacs-devel@gnu.org
> Date: Tue, 03 Dec 2024 09:55:55 -0500
>
> > I think we are mis-communicating. This thread's Subject is "Turning
> > on/off tree-sitter modes", so I'm asking: what we will tell users to
> > to do if they want to turn ON cmake-ts-mode?
>
> And the answer depends on how we fix the current breakage, but most
> likely it will be "same as for other modes, except doing nothing works
> as well"?
>
> > I didn't mean to say anything about the imaginary cmake-mode, I meant
> > to point out that it doesn't exist in Emacs, so our solution to this
> > cannot be based solely on major-mode-remap-defaults/alist.
>
> Why not?
>
> One way to fix the current breakage is with a patch like the one below,
> after which the way to choose which CMake mode to use is the same as for
> any other mode.
It's possible, but I don't understand why we need to invent a mode
just to use major-mode-remap-defaults/alist. That was just a means to
an end, no?
Why not consider cmake-ts-mode just a normal major mode, like any
other FOO-mode?
- 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, 2024/12/02
- 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 <=
- 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
- Re: Turning on/off tree-sitter modes, Dmitry Gutov, 2024/12/04