From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Danny Freeman Newsgroups: gmane.emacs.devel Subject: Re: New Package for NonGNU-ELPA: clojure-ts-mode Date: Sat, 12 Aug 2023 22:05:00 -0400 Message-ID: <87bkfbirt6.fsf@dfreeman.email> References: <87il9kksqz.fsf@dfreeman.email> <87a5uw9ivs.fsf@posteo.net> <87ttt42gna.fsf@dfreeman.email> <87wmy080kn.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21664"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Danny Freeman , emacs-devel , Manuel Uberti To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 13 04:46:24 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 1qV17X-0005T9-RD for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Aug 2023 04:46:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qV16Y-0000Si-H0; Sat, 12 Aug 2023 22:45:22 -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 1qV16X-0000Sa-Pj for emacs-devel@gnu.org; Sat, 12 Aug 2023 22:45:21 -0400 Original-Received: from out-69.mta1.migadu.com ([2001:41d0:203:375::45]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qV16U-00045J-Q4 for emacs-devel@gnu.org; Sat, 12 Aug 2023 22:45:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dfreeman.email; s=key1; t=1691894713; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fSekMHUFfdmcCjLYgpJ16gqSha/cEvfal+iDLeBBMtA=; b=cY6q7JRbl/vJGLfVD+PclQUtemn1QvjLOGEGniR6Gj2k4/hpTM8g4gXHjDofC/Q1LAU1Hv DlOr5+7tb23BQ08Nx/cO2zjko5oUyTSF3fqlcJz6HDDr5sf6aJaNGRt9HuQxdFz7ps6Okz 2KyaztCl1SvJXOun1Io1KLfqr2vjfaY= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-reply-to: <87wmy080kn.fsf@posteo.net> X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:203:375::45; envelope-from=danny@dfreeman.email; helo=out-69.mta1.migadu.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_NONE=0.001, SPF_PASS=-0.001 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:308638 Archived-At: Philip Kaludercic writes: > That is a pity. IIRC there is a SLIME-like environment for Clojure, > right? I don't know if Emacs is also the conventional default > environment for working with the language, but if it is, it seems like > it would be a nice thing to have at least some basic support in the core > :/ cider is the SLIME-like environment you are referring to. It lives only in Non-GNU elpa and is in fact a conventional default environment for experienced clojure developers. I have worked with many of them and most use a "starter kit" like doom or spacemacs and don't really think about any of the stuff under the hood. Even among those that have a more traditional configuration, I have never heard anyone express a desire to have support in the core. Emacs now ships with Non-GNU ELPA enabled by default, so it is pretty trivial to start fresh with vanilla emacs and call `M-x package-install cider` to have a nice IDE experience. > Did the discussions on not wanting to contribute anything to the core > take place in some public channel, where one could read up on what the > issues were or clarify some misunderstandings, in case these occurred? Some of the conversation was in a github issue, other conversations took place in closed ecosystems like slack or discord, I don't really remember which. I don't think there were any misunderstandings and consider the matter closed, but I will let you judge for yourself. This was one place I remember having those discussions: https://github.com/clojure-emacs/clojure-mode/issues/640 There may be more like it here on the mailing list and the various clojure-emacs issue trackers on github > So you can also confirm Eli's take, that it is unfeasible to merge the > two major modes? Yes I would agree with Eli here. I do think it is unfeasible to merge them. My first attempt at writing clojure-ts-mode was in clojure-mode.el, but it was much simpler to keep the packages separate in my experience. As a user of a couple different tree-sitter grammars, I found the ones defined in their own modes easier to configure like c-ts-mode and typescript-ts-mode (which is a godsend, before this and eglot, typescript programming in emacs was miserable to configure). That is all personal opinion of course, other may have a different preference. > I don't think there is much left that can be changed any more, just keep > in mind that ELPA doesn't use tags to designate package releases, but it > consults Git to detect the latest commit to modify the ";; Version:" tag > in the package header. Yes, I will be sure to update the package header as well. I have one other package in gnu-elpa and remember having to do all of that there. Thank you, -- Danny Freeman