From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pedro Andres Aranda Gutierrez Newsgroups: gmane.emacs.devel Subject: Re: Re: Make all tree-sitter modes optional Date: Thu, 19 Jan 2023 17:53:06 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000e67bea05f2a0c523" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35045"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jan 19 17:54:29 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pIYBJ-0008yw-77 for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Jan 2023 17:54:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pIYAZ-0007YJ-DQ; Thu, 19 Jan 2023 11:53:43 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pIYAU-0007Xw-EM for emacs-devel@gnu.org; Thu, 19 Jan 2023 11:53:38 -0500 Original-Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pIYAR-00014m-6i for emacs-devel@gnu.org; Thu, 19 Jan 2023 11:53:37 -0500 Original-Received: by mail-ej1-x62a.google.com with SMTP id u19so7249673ejm.8 for ; Thu, 19 Jan 2023 08:53:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=+3gwg+yUi6/E31UZgb4IYp7bWlHM0BmanzPjAk7MAuo=; b=GRrKJ5AiRVYsjbHZvfcplkzzpZwobfaO9mnN3mx319RCAV0d63RHfXWmYmsNtTYBE9 iecFAItaiG9wenMvJkJQkiIQ76gEYISXvWyV0h0Lcr9AEwTvErn9gXDxigfRxLkXte+m Ps8SaoehiSuo+oR3VhcrL3UkY1a5kcM4mU4+HZmy+w+vpHJOmOX1qOfpoSpo7UYOr1hg KhAvLw1MKDrPM5PHlqcI5JQafZdJssZojqRRiTIyjatbYudW3vgu/Ku+d7OUXQ5dwFOx g3hujEqwO6+b8eb9TRw9rPaz9YRnIuDIWaqd1XNbcAZFsF56E9ink+KBnv49+CrWD2y6 CeGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=+3gwg+yUi6/E31UZgb4IYp7bWlHM0BmanzPjAk7MAuo=; b=C0uu0R3TySre7Xo+QR/p9jp9YwuXyWu2BIed7sC4wzGIEvOiXHzdoW/23My8J1FYds QD/9E5W3+rw6TLRNCPwKfQSMTqRpUUYdzhhDhrwEdWBPj5/YmwQ82cw+nrP6zkB10zNS QkKABMOztNcrNb5dhMUwcHC571fAU1OFpb7itwPr1G9gv2vamqOLCisBsJ9ETN3qejs9 CL7HOnFhtoO9p25egRI2zaJq+yunMZECx/BpUPZWSyB0ySkm2Nl/e9He558OnB56Xg+T 0fzhTFV6KXHCHhxWga1M0ekNX+e2zT3QDg+8d3pegYwJgJNh5xJ6m+T1JF5b7JGb/x/4 U4Bw== X-Gm-Message-State: AFqh2koptXElHOpFxn4CNcwSRxSyxKcUZGbCEqEpHYRlGMfMTCDlNbqT pnRE6JS/4lW2FkKAJPMAT6WDLZFGPD89tw9UJk3OLHemjmU= X-Google-Smtp-Source: AMrXdXvK4ovV4taP2l1bWvHdjPbK+6o4SFaRK5iMnCNDn1J0EfX0Iu0xvRxbBwcndQn7VSNsIOFDAG7sobB/hA39eKE= X-Received: by 2002:a17:906:fcc2:b0:7c0:f7af:cccd with SMTP id qx2-20020a170906fcc200b007c0f7afcccdmr826153ejb.314.1674147212457; Thu, 19 Jan 2023 08:53:32 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=paaguti@gmail.com; helo=mail-ej1-x62a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302553 Archived-At: --000000000000e67bea05f2a0c523 Content-Type: text/plain; charset="UTF-8" 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 --000000000000e67bea05f2a0c523 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

Disclaimer: no intention to sta= rt a flame war, please...

Now: My experience in th= e last couple of weeks is that there are tree-sitter modes in the Emacs tre= e that have non-ts counterparts in MELPA only. And that's been frustrat= ing. Basically because I don't compile ts support and despite that, the= treesit .el files are installed and used. Example: dockerfile-mode is in M= ELPA only. So when I recently opened a Dockerfile, I got an error saying th= at Dockerfile-ts-mode couldn't start because my emacs hasn't ts sup= port compiled in.=C2=A0

I would have prefered to s= ee the dockerfile opened in text mode with no errors. And then, when I inst= all the Dockerfile-mode package from MELPA, start working with all the good= ies I got from installing the package from MELPA.

= My gut feeling is that if I don't have treesit support compiled in Emac= s, I don't want *-ts-*.el files in my elisp tree nor any side effects r= elated to these files. Sorry to say, but I feel that the enthusiasm about t= reesit some have is a bit pushing for me. And I feel uncomfortable when pus= hed.

Thanks, /PA
--
<= div>
Fragen sind nicht da um beantwortet zu werde= n,
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-depose= d hook here, but we can't yet

--000000000000e67bea05f2a0c523--