emacs-devel
[Top][All Lists]
Advanced

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

Re: Elisp LSP Server


From: Alexandre Garreau
Subject: Re: Elisp LSP Server
Date: Mon, 25 Oct 2021 09:47:41 +0200

Le vendredi 22 octobre 2021, 21:59:26 CEST Tim Cross a écrit :
> Alexandre Garreau <galex-713@galex-713.eu> writes:
> > Le vendredi 22 octobre 2021, 18:40:06 CEST Dmitry Gutov a écrit :
> >> On 22.10.2021 19:23, Mathias Dahl wrote:
> >> > About this convenience feature of being able to very easily open VS
> >> > Code when browsing GitHub, we could develop our own
> >> > Chrome/Edge/Firefox extension to allow the same workflow if we
> >> > wanted.
> >> 
> >> The OP was referring to being able to open "VS Code" (a version of
> >> it)
> >> inside the browser. It's a "cloud IDE" sort of thing.
> > 
> > Is there an implementation/backend of VS Code implemented in
> > javascript, or transpiled to it?
> 
> I think vs code is an electron app, which means it is largely
> implemented in javascript. It uses javascript for it's extension system.
> > It would anyway, without having to transpile C to js (which already
> > exists, but not including X ofc (hopefully?)), or elisp to js (which
> > may already exist or be easily doable from what exists), be possible
> > to develop not really an extension but a plugin that would allow open
> > emacs inside frames such as it was possible to watch videos before
> > <video> and firefox to include its own player
> 
> I think the best phrase for here is "Nothing to see here, please move
> on". There are already solutions to pass off content from the browser to
> Emacs (e.g. org protocol and the edit with emacs extension).
> 
> I also think what is really needed in the free software community is not
> an extension which allows emacs to run inside a browser or an LSP mode,
> but rather a well designed free javascript library which would
> facilitate the development of web UIs that would allow sites like
> savannah.gnu.org to have an interface as functional and modern looking
> as github using free software. I'm sure more people would be just as
> happy to use savannah for their project hosting if it didn't look and
> feel like being beamed back to 1999 every time you used the site. Such
> a library could even be designed and developed with a focus which makes
> integration with other free software projects even easier, further
> increasing the likelihood of free software being used/preferred in
> modern web environments.

Of course not.  The big monopolies, that is AngularJS, React, CodeIgniter, 
etc. are all already free-software.  Most of the software running server-
side also is free-software.

What is very anti-freedom is the very paradigm they enforce, that is “the 
cloud”, or more specifically: to make everything depend on servers, that 
send on-the-go obfuscated (“minified”, which actually often includes some 
steps of compilation such as open-coding, constant-propagation, code 
suppression, etc.) javascript, that could change at each page load, 
resulting on something that, even if it had a free-software license, would 
be very non-free in term of collective users’ rights (each user cannot 
inspect each script individually, that they will be the only one to see, 
so even less modify them, see the WWWorst AppStore), all that while 
favorizing a server-side workflow that’s here to simplify “scaling”, that 
is evolution toward an end such as one computer is not enough to run the 
service, and the software is tailormade to be easily movable (“scalable”) 
to many interconnected servers that will do load-balancing, hence the need 
“not to care where runs what”, because computers start to be seen as a 
fungible, anonymous, unidentifiable, cessible, unimportant ressource among 
others…

…while, especially *politically*, this is very untrue! that’s what makes 
most of modern developers&sysadmins (“DevOps”) run toward AWS and, most 
generally, cloud (any VPS in general, just forgetting forever about owning 
your own computers), and any sovereignity illusory.

So no: running *out* of the current javascript web is the best idea, and 
improving or advertising something such as this org-protocol I never heard 
about looks like good.

PS: this still makes me dubious as I always used org-mode without any link 
with any browser, without ever becoming aware of it (which would be an 
important step in advertising it: making some part of the normal workflow 
(such as exporting) present it as an option), plus org-mode has 
unfortunately infamously been notorious to use/promote proprietary 
software or interaction with it.



reply via email to

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