From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter maturity (was: My resignation from Emacs development) Date: Sat, 23 Nov 2024 08:41:08 -0500 Message-ID: References: <1ed88fca-788a-fe9f-b6c8-edb2f49751c9@mavit.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2266"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Peter Oliver Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 23 14:42:18 2024 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 1tEqOv-0000Oe-RA for ged-emacs-devel@m.gmane-mx.org; Sat, 23 Nov 2024 14:42:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEqNy-0002jU-Fl; Sat, 23 Nov 2024 08:41:19 -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 1tEqNu-0002iw-3i for emacs-devel@gnu.org; Sat, 23 Nov 2024 08:41:14 -0500 Original-Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEqNr-00010T-82 for emacs-devel@gnu.org; Sat, 23 Nov 2024 08:41:13 -0500 Original-Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5cfaeed515bso3839972a12.1 for ; Sat, 23 Nov 2024 05:41:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732369269; x=1732974069; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=uyqr66iBrWBoExoe53CKIO2DGFg2z/CbH/ttTjXp95g=; b=CrUx5QMwlBbX8J/E/bPgcn4BEGGKN6lSmr0LwRTiGOJGmL2UOaednTdr7kNgaVkOVF 8sQG73jZdgkzRx1l0QtyPlrU++fBGhzBXoPup7tkHjuZeXW5zuZ5k7P6ruswyv4YAwJ7 CyDtq0hVy5adOh9kUSafJOxsTRLtfCTDuZUnKMAUBe4Mvk1W9RiuUkU08KZF5/P03yi/ mpIZpqvP1JNVg8VujID9KADomrf8OtqTw/1PGhuCF7ITINJ9LtHrw1fLSVgDbiBCSNDA zgJatDn+9iLR9ze8gBJQoes1/keHXeMM/Y1NiJgRowPUEWkCtu1yrI702h0meAbxLplA 4Mdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732369269; x=1732974069; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=uyqr66iBrWBoExoe53CKIO2DGFg2z/CbH/ttTjXp95g=; b=Mxa60m9JqlkBa0ToQihwIhdWb2fE8VrA2HR+W5j1MgHEa46wDilBETkGixF+lVJtSw hU11uUX9wtVmSj+vsumG1sUOABIJKLELaK44pI9qdnHU+Jvm1kcOgIEV4w8vbBnx7MSJ pOis+20KG/NENIRE53CRy3k+iwiF+CWEo6fz1p5YtMufi8XTbT4ZPK7zssu3S3iyMSJ5 ox3AENQ+LiwhcftuTatBTw2tvnss/FaetsWdYL61Qcg6zHQ/tRRib4k4RYxStuaeGOEq 1sl2Y+/b8r7Pj1FAOiujLAw5BVU8Acd8DdAa2u2pznjGlh9ZIITUGULAKn+R3XPV+uHH +ZtQ== X-Gm-Message-State: AOJu0Yx3WAwAtDGpQ3TTGn2Gsa9iLvGuUCdCuBOUsl8fq2ttVqmW/+vf u3IRh5+AX8tteVpBhlIMfobAKqjigsUtD3ruN90a7RUHnqypP5IuuD0D44kCndgM0KDDpKiZ4OT 8/RDj4K4brjlgWRvJelRkVRUv2bM= X-Gm-Gg: ASbGncvqukxtq3jgNfeMj6QGLURROmr+pNXGzkINs0ilWT1CcjDX1OIPb0PRghFUEpg yL57IuJUOPpj9y5AuvS2jaV/QrhWz+7pv X-Google-Smtp-Source: AGHT+IFOSCbi/zZqeLe1LlgWmlvi4aio/wr6PxpZ71J73Q2bDm6SHfNqt2YpJ1jLKjo6tg1eMdzaxF9bfM9O0yooItE= X-Received: by 2002:a05:6402:2692:b0:5cf:cb41:3610 with SMTP id 4fb4d7f45d1cf-5d0205fa45fmr4998382a12.8.1732369268655; Sat, 23 Nov 2024 05:41:08 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 23 Nov 2024 08:41:08 -0500 In-Reply-To: <1ed88fca-788a-fe9f-b6c8-edb2f49751c9@mavit.org.uk> Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=stefankangas@gmail.com; helo=mail-ed1-x52c.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, 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:325625 Archived-At: Peter Oliver writes: > On Wed, 20 Nov 2024, Stefan Kangas wrote: > >> From my point of view, we are still in early days when it comes to >> the new tree-sitter modes. For starters, we do not recommend them by >> default, and some language modes are also not yet ready for >> prime-time. I'm not even sure that a majority of distros ship the >> feature in a useful form yet, but I didn't really check. > > It depends on what you mean by useful. In Fedora, for example, Emacs > is built with Tree-sitter, but each user has to (ask Emacs to) > download and compile each parser as they go along. Thanks. I meant that one cannot yet use them after simply installing the "emacs" package, without taking additional steps. > If any Fedora packagers read this and would like to help with > packaging the parsers used by Emacs, that would be welcome. The > tracking bug is https://bugzilla.redhat.com/show_bug.cgi?id=3D2258924 Thanks for working on this. Packaging Tree-sitter seems somewhat challenging, but getting it done is essential if we want to see more widespread use of Tree-sitter in our user base. > It=E2=80=99s also worth noting that Tree-sitter itself is somewhat immatu= re; > the developers say that until it reaches version 1.0, we should be > wary of potentially unannounced incompatible changes (although they > are trying harder to avoid this, over time).