From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: Validating tree-sitter major modes and grammar Date: Wed, 1 Jan 2025 19:30:16 -0800 Message-ID: References: <2F1CA2E3-4C86-4892-AF6B-0C9CFCE26629@gmail.com> <86pllh2ryo.fsf@gnu.org> <2723DC3D-0F51-445A-912E-4D441976AB2E@gmail.com> <57EDF134-EC93-4906-B37F-5A5ED5E4F77C@gmail.com> <4b0ba91e-1b58-4762-a85b-d3348f1e309d@yandex.ru> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33899"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Emacs Devel To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jan 02 04:31:26 2025 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 1tTBvh-0008eB-LX for ged-emacs-devel@m.gmane-mx.org; Thu, 02 Jan 2025 04:31:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTBv4-0005nw-Mb; Wed, 01 Jan 2025 22:30:46 -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 1tTBuz-0005nF-6T for emacs-devel@gnu.org; Wed, 01 Jan 2025 22:30:42 -0500 Original-Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tTBuq-0002SR-0q; Wed, 01 Jan 2025 22:30:40 -0500 Original-Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-21675fd60feso197013755ad.2; Wed, 01 Jan 2025 19:30:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735788627; x=1736393427; darn=gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=DKLZiVxumDjwKAZ4GAKja+q1uolYjsx3MOc1p6QpWWs=; b=R9cSMg2FLf3VKzFMg+MO5adV/8G5F2u5PO0kHbYqnBicuOa17MnFt1ft2b1c7yqBx9 b2zd152Bt1lXG+rZioruBNlaVHvGicyZE8SY3OG+emYZcF6WgZYRwIW7iB1xCkH/a/Sa p6bQbmarAMluyoZGibt2rrOjW+ecE0v2yC/jnJ3hHkSMmtaMjBT67S8UuO2v81/QOAFL QFQICTxYUqT8ZAE2l8AKPZzdeOK9Xy8oJlHA1idXJxy016UU3QE8wyyyqPxQNqAhs+ht SylnPJ1vmMmbvAU3jlyY4wzEG/GvK+9bx9tCN6iRlRyiuTCewutNU6Y45G4/eXdcKwq6 FwCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735788627; x=1736393427; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DKLZiVxumDjwKAZ4GAKja+q1uolYjsx3MOc1p6QpWWs=; b=JJTfTlsGSBTO6U5yEiQFqal/02DZ4U/C2WEOb8bxZfHbuXeijertzt9uSMM5blAz8W tS1zIUMkCJ3S6SL3VIIRQAoXlCLHIdNVtlpLe/qbgrmjMSvaNOZ9zMvU/eU6phju/o5K hVHqvAoPLGBlPcZhU8anv+nClX+FdnoxRvRrO2UqLbf+pYTWNwdWjONSwDwkpAbYEQzs Qm1OETURjGdc/rAlZMgCa5sweVtLJrhV5s7Lkhxz152/qqAjybZY5+Fpz7jMpj6/aaIA pV3+Xeqch1VM/6WQFyYTmgXxewMDpQvAa2dBrCC0FTM508X/YzYrOHZVEAK+Kdw3fAbW iOJw== X-Forwarded-Encrypted: i=1; AJvYcCWHea3IvvtqitFZdfOGxNFnoI9wj+t0DyOJqajxUGU/v5yIDJ0G1y8wJRZpzEzaFCSGI4ikMrQoLszT1w==@gnu.org X-Gm-Message-State: AOJu0YySG15I6LUwq4M8MnvxREt8agVzRj5uytOHif9STTUY8D3cOBIO eH82J4XcQpU13Ao8Yu4ni1ggqM+iRWGzXNhtL5vXx27tNFsXdY1t5tJkVg== X-Gm-Gg: ASbGncsQGTyjOW4Djm3JeCiBJkHiMF1Oqr/uAGLCXWBf8FFkAC/B6gwh3dpbaU5FL2g Iiu6t07MKCQTh2dXqLoEQyBKct/1wpNIQb3hKg9PwoKJWVLDHWh8fyL1JGWDWsaDJ6bsdXhyT8M nR72rjhM8w61wCUgGzPh6XxbUdpTZAn+caa2jjoNfC1+dd83H97ruoFN7aotanMa7fD5P65xxPV 56FfS43gz1jXpOFSU3IjrbJISIWtuAhQtTsRzAP0QHGBunSD5Dv+ua+ELau7ali7aVVh41nrDos FJfU X-Google-Smtp-Source: AGHT+IEtSyjsBUddB8vpTRzWIdV5sHBjNVkvLoz8Bcye4FukiRnfxTH1DLLWBFAB5CdnHTxWPyfaKQ== X-Received: by 2002:a17:902:d4cd:b0:216:3633:36e7 with SMTP id d9443c01a7336-219e6eb6399mr602398535ad.26.1735788627193; Wed, 01 Jan 2025 19:30:27 -0800 (PST) Original-Received: from smtpclient.apple ([2601:646:8f81:6120:85eb:71bd:58ac:56a8]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-219dc9f4fbcsm217483575ad.174.2025.01.01.19.30.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Jan 2025 19:30:26 -0800 (PST) In-Reply-To: <4b0ba91e-1b58-4762-a85b-d3348f1e309d@yandex.ru> X-Mailer: Apple Mail (2.3776.700.51) Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=casouri@gmail.com; helo=mail-pl1-x634.google.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, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=ham 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." 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:327552 Archived-At: > On Dec 25, 2024, at 6:23=E2=80=AFPM, Dmitry Gutov = wrote: >=20 > Hi Yuan, >=20 > On 25/12/2024 10:39, Yuan Fu wrote: >>> Hopefully we manage to convey well that the "last tested version" is = not necessarily the latest that will work, just the one that we tested. >> Right now the comment says this at the end: >> ;; We try our best to make builtin modes work with latest grammar >> ;; versions, so a more recent grammar version has a good chance to = work. >> ;; Send us a bug report if it doesn't. >> But let me know if it can be improved in some way. >=20 > Just a nit, but we could add "too" at the end: >=20 > so a more recent grammar has a good chance to work too. >=20 > (I removed the word "version" for easier refilling, but that's = definitely not neccesary.) >=20 > About the paragraph before, just a thought but do we want to use a = standard phrase like "has been tested": >=20 > ;; c-ts-mode has been tested with the following languages and = version: >=20 > ? Seems a bit more regular for a casual reader, which conveying the = same meaning. I'm not a native speaker, though. Thanks, I applied these changes. Next time we run the scripts they=E2=80=99= ll take effect. Yuan=