From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: Upstream haskell-ts-mode? Date: Mon, 16 Sep 2024 13:32:28 -0400 Message-ID: References: <874j6gxa3p.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32581"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: pranshu sharma Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 16 19:33:29 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 1sqFbN-0008Il-3x for ged-emacs-devel@m.gmane-mx.org; Mon, 16 Sep 2024 19:33:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sqFaW-0006Y7-R9; Mon, 16 Sep 2024 13:32:36 -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 1sqFaU-0006Xg-NP for emacs-devel@gnu.org; Mon, 16 Sep 2024 13:32:34 -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 1sqFaU-00030k-Ev; Mon, 16 Sep 2024 13:32:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=GC5supELyrdQHR/k4ncyfHtZxube9kJjfmWQJh+QBbY=; b=C/YOc44ttxvU+mFMQgpn 75AsGnY3LMFqde2Q8vdsROagpAWaBWteakIbILgNqVA3aHooMWzeUwIWBTXqObGX83VlwiCGdaHkw Tfe4jLvpKsSYsgJKEjbRfBrmr6GommfcgJUGNEspq4lAvvDTYtNLuD8m7qr6FHnA54UoGT2IIMZWt XcQ9GBa7dVHtanVSZd1n6Omej5BtdmJ08YBlDj2PRVEQ7XtBw6BhjVdK1PvO3l9rIUPwg0AdpvfCb w0404buE9gHehdvXTvXsEyHu5QyPVjrWoBWoNmsrpPJjZ412ed1e9djCwxGwJ2N57Y1q0KVmkdpw2 AnhDpntFSZduzA==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1sqFaO-0004WM-QM; Mon, 16 Sep 2024 13:32:30 -0400 In-Reply-To: <874j6gxa3p.fsf@gmail.com> (pranshu sharma's message of "Mon, 16 Sep 2024 18:43:06 +1000") 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:323670 Archived-At: pranshu sharma writes: > With tree-sitter, I was able to make a major mode that provided > indentation, font lock and navigation. Over the last month, I've been > working on it and I can finally say it is fully ready. I tested the > indent on large haskell programs, such as darcs and ghc, and it was > good, and it did not change the output (since indent matters in haskell > execution). > > I'm willing to upstream this to master, as it would be good if emacs had > an inbuilt major mode for haskell. Hello pranshu, I'm in principle okay with having an haskell mode into core in case it's ready (of course let's hear what other maintainers think about this). You'll have to submit a patch with that for code review. Anyway a requirement for upstreaming into Emacs core (and GNU ELPA as well) is to assign the copyright to FSF, would you be willing to do the FSF copyright paperwork? Let me know, in case I'll send you a mail. Thanks Andrea