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: Call for volunteers: add tree-sitter support to major modes Date: Tue, 11 Oct 2022 10:13:46 +0300 Message-ID: <83h70ag7dh.fsf@gnu.org> References: <83czb1jrm3.fsf@gnu.org> <878rlo7on0.fsf@thornhill.no> <83o7uki5ol.fsf@gnu.org> <87tu4c5g9j.fsf@thornhill.no> <87k057j7gn.fsf@yahoo.com> <8D3026E9-D8A4-46EC-816B-1F7A3458DC02@gmail.com> 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="4357"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, theo@thornhill.no, acm@muc.de, emacs-devel@gnu.org, jostein@kjonigsen.net To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 11 09:32:15 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 1oi9kM-0000wt-Jh for ged-emacs-devel@m.gmane-mx.org; Tue, 11 Oct 2022 09:32:14 +0200 Original-Received: from localhost ([::1]:59176 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oi9kL-0001tR-5J for ged-emacs-devel@m.gmane-mx.org; Tue, 11 Oct 2022 03:32:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oi9SO-0005Y4-A1 for emacs-devel@gnu.org; Tue, 11 Oct 2022 03:13:43 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60662) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oi9SN-0008Cu-Ls; Tue, 11 Oct 2022 03:13:39 -0400 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=euIfsCK5UlT0x3wWXpUNwj9coCUwpIpbM8fs44KUsMI=; b=G3vWKfb77ZLrdAREJMIB JNEwgvqp6qgHyBw90Svd34PykKgIDt00SeqdehukcYYBLLFCuiXIJIgMJWz24QCABm5eV2KGpHKPK HngpI3Oab/X0vtHPJaetJqsG6r73/ehYXQn2Fa7GiMGUr8m0VclgWv9KG5adx+9858LOUpjTWIAxR Awq3oetWSYzbmahfk9eiFE/2lyhs8BcgY/+ER7ZMqb9ERU4cQjWRjU0WWQtzRQSyqU3rgcdU49Bmc ZXahsgm8wPtmZmiKyBcON2wgmM244V3ee0w8nmb0MrjRu8B2Ua+TWJ0q2Q3GTOJeKYO/2gMQ8HYxJ iXX/gZTSKhhoIA==; Original-Received: from [87.69.77.57] (port=3237 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 1oi9SL-0005xd-Uh; Tue, 11 Oct 2022 03:13:39 -0400 In-Reply-To: <8D3026E9-D8A4-46EC-816B-1F7A3458DC02@gmail.com> (message from Yuan Fu on Mon, 10 Oct 2022 22:14:36 -0700) 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" Xref: news.gmane.io gmane.emacs.devel:297434 Archived-At: > From: Yuan Fu > Date: Mon, 10 Oct 2022 22:14:36 -0700 > Cc: Theodor Thornhill , > Eli Zaretskii , > Alan Mackenzie , > emacs-devel , > jostein@kjonigsen.net > > Tree-sitter library and the “official” language definitions are all MIT licensed. So nothing prevents us from including it copyright-wise. I see no reason whatsoever to consider bundling tree-sitter. Building it is very easy, and w=once Emacs starts using it seriously, the Emacs distros will take care of offering suitable tree-sitter distributions. > > My opinion is that Emacs should not degrade its text editing > > capabilities so drastically if a non-system library (i.e. not ncurses or > > Xlib) is not present. > > Considering that Emacs currently doesn’t have C# and typescript support in core at all, I wouldn’t call it a downgrade. But I agree the idea that a major mode requiring external dependency to function is not very comfortable. I don't agree, and don't feel myself uncomfortable at all. For the same reason I don't feel uncomfortable because we use HarfBuzz for rendering and GnuTLS for networking.