[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: |
Fri, 20 Jan 2023 10:30:25 +0200 |
> From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
> Date: Thu, 19 Jan 2023 17:53:06 +0100
>
> Now: My experience in the last couple of weeks is that there are tree-sitter
> modes in the Emacs tree that
> have non-ts counterparts in MELPA only. And that's been frustrating.
> Basically because I don't compile ts
> support and despite that, the treesit .el files are installed and used.
> Example: dockerfile-mode is in MELPA
> only. So when I recently opened a Dockerfile, I got an error saying that
> Dockerfile-ts-mode couldn't start
> because my emacs hasn't ts support compiled in.
>
> I would have prefered to see the dockerfile opened in text mode with no
> errors. And then, when I install the
> Dockerfile-mode package from MELPA, start working with all the goodies I got
> from installing the package
> from MELPA.
>
> My gut feeling is that if I don't have treesit support compiled in Emacs, I
> don't want *-ts-*.el files in my elisp
> tree nor any side effects related to these files. Sorry to say, but I feel
> that the enthusiasm about treesit some
> have is a bit pushing for me. And I feel uncomfortable when pushed.
Please try the latest emacs-29 branch, where the tree-sitter based
modes have been made entirely optional.
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 <=
- 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