From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Turning c-ts-mode.el, go-ts-mode.el, csharp-ts-mode.el etc into :core packages? Date: Wed, 8 Mar 2023 14:25:30 +0200 Message-ID: <5f87ea40-b503-53dd-c196-127da2c69c9b@yandex.ru> References: <68a6b078-f91a-d392-f37f-53a86b76465b@yandex.ru> <6041CDB4-54EF-4840-805C-1CCE752EB399@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19080"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Cc: Emacs developers To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 08 13:26:27 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 1pZssE-0004ib-Ky for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Mar 2023 13:26:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZsrU-0002I9-Qk; Wed, 08 Mar 2023 07:25:40 -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 1pZsrS-0002Hz-Nf for emacs-devel@gnu.org; Wed, 08 Mar 2023 07:25:39 -0500 Original-Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZsrQ-0001wh-04 for emacs-devel@gnu.org; Wed, 08 Mar 2023 07:25:37 -0500 Original-Received: by mail-wr1-x435.google.com with SMTP id h14so15186021wru.4 for ; Wed, 08 Mar 2023 04:25:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678278334; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=J4XeXyO8rojSf3n5KXamwnlpk9pNSIcznUzmz7wDIG0=; b=oKix+brN/XjlbeTrvEP0hTperwwBMj80SH4GVJZLfXUGTOId62x77gSWvwuTrykqM1 ztW/zeFAO9DiSA+JlviNQQpZ4xwoJPIBh1QKGTpDYEFFaym7YET+dBXW05f7O8o4v6/G j8GJQjSQTmiCicxfZgX5gCupICDGjSEd6gqodYnsyn+sBb7sMq/H9RDR2vVoGgF5Uq47 Bq8R4kB1RMGCrewcRff88RWMUVNZaviZ5NM/yxrzkHRGzRuu3uArBJQswGAsTMP7idaP i6yDCkYwl6oT8Dwh+CS++qDcL6OBzKvWSYT4cEagQZKK/An1/yHaBoL8TVD6Ex6/Jydt sr5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678278334; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=J4XeXyO8rojSf3n5KXamwnlpk9pNSIcznUzmz7wDIG0=; b=rmC3XoTqJxpDQwXsQu8ebckw/d01UFJ0V8+kUtntkT9HvswFRvy6EDek9JLudYzdP8 JHyygGswrTyRTU5I6SmHKusnwR3GV9evwOlcfGza592NJk7agWym5hLR8OMJqUz5x5tp Z2Y6xLhjDxvQqrBg281BjTWVmADMjT1UqGfnYOHZu7rgBTOADKKmXXbG0Vp4LKuKJiHg 0CpYlvAlEfdrZY536ptvuiKgv4fnVDmcVpn4THOrGs1IIVPIGnwVhhtMSRhK1KJoRCCd tZl00DEt5g00gHTbPE/UaOBQxznVEt4ym3dvv7L0zhmtgfWvIAMmPaG5qYQVnX7TED7O lyuA== X-Gm-Message-State: AO0yUKWeZpSa3TFi04r3420PmsdFRHoutE9scB2doZwCPHucWy/k1wSn DJi2REPBihmhupqjjF+XHIU= X-Google-Smtp-Source: AK7set+CS3ntUOTPcOCBk67mi7CmuZD6H7Ly0TuaKTamCIXAvilUjQ4D5hj26GyO+qfMu67hHFOImw== X-Received: by 2002:a5d:6a12:0:b0:2bf:ee7d:5369 with SMTP id m18-20020a5d6a12000000b002bfee7d5369mr10798210wru.59.1678278333795; Wed, 08 Mar 2023 04:25:33 -0800 (PST) Original-Received: from [192.168.0.2] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id z7-20020a5d4407000000b002c5503a8d21sm15414146wrq.70.2023.03.08.04.25.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Mar 2023 04:25:33 -0800 (PST) Content-Language: en-US In-Reply-To: <6041CDB4-54EF-4840-805C-1CCE752EB399@gmail.com> Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=raaahh@gmail.com; helo=mail-wr1-x435.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:304125 Archived-At: On 08/03/2023 06:19, Yuan Fu wrote: > > >> On Mar 7, 2023, at 7:06 AM, Dmitry Gutov wrote: >> >> On 06/03/2023 00:41, Yuan Fu wrote: >>> What are the implications of turning something into a :core package? I can’t find much description of it. If my understanding of it is correct, I think it would be beneficial to make new tree-sitter modes into :core packages. Right now they are pretty bare-bones, and haven’t been “battle-tested”. Making them core packages would allow us gradually improve them and fix errors that come up. Those files I mentioned in the subject are new files, if that matters. But I don’t know if there are any downsides of turning something into a :core package. >> >> Most of the associated overhead is having to keep in mind the version of Emacs that each packages advertises compatibility with. Which makes using new features (or fixes) from future Emacs versions harder (requiring versions checks, etc). > > I wish package.el has something like “install last version of xxx package compatible with Emacs yyy”. Then we can just bump the minimum required Emacs version when a new Emacs release come out, and use new features. Anyway, checking versions to use new Emacs feature is IMO an acceptable price to pay. Yes, unfortunately, ELPA repositories only keep one latest version.