emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Make all tree-sitter modes optional


From: Pedro Andres Aranda Gutierrez
Subject: Re: Re: Make all tree-sitter modes optional
Date: Thu, 19 Jan 2023 17:53:06 +0100

Hi

Disclaimer: no intention to start a flame war, please...

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.

Thanks, /PA
--
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet


reply via email to

[Prev in Thread] Current Thread [Next in Thread]