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: Tree-sitter introduction documentation Date: Sat, 31 Dec 2022 07:59:18 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000005645d305f11a4396" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39980"; 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 Sat Dec 31 08:00:34 2022 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 1pBVr7-000AFF-KJ for ged-emacs-devel@m.gmane-mx.org; Sat, 31 Dec 2022 08:00:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pBVqQ-0000mt-Ke; Sat, 31 Dec 2022 01:59:50 -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 1pBVqP-0000mG-3u for emacs-devel@gnu.org; Sat, 31 Dec 2022 01:59:49 -0500 Original-Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pBVqN-0004jc-0w for emacs-devel@gnu.org; Sat, 31 Dec 2022 01:59:48 -0500 Original-Received: by mail-ej1-x634.google.com with SMTP id fc4so55685056ejc.12 for ; Fri, 30 Dec 2022 22:59:46 -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=v4X05bLWQ/5bQsA3ch/ZBSK79CWILGv1XIc4FZIVHF4=; b=iPOHrEZyyqB5WVeo9cKbFQ85hJDkA23Sa3HrPl8n4hZQtSjRuhE7H4wEo1n/H4gpHS 1WvgrRhGAuizRFSAwm5jB0nwpp8PCRCGp/DxrCVVgYLiCCnPKzWJWtm1CSOdX/Pw5O+u hFWpRuJLv/Swg70o/n5h8r/ndBf2ytZ+LPObLcFIRh+gezOawYp3BUcJSZk0037WfykP /lltskG0faeI9acBsSGDX50InAl5R4m4fIKqhh3qRkvC+CMS676sRrZGNCZVEilbne8M T0dNGSMK09I0MYiMHwM29viDDumcxniqqeOsoORxF1oAMl8UnFQHeG7mItDZxrDa6Urf ynJw== 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=v4X05bLWQ/5bQsA3ch/ZBSK79CWILGv1XIc4FZIVHF4=; b=0G3WQ/6XCFlyg3g+5uzhUeGZ0Z/HxB2jnqzvCFDel++wWM+FbPUn7+q7B+/qT4qG1l VW4U5lgLJsVv19BeORwqgMaBYN4xpzQrlPoLC28Qdgd1swqwxv7glsTfLd5kl7KeKc/H V8weXxMWDXLu8dSjz313AG59lfJfeUFUirLhUzTMDDafhEA4B0lHCcFSVqSUW2p5zx4l 7pnSgwQwyATiK2HgqRvsQxRa23u9iy5S6XtEJi91elbu+yo85xqDtQup7BftnWDGo5e5 E+6VPeuPEfBNgixp3vTW27bwzEQmk0+ZryDJOLfdmiTeRvsPK6Ug+gP3JBXzCgcnqfPc v6hw== X-Gm-Message-State: AFqh2koLmaUgw6kGLezFSOtOdBzgbnC9wG5eXmUby+m9LyUPgzpOvLTu PdSH6tiu4OVc62KnBQQcigXev+q/3xo9+LYYk60tPJ36Nssnz+QK X-Google-Smtp-Source: AMrXdXskrXRIaPtvxo2qMOyix7+Q6q8rucOTp7Ik1xuTWu5PIqr+x0LeQdVDJIglCK4NJKtYdwTj/CtCCgBrzADbNCY= X-Received: by 2002:a17:906:7155:b0:7c1:2d73:8aab with SMTP id z21-20020a170906715500b007c12d738aabmr4505092ejj.262.1672469984723; Fri, 30 Dec 2022 22:59:44 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=paaguti@gmail.com; helo=mail-ej1-x634.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:302149 Archived-At: --0000000000005645d305f11a4396 Content-Type: text/plain; charset="UTF-8" Philip Kaludercic writes: > My main worry with these changes, along with the popularity of LSP is > that while they are technological improvements, they all happen at the > deterioration of Emacs' introspectability, increasing the effort it > takes for the user to make changes. IIUC you can't reload a .el file or > just a singular expression if you want to change how completion via > Eglot or how imenu works via Tree Sitter. A simple hack becomes a > weekend project. This is not an unconditional good. That's a very good point. My .02 cents of experience with eglot/treesit: while I'm happy it works now on my multi-OS setup and I can seamlessly switch computers, it took me a lot of time to understand and duck-duck-go and set up. On top of that, there are some things I still don't completely understand and can't explore on the *scratch* buffer and/or slime. And yes, I've also tried tree-sitter for Python on my Linux and it makes me wonder what the real gain is, because I'm using the plain python-mode on the other systems and I can't feel a compelling argument to switch. At least that was the case with eglot ;-) and this is why I've stayed with it. Happy new year (the 365 days of it) /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 --0000000000005645d305f11a4396 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Philip Kaludercic <philipk@posteo.net> writes:

> My main worry with these changes, along with the popularity o= f LSP is
> that while they are technological improvements, the= y all happen at the
> deterioration of Emacs' introspectab= ility, increasing the effort it
> takes for the user to make c= hanges.=C2=A0 IIUC you can't reload a .el file or
> just a= singular expression if you want to change how completion via
>= ; Eglot or how imenu works via Tree Sitter.=C2=A0 A simple hack becomes a
> weekend project.=C2=A0 This is not an unconditional good.

That's a very good point. My .02 cents of experie= nce with eglot/treesit:

while I'm happy it wor= ks now on my multi-OS setup and I can seamlessly switch computers, it took = me a lot of time to understand and duck-duck-go and set up. On top of that,= there are some things I still don't completely understand and can'= t explore on the *scratch* buffer and/or slime.=C2=A0

<= div>And yes, I've also tried tree-sitter for Python on my Linux and it = makes me wonder what the real gain is, because I'm using the plain pyth= on-mode on the other systems and I can't feel a compelling argument to = switch.

At least that was the case with eglot ;-) = and this is why I've stayed with it.=C2=A0

Hap= py new year (the 365 days of it)
/PA

--
<= div dir=3D"ltr" class=3D"gmail_signature">
Fragen sind nicht da um beantwortet zu werden,
Fra= gen sind da um gestellt zu werden
Georg Kreisler

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

--0000000000005645d305f11a4396--