[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make all tree-sitter modes optional
From: |
Eli Zaretskii |
Subject: |
Re: Make all tree-sitter modes optional |
Date: |
Tue, 17 Jan 2023 20:41:05 +0200 |
> From: Juri Linkov <juri@linkov.net>
> Cc: casouri@gmail.com, monnier@iro.umontreal.ca, larsi@gnus.org,
> theo@thornhill.no, jostein@secure.kjonigsen.net, emacs-devel@gnu.org
> Date: Tue, 17 Jan 2023 20:19:44 +0200
>
> >> 1. The user needs to use e.g. js-ts-mode. Your patch requires that
> >> users first visit a js file in js-mode, then they need to type
> >>
> >> M-x js-ts-mode RET
> >>
> >> then for the rest of the session they can use js-ts-mode.
> >> But for a new session they need to repeat the same again.
> >
> > Or customize auto-mode-alist.
> >
> > This is a consequence of the fact that js-ts-mode doesn't have a
> > separate .el file. If you have better ideas for that, I'm all ears.
>
> A better idea is a simple customizable list of enabled ts modes.
Yes, you suggested that already. But I disagree that it's simple, and
therefore don't agree that it's better.
Re: Make all tree-sitter modes optional, Po Lu, 2023/01/15
Re: Make all tree-sitter modes optional, Juri Linkov, 2023/01/17
Re: Re: Make all tree-sitter modes optional, Pedro Andres Aranda Gutierrez, 2023/01/19
- Re: Make all tree-sitter modes optional, Eli Zaretskii, 2023/01/20
- Re: Make all tree-sitter modes optional, Pedro Andres Aranda Gutierrez, 2023/01/20
- Re: Make all tree-sitter modes optional, Eli Zaretskii, 2023/01/20
- Re: Make all tree-sitter modes optional, Pedro Andres Aranda Gutierrez, 2023/01/21
- Re: Make all tree-sitter modes optional, Eli Zaretskii, 2023/01/21
- Re: Make all tree-sitter modes optional, Pedro Andres Aranda Gutierrez, 2023/01/22
- Re: Make all tree-sitter modes optional, Eli Zaretskii, 2023/01/22
- Re: Make all tree-sitter modes optional, Eli Zaretskii, 2023/01/22