emacs-devel
[Top][All Lists]
Advanced

[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: Wed, 30 Aug 2023 22:47:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Philip Kaludercic <philipk@posteo.net> writes:

>> Why?  If the NonGNU people are "too cool for school" after having been
>> invited to GNU, why should the GNU project make even more special
>> accomodations for them?  Not up to me to decide anyway.
>
> Mainly because this will affect users, not the maintainer.  
> [...]
> Also, I don't see a reason to provoke the Clojure-mode maintainers.  I
> disagree with their reasoning and fear they have been misinformed, but
> the best way to remedy situations like these is to be understanding and
> prove ourselves to be cooperative by example (IMO).

You seem to be under the misguided impression that my proposal is meant
to bother, provoke or help change the minds of the NonGNU Clojure
maintainers?  It's not.

I simply think they shouldn't have a say in how the Emacs project
answers Richard's original request of a Clojure editing mode in Emacs
propoer.

Richard says writing a major mode is not that hard, and I agree.  My
proposal is an extreme answer to that, writing a fully functional,
featureful major mode in just two lines of code.

Of course, it took advantage of the fact the fact that the language to
support is a Lisp dialect and there is an excellent LSP server for it.
But there's no reason _not_ to take advantage of that.

As to naming, it's not my call, so let's have Richard chime in.
clojure-mode, newclojure-mode, etc, I personally don't care, since I'm
not a Clojure user.

That said, I _would_ like to see a mode built from the ground up to work
entirely on top of LSP, not unlike some modes today are being built on
top of TreeSitter.  For example, the few lines of code to add to those
two could be the automatic installation of the clojure-lsp language
server.

João



reply via email to

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