[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need for "-ts-mode" modes
From: |
Eli Zaretskii |
Subject: |
Re: Need for "-ts-mode" modes |
Date: |
Thu, 29 Dec 2022 21:42:48 +0200 |
> From: Yuan Fu <casouri@gmail.com>
> Date: Thu, 29 Dec 2022 11:27:41 -0800
> Cc: Eli Zaretskii <eliz@gnu.org>,
> emacs-devel@gnu.org
>
> I think we should not enable docker-ts-mode in auto-mode-alist if
> (treesit-language-available-p 'dockerfile) is nil.
I don't see how this could be accomplished, since whether three-sitter
is available for a language is only known at run time, and
auto-mode-alist is in files.el, which is preloaded.
I also don't see any disaster in having an error message in a new mode
which we didn't have before. It is not a regression.
- Need for "-ts-mode" modes, Philip Kaludercic, 2022/12/29
- Re: Need for "-ts-mode" modes, Eli Zaretskii, 2022/12/29
- Re: Need for "-ts-mode" modes, Eli Zaretskii, 2022/12/29
- Unifying "foo-mode"s and "foo-ts-mode"s, Philip Kaludercic, 2022/12/30
- Re: Unifying "foo-mode"s and "foo-ts-mode"s, Theodor Thornhill, 2022/12/30
- Re: Unifying "foo-mode"s and "foo-ts-mode"s, Philip Kaludercic, 2022/12/30
- Re: Unifying "foo-mode"s and "foo-ts-mode"s, Theodor Thornhill, 2022/12/30
- Re: Unifying "foo-mode"s and "foo-ts-mode"s, Philip Kaludercic, 2022/12/30
- Re: Unifying "foo-mode"s and "foo-ts-mode"s, Theodor Thornhill, 2022/12/30