From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter introduction documentation Date: Fri, 16 Dec 2022 19:23:00 +0200 Message-ID: <83wn6ri7pn.fsf@gnu.org> References: <83edszjslp.fsf@gnu.org> <87tu1vxs3a.fsf@ledu-giraud.fr> <831qozjob7.fsf@gnu.org> <87cz8jxoat.fsf@ledu-giraud.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39491"; mail-complaints-to="usenet@ciao.gmane.io" Cc: joaotavora@gmail.com, pedz@easesoftware.com, emacs-devel@gnu.org To: Manuel Giraud Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 16 18:23:21 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 1p6EQa-000A0v-TL for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Dec 2022 18:23:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6EQG-00060z-EI; Fri, 16 Dec 2022 12:23:00 -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 1p6EQD-000603-Vf for emacs-devel@gnu.org; Fri, 16 Dec 2022 12:22:58 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6EQD-00073g-MX; Fri, 16 Dec 2022 12:22:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=VvJfldOZhJnZHEiQnfekpQsZy23wOPpDKDjrGe7xyw4=; b=UUzobYV9iZcBDSn35A9b AmpqMAEGf7IAn745jFh6L/kw7s0eRqTEKdYXh4e0qAYMZkg8TAt5SRewUx/X82I29oKPYiZwwqnY6 koV3VI79ZwVuoWu/zREKK+kY/BaGfOM237tAaPx/xPgAqJnBaYniXKAAP3m9vrY8zVIlyXOhvk38t pXQbkJjo3WSj9jGyXuA4lrt91Opw4Tfp+Lu0bBMshTPOqOfrwSvdDwmIT0gIPobMkl2NGwo+yov7o MYqDbE4Q5X89NoB15k0+ocDEkp2FRc5y+FgRCAHBo1T8oW42Yp/yKTt63YSJ0ST2SvLWa/3ilbc5u gYsFrTGom+acEg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6EQD-0002e5-5T; Fri, 16 Dec 2022 12:22:57 -0500 In-Reply-To: <87cz8jxoat.fsf@ledu-giraud.fr> (message from Manuel Giraud on Fri, 16 Dec 2022 18:15:38 +0100) 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:301511 Archived-At: > From: Manuel Giraud > Cc: joaotavora@gmail.com, pedz@easesoftware.com, emacs-devel@gnu.org > Date: Fri, 16 Dec 2022 18:15:38 +0100 > > Eli Zaretskii writes: > > > Easier, yes. But up to a point. We cannot be expected to distribute > > third-party libraries instead of the distro. > > Ok but with tree-sitter, it feels like there is two level of > third-party: > - the tree-sitter library > - the «language specicic part» library > > The former seems to be easily available in distro's packages (as is > librsvg, libcairo, etc.) but the latter does not seem to be as > accessible. I hope it will change with time and adoption of tree-sitter > otherwise tree-sitter usage (at least in emacs) will end up being > «expert» matter. I think it indeed will change very soon, as soon as the distros realize that Emacs 29 needs that to be able to use the -ts- modes.