emacs-devel
[Top][All Lists]
Advanced

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

Re: Obsoleting `apply-partially`


From: Stéphane Marks
Subject: Re: Obsoleting `apply-partially`
Date: Thu, 12 Jun 2025 20:15:18 +0200

On Thu, Jun 12, 2025 at 8:10 PM Stéphane Marks <shipmints@gmail.com> wrote:
On Thu, Jun 12, 2025 at 6:52 PM Eli Zaretskii <eliz@gnu.org> wrote:
> Date: Thu, 12 Jun 2025 09:33:02 -0700
> From: Daniel Colascione <dancol@dancol.org>
> CC: rms@gnu.org, philipk@posteo.net, yandros@gmail.com, emacs-devel@gnu.org
>
> >I think it's almost ridiculous that Emacs comes without
> >an LSP server for Emacs Lisp.
>
> Why?

Because it should be possible to do Emacs Lisp development aided by an
LSP server, and because Emacs _is_ the place where Emacs Lisp is
developed, and so who is better than us to provide such a server?

> We haven't needed one. We internally do most of the things an LSP could do, and sometimes better. We expand macros to find definitions and such, yes?

Didn't you just say that the linting provided by Elsa is very useful?
I'd like to let users make use of it as part of the development
environment, not as a stand-alone tool.  Since we have Eglot, having
these services as LSP would allow to easily plug them into the various
Emacs features supported by Eglot.

Not just eglot.  I can imagine a scenario introducing Emacs Lisp to people using other editors with LSP support.  They can start to write useful Lisp programs that they can run using the Emacs runtime without the editor (not quite sure how REPL would work for them but maybe Elsa/Emacs Lisp LSP grows into not just a batch tool?).  It would help kickstart people into considering Emacs Lisp the first-class language we already do with its runtime (getting better every day), and a rich core library and packages to leverage even without the editor.  Maybe they'll get hooked and become Emacsers or maybe not, but at least we'd have tools to share with them in a larger ecosystem.

Also coupled with an Emacs Lisp treesitter grammar (I'm aware of this one but never used it https://github.com/Wilfred/tree-sitter-elisp).

reply via email to

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