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: Versioned Tree-sitter parser libraries Date: Mon, 24 Apr 2023 14:05:50 +0300 Message-ID: <83o7ndy1yp.fsf@gnu.org> References: <462cd248-1269-ac55-bf94-f137b2c51697@mavit.org.uk> <83a5z7c262.fsf@gnu.org> <83h6tea1bi.fsf@gnu.org> <5EA2C5B8-8338-4011-A092-CF6FF01FA144@gmail.com> <42d2a023-ae10-db4f-b0d3-3aca631be151@mavit.org.uk> 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="37312"; mail-complaints-to="usenet@ciao.gmane.io" Cc: p.d.oliver@mavit.org.uk, emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 24 13:06:15 2023 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 1pqu1P-0009Uo-0f for ged-emacs-devel@m.gmane-mx.org; Mon, 24 Apr 2023 13:06:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqu0k-0004OV-6g; Mon, 24 Apr 2023 07:05:35 -0400 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 1pqu0g-0004I2-DS for emacs-devel@gnu.org; Mon, 24 Apr 2023 07:05:32 -0400 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 1pqu0c-0000nL-Kh; Mon, 24 Apr 2023 07:05:27 -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=h6n7MPs6ZOfJ7bFDCEtDTHrLTm9Hhn1NLIvIcf5o6DU=; b=SmyrciCHH/XyBTy+ax+X uaVQwUeFyPNJ7m+o8nhtOk6FlLpfgpyRp2/lp14Ow1jRn9FNPZ0ZjjiNpw2mFmuMzFMYbWszjLo1c oYtCKi9dC/yBjryXU3OnDc0ZeCRdlKWS6w5Rp5e1ULjvomVIAea+ap5o0C8N1vQeFNKe2GDUg+6+6 HTNBgmwlet6XdoYO925lZasDZNMRjnkeDjpJti+OuXGg5a+wjxyylYJGk0RL2zYqpmnUqEbJA729y e8+6GtpZ3eTTITG6RCBd9rZuSmmnP/CS8DK32/3ysiT/GDCaYYK49r+h+3tuj+VIFvJHZ6fE9yucb QLvKyjEBwEAHqw==; 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 1pqu0c-0007Ij-1D; Mon, 24 Apr 2023 07:05:26 -0400 In-Reply-To: (message from Yuan Fu on Mon, 24 Apr 2023 00:00:20 -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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:305616 Archived-At: > From: Yuan Fu > Date: Mon, 24 Apr 2023 00:00:20 -0700 > Cc: Eli Zaretskii , > emacs-devel@gnu.org > > > On Apr 17, 2023, at 1:17 PM, Peter Oliver wrote: > > > > On Mon, 17 Apr 2023, Yuan Fu wrote: > > > >> I was suggesting that we do recognize ABI versions, but since tree-sitter grammars don’t really have a ABI version, and the version extension in filenames are just there by convention (of Fedora), we can expect the version extension to be always 0.0, should there be one. > > > > It’s the Tree-sitter project that have chosen the numbers in their Makefiles, not Fedora, by the way. https://github.com/tree-sitter/tree-sitter-json/blob/master/Makefile#L42 > > > > -- > > Peter Oliver > > Now Emacs should recognize .0 and .0.0 suffixes. I pushed the change to emacs-29. You did? Because I don't see it when I update from Git.