[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Brand new clojure support in Emacs ;-)

From: João Távora
Subject: Re: Brand new clojure support in Emacs ;-)
Date: Sat, 02 Sep 2023 10:14:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Danny Freeman <danny@dfreeman.email> writes:

> 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.

OK.  So at some point, if you want your new clojure-ts-mode to be
integrated with CIDER, a more formalized API will have to emerge for
your new mode to adhere to.  It would be a good service to everybody to
take opportunity to document it and formalize it.

> I see your other message where you discovered some of my reasoning, and 
> 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.

AFAIK, putting your clojure-ts-mode in GNU Elpa core GNU Emacs does
_not_ collide with the practice of developing in a GitHub organization
nor with your intention of integration with some specific tooling...

I've had a look at clojure-ts-mode and is seems very young indeed.  Is
there any reason you didn't derive from lisp-data-mode? I think you
should at least reuse lisp-data-mode-syntax-table instead of listing a
very large entry that essentially repeats it.

I am curious about the performance and capabilities of tree sitter in
Lisp modes.  Lisp modes are perhaps the easiest modes things to parse
and the ones Emacs has better support for.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]