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: Ada-mode to be abandoned? Date: Sun, 7 Jan 2024 22:36:45 +0200 Message-ID: References: <87a5phiap4.fsf@posteo.net> <87edetm7nh.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40177"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: emacs-devel@gnu.org, Stephen Leake To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 07 21:37:52 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 1rMZu3-000ADl-3b for ged-emacs-devel@m.gmane-mx.org; Sun, 07 Jan 2024 21:37:52 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMZtI-0002aD-Hc; Sun, 07 Jan 2024 15:37:04 -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 1rMZtG-0002a4-SV for emacs-devel@gnu.org; Sun, 07 Jan 2024 15:37:02 -0500 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rMZt5-0007g3-RS for emacs-devel@gnu.org; Sun, 07 Jan 2024 15:37:02 -0500 Original-Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.nyi.internal (Postfix) with ESMTP id B81845C1335; Sun, 7 Jan 2024 15:36:50 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Sun, 07 Jan 2024 15:36:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1704659810; x=1704746210; bh=mDueh545vh/Z/GdSD+3sU8c5E6esVf4ZVuPg9DDTQYs=; b= jjA+uxY+4/1By5Trgc0yvUVkTSMQSkmk54rV66btGXJCpuW6XE/RBfJhjQYC7wzj s6H00AKfA+8nLKB+KI61uKjlucu2pTvnoXsrxst8MN1ULx87kpiQpdjoHtH2hLxr sDtcO8uzUKuwEfNTtv/lnldKHMUuXRAdbGE+qDrrBoRMnF0qx8dvG6e4pSX7Wk+e HcudAPyfRBna2gVbnFVQlN2IMk/w9YsNao3HjcuEaJ2qw/nJ/7Jp2M1aG6/KbPs8 1V63+b+TUysu396MrYyDPSekni6LCmO+2UZbx2YBAk5W0Z9ZBI2Xrs7xd8OmY8Ef YGadpeSj0/+PYoX0gxuSmA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1704659810; x= 1704746210; bh=mDueh545vh/Z/GdSD+3sU8c5E6esVf4ZVuPg9DDTQYs=; b=V 9Ngn6MCoEdsFAQWmnL+zucwMd2S/9MiZklRHLU09REYHJXniuZtkVcraqyOEsDIL 8ehTgxhtSx+6hzrDO9jx6C06CKRyfch7YclO538KS5Vn/xZ1JKfz/Dd6ylgHKCLP +FfnJojowFRu9qUnOmruUoASOamPMvuG3PM2AW1sk7gqUPj65OEQkr//85MeJTfL tM+cpY6ynxthX3qe3/YDHxIf7Lxnqo2G2vtYfSBpQZL358B6i3cjCHjwfKVMJa9c jkZRk5++ZZR2bDXLkgH2ZFmTM9uW1xewitYg660eSbOGTvX9r5aM5yyRdi/e8P0J jwT7f/XRNpjATDgWriGxQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdehgedgjeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedu jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 7 Jan 2024 15:36:49 -0500 (EST) Content-Language: en-US In-Reply-To: <87edetm7nh.fsf@posteo.net> Received-SPF: pass client-ip=66.111.4.27; envelope-from=dmitry@gutov.dev; helo=out3-smtp.messagingengine.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, SPF_HELO_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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:314707 Archived-At: On 07/01/2024 18:26, Philip Kaludercic wrote: > Dmitry writes: > >> On Sun, Jan 7, 2024, at 2:34 PM, Philip Kaludercic wrote: >>> What I am wondering, is if this simplification were to take place, if it >>> would be possible to add ada-mode (or ada-ts-mode in that case) back to >>> the core? >> What is this fetish of adding everything to the core? > > For me it is usually just that it is easier for a newcomer to get stuff > working, without having to deal with package management, which can be a > bother when working offline or in isolated environments. This can be argued for just about any bit of Elisp code, but we don't want all the universe inside the Emacs repo, do we? > TBH > tree-sitter complicates this somewhat, because the grammars are not > installed along with Emacs or by the system, but that is a different > issue. tree-sitter major modes indeed have versioning issues which could be easier to solve if they were distributed through ELPA. >> ELPA is just one 'M-x package-install' away. >> >> And Ada is niche enough that even the argument of having the popular >> languages supported OOtB doesn't work. > > There are plenty of languages that are niche and supported OOtB, > especially since the introduction of tree-sitter (I for example am not > familiar with "heex"). I'm happy to agree that HEEx (as well as Elixir itself) are fringe enough and could go into ELPA as well. Especially considering that elixir-ts-mode's development is largely led externally, with most of the discussions led on Github and Discord. But those are small files with infrequent commits. Much smaller than the Ada-mode package. > If I were to consider helping out with > maintaining the major mode -- where my main disinclination is just the > lack of experience I have with Ada -- I'd prefer to maintain it inside > the core, because if nothing else it makes it easier for others to help > out with bugs/mistakes and use the newest features. Again, something that applies to just about any Elisp. > Either way, the current state of `ada-mode' is in my experience in no > way satisfactory, and I believe that this kind of issue is less likely > to happen inside the core. Perhaps you just wanted to pick it up from where it was left off? It has an existing project infrastructure. But from Stephen's description of the recommended future direction (migration to tree-sitter and LSP), it doesn't sound like a walk in the park. That would likely imply a redesign of most core features in the package.