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: Brand new clojure support in Emacs ;-) Date: Fri, 01 Sep 2023 14:39:53 -0400 Message-ID: <87r0nhhgb5.fsf@dfreeman.email> References: <87il9kksqz.fsf@dfreeman.email> <87wmy080kn.fsf@posteo.net> <83v8djcydl.fsf@gnu.org> <87350ndquw.fsf@dfreeman.email> <83350ncbns.fsf@gnu.org> <87cyzrjbd8.fsf@dfreeman.email> <83zg2vav46.fsf@gnu.org> <87o7j99304.fsf@dfreeman.email> <87zg2hsyrd.fsf@dfreeman.email> <87h6ontwfv.fsf@posteo.net> <835y4ucrz3.fsf@gnu.org> <831qficgin.fsf@gnu.org> <87ttsehwab.fsf@dfreeman.email> <87fs3x6ge7.fsf@gmail.com> <87v8cthmzl.fsf@dfreeman.email> <87a5u56atj.fsf@gmail.com> Mime-Version: 1.0 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="37605"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Dmitry Gutov , rms@gnu.org, emacs-devel@gnu.org To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 01 20:59:06 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 1qc9MH-0009Xm-EA for ged-emacs-devel@m.gmane-mx.org; Fri, 01 Sep 2023 20:59:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qc9LQ-0005fF-JS; Fri, 01 Sep 2023 14:58:12 -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 1qc9LN-0005Qk-P4 for emacs-devel@gnu.org; Fri, 01 Sep 2023 14:58:10 -0400 Original-Received: from out-234.mta0.migadu.com ([2001:41d0:1004:224b::ea]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qc9LB-0000Qe-Im; Fri, 01 Sep 2023 14:58:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dfreeman.email; s=key1; t=1693594674; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QFobAmltkyp1K1oroNxc0QkedchmZ3rvPZq8JisGH2Y=; b=RAmo1knGo/lmk/8hDTq3k0oI10BeHMtxw20zk0nBzhqSDwRWqWJHbEHQu2y+igz4x7rQw8 wrkQqe2eIgiV7Ac476VNjfxEG/jax3el/4+zt8zZO3/bCEBIxSs4QcD/Dw50QtJrxfRG3M WBPH5iTtFVBXyHt5hSBnKc99oR6zhS8= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-reply-to: <87a5u56atj.fsf@gmail.com> X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:1004:224b::ea; envelope-from=danny@dfreeman.email; helo=out-234.mta0.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=unavailable 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:309832 Archived-At: Jo=C3=A3o T=C3=A1vora writes: >> In no particular order: >> - Clojure-mode has built in refactoring tools, not all of which exist in >> clojure-lsp (to the best of my knowledge). > > An example or two would be nice.=20=20 I don't use the clojure-lsp refactoring tools, so can't speak much to them. The clojure mode ones are numerous, and include a lot of helpers for winding and unwinding threading macros, extracting things out into definitions and let bindings, namespace sorting (I'm pretty sure clojure-lsp does that), changing collection literals, and more. I'm sure the clojure-lsp refactoring tools are very capable. > It seems you are saying that it is tightly coupled with CIDER. Is this > API described anywhere? I don't think so. CIDER and clojure-mode are developed in lock-step, along side a couple other projects written in clojure to support CIDER from within the clojure repl process. The API is just the functions that CIDER calls from clojure-mode. If you want more information you will be best off reading the CIDER source. >> There is nothing very special about clojure-ts-mode that I develop right >> now. It is a work in progress and far from finished. It's not even quite >> to the point where I can dogfood it at work yet. A long term goal is to >> provide everything clojure-mode provides for CIDER with >> clojure-ts-mode. > > I might have missed some important from yourself, but if clojure-ts-mode > is in such stages of infancy and you are its author, why don't you > consider placing clojure-ts-mode in a GNU repository? If CIDER is such > a fundamental tool (like SLIME and SLY are for Common Lisp) your > long-term goals would decidely also apply to any future GNU Clojure > mode for Emacs. I see your other message where you discovered some of my reasoning, and=20 I feel I've already explained my position. You will also see a later message where I said once clojure-ts-mode is in a more "done" state I will revisit the question of inclusion here with other clojure-mode devs. Until then I will continue to develop clojure-ts-mode in the clojure-emacs github organization with the intention of integrating it with the rest of the clojure-emacs tooling. I appreciate the numerous offers I have had to pull clojure-ts-mode into Emacs, but for now I am saying no. --=20 Danny Freeman