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 maturity Date: Tue, 24 Dec 2024 14:32:10 +0200 Message-ID: <86msgl2red.fsf@gnu.org> References: <1ed88fca-788a-fe9f-b6c8-edb2f49751c9@mavit.org.uk> <67428b3d.c80a0220.2f3036.adbdSMTPIN_ADDED_BROKEN@mx.google.com> <86ldwdm7xg.fsf@gnu.org> <6765355b.c80a0220.1a6b24.3117SMTPIN_ADDED_BROKEN@mx.google.com> <00554790-CACA-4233-8846-9E091CF1F7AA@gmail.com> <87frmfxm8y.fsf@> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24274"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bjorn.bidar@thaodan.de, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 24 13:32:54 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 1tQ45l-00066d-GE for ged-emacs-devel@m.gmane-mx.org; Tue, 24 Dec 2024 13:32:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQ45L-0005pJ-VP; Tue, 24 Dec 2024 07:32:27 -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 1tQ45J-0005p3-6N for emacs-devel@gnu.org; Tue, 24 Dec 2024 07:32:25 -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 1tQ45I-0007PK-Da; Tue, 24 Dec 2024 07:32:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=33USooR0DeaaW3VD9PyjwKZ/JgL+BDWkwLqjJ6RM3lA=; b=bdtP7OSsDB6+ 017MCqeDy/2JCOTSOwV7S8NjQTeAOSGnMqtbd/nMYnmn37KvpLsHsYUK8HEtkSqVwpMQUgywFNxfI F2KREM8ABZ33HabH0/cjU3oz9dYTYx+4moxWOgsyArO6mwuEuCXrbeT1ANsv0Oj1y/s6u/njYx/qv 0cTVF147YyBaoceAzc5HruNqaJxz5uER8DBSkkoCUHTHSxbGUk1fJ6GxoUpQUeeaTTRrCrkw2Wo2s zwYxgaUUUHJmvZHvcRMVwGC0csnRdb8Byi69VYOuDQamS492wUyUPI4UFjVcBTj200XxOUJwWXLUP WhaDi32cI4y2dwuAkty29Q==; In-Reply-To: (message from Richard Stallman on Mon, 23 Dec 2024 23:52:43 -0500) 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:326997 Archived-At: > From: Richard Stallman > Cc: emacs-devel@gnu.org > Date: Mon, 23 Dec 2024 23:52:43 -0500 > > Ideally, users should be able install the grammars separately, perhaps > using their `make install' or `apt', and Emacs would only use them > where they normally get installed. That is ideal because it is not > very integrated -- it preserves modularity. In particular, it assures > that the details of how they get installed are not a direct concern of > Emacs maintenance. Emacs needs to be built with the tree-sitter library to support the modes based on it, and the grammar library needs to be installed. If Emacs was built without tree-sitter, or if the grammar required for a mode is not installed, the mode will display a warning to that effect.