emacs-devel
[Top][All Lists]
Advanced

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

Re: Elisp LSP Server


From: Richard Stallman
Subject: Re: Elisp LSP Server
Date: Thu, 14 Oct 2021 18:26:01 -0400

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > This makes very little sense to me: we are supposed to refrain from
  > developing an Emacs-specific feature whose primary audience is Emacs
  > itself,

I think that is a misunderstanding of what the issue is.

I think we all agree that we want to develop code within Emacs to
analyze Emacs Lisp code in whatever ways are useful.  Those results
will be available in Emacs for whatever use we want to make of them.

The question at issue -- unless I have misunderstood -- is NOT about
doing that.

            Because someone might find a way of using it with proprietary
  > software?

The proposal at issue -- unless I have misunderstood -- is to develop
a server interface for Emacs specifically to make those analysis
results available to other editors (which may mean, principally
VScode).

Please correct me if I have misunderstood the facts of the proposal
and its presuppositions.

If I understood right, this can't be of any benefit to editing with
Emacs.  Because all the analysis results we can produce will be
available anyway for editing in Emacs.  Editing Emacs Lisp code with
Emacs will not be improved by this.  The only benefit of this
additional work will be to help people edit it with VScode.

That's why I think this would be an own goal.

Would it be possible to make Emacs launch a child Emacs and use it as
a language server to get the results of these analyses?  I suppose so.
Just as it is possible to launch Emacs inside M-x term and edit in
that child Emacs.

Is there is any practical advantage to starting a child Emacs to do
this analysis in?  I don't see it.  Why not do it in the initial Emacs
process?

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





reply via email to

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