From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Po Lu <luangruo@yahoo.com>
Newsgroups: gmane.emacs.devel
Subject: Re: Call for volunteers: add tree-sitter support to major modes
Date: Wed, 12 Oct 2022 08:26:01 +0800
Message-ID: <87pmexhopy.fsf@yahoo.com>
References: <83czb1jrm3.fsf@gnu.org> <878rlo7on0.fsf@thornhill.no>
 <83o7uki5ol.fsf@gnu.org> <87tu4c5g9j.fsf@thornhill.no>
 <87k057j7gn.fsf@yahoo.com> <jwva662rs0p.fsf-monnier+emacs@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="2299"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)
Cc: Theodor Thornhill <theo@thornhill.no>,  Eli Zaretskii <eliz@gnu.org>,
 Alan Mackenzie <acm@muc.de>,  emacs-devel@gnu.org,  jostein@kjonigsen.net
To: Stefan Monnier <monnier@iro.umontreal.ca>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 12 02:27:26 2022
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
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 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1oiPao-0000Sz-B3
	for ged-emacs-devel@m.gmane-mx.org; Wed, 12 Oct 2022 02:27:26 +0200
Original-Received: from localhost ([::1]:33178 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1oiPam-00013V-Ss
	for ged-emacs-devel@m.gmane-mx.org; Tue, 11 Oct 2022 20:27:24 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41352)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <luangruo@yahoo.com>)
 id 1oiPZk-0000Nv-AM
 for emacs-devel@gnu.org; Tue, 11 Oct 2022 20:26:20 -0400
Original-Received: from sonic307-10.consmr.mail.ne1.yahoo.com ([66.163.190.33]:44160)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <luangruo@yahoo.com>)
 id 1oiPZi-0007ia-CI
 for emacs-devel@gnu.org; Tue, 11 Oct 2022 20:26:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1665534373; bh=k8SdzC+S3Bt/fToaBq7y64wv4dZ1DRdAtYamK0DvZGI=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=GZpd4OfCWausgq+qj33X6wlSMFstMv8FGNHBaIRodMMyi1QzwzLpomeXn6xveuBabfIqY+JtiUTZF8nN2BUCG22CqWYHb1SKnSqV1ZI0oizuZUqncJ069FgJdfQdQz1aQnyA7kDA/eWj1jWmnjEdXW5YKDuClxIxMQczaD8YZAdSAAO3pD/sNmcrSU6An274W+oJVvwEnjKUR+SdTHgi7wAe5L1qRz5pRKI8zlCbta3liy1jP/I+7ISRemedqyICI5lulI2mCJIHkrXobmEk1EJzYp9qHkQLBxgrZk+3iPwSNXhe8PI0QNDHH45/KdpjJF3ToJ8Dk0PYPaiOUZ35jQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1665534373; bh=oZ4riOvu5DKlaWqq7gCVI4MNqGT7LhmpwldvjcloijA=;
 h=X-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Zafg1OSleuoFfbbVEf8_IHzI0v3IU7GB6bsDbduZPwGoApZqei2kmi4GlG4aScGUXDs0bD
 5Wek9_aEEDr9jPrJHrxdWnH2iVTrHQqopOp317cXPLtUIXFYPBDpwwJ0GC0b2OpjJ57JROpTeCvt
 rBBu5TRuyZkVoKizgYNGSrwhdpm.Hw.UB5yRxBDgFg 
X-Sonic-MF: <luangruo@yahoo.com>
Original-Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic307.consmr.mail.ne1.yahoo.com with HTTP; Wed, 12 Oct 2022 00:26:13 +0000
Original-Received: by hermes--production-sg3-785466d859-bwbsr (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID d69b85c96166afbd4a04e6edea488804; 
 Wed, 12 Oct 2022 00:26:08 +0000 (UTC)
In-Reply-To: <jwva662rs0p.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message
 of "Tue, 11 Oct 2022 17:14:30 -0400")
X-Mailer: WebService/1.1.20740
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Received-SPF: pass client-ip=66.163.190.33; envelope-from=luangruo@yahoo.com;
 helo=sonic307-10.consmr.mail.ne1.yahoo.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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=unavailable 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." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Original-Sender: "Emacs-devel"
 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.devel:297561
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/297561>

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> That's easy to fix: make tree-sitter a required dependency.
> No need to maintain our own version of it.
>
> If/when tree-sitter becomes unmaintained, we may decide to revisit this
> choice, but I see no reason to cross this bridge in the foreseeable future.

Once again, famous last words.

Emacs currently has no dependencies other than system libraries:
terminfo/termcap/curses.  As a result, it builds out of the box on AIX
with the XL C compiler.

It does not depend on gnutls, HarfBuzz, Cairo, or even libraries that
really are available everywhere such as XCB.  Why require tree-sitter?