From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8LvoFci71l9NXgAA0tVLHw (envelope-from ) for ; Mon, 14 Dec 2020 01:11:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aMfmEci71l8cBQAAB5/wlQ (envelope-from ) for ; Mon, 14 Dec 2020 01:11:36 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 934DA9403E8 for ; Mon, 14 Dec 2020 01:11:35 +0000 (UTC) Received: from localhost ([::1]:39986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kocOi-0007hF-Pc for larch@yhetil.org; Sun, 13 Dec 2020 20:11:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kocOA-0007h8-DP for emacs-orgmode@gnu.org; Sun, 13 Dec 2020 20:10:58 -0500 Received: from mail-oi1-x231.google.com ([2607:f8b0:4864:20::231]:45682) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kocO8-0007lP-MJ for emacs-orgmode@gnu.org; Sun, 13 Dec 2020 20:10:58 -0500 Received: by mail-oi1-x231.google.com with SMTP id f132so17413589oib.12 for ; Sun, 13 Dec 2020 17:10:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to; bh=kgT075m8Yr+iHqy1Mi3pTL9RS+uW8j7B5W6qtGwH0qQ=; b=jGAPGRSgxvmsi13Dj4G3ANpWkVghDAGWxhhWlK2WjfODEP4Y/wdjtFiK3lLCkcvWBk N7UyksbkQg3Rg6NLwtIDrnnHGj8CuGijka57dLOR+Vj9I1eCxOgjsPDK2Y3zhApS/VZQ /TMvATYrzOU6xagTBh5eh88Aeo/42T3jyzxiBFh5Yq18Jte0pBdp3SE2CIwH/GthV1dD 2BnmJYLlgHnUT+qU/4WZlCOERp4yOdaw0i0ga9G5jjqfMAfFYp3pVF9wNYaiO8ClV8Ov c3qg6bySozOrlfFZaRmTG+VV6/IP+j89e13TrKdv0Ww9J/jR/Zx2bxa6+YMTJuCx0ybQ dUtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to; bh=kgT075m8Yr+iHqy1Mi3pTL9RS+uW8j7B5W6qtGwH0qQ=; b=I6jJAFszIgGE7nPawNjdpXlwm0MgIwoqVBFQ0xU6hHW3IgpNW/3lNB8Q9IqIwrGxWL jPShZY60qcN+qDNdRV1R6im4P+gR9tGCzAY7GDatiLMnwx/HtpnZWAiS/PDup5nH5dqD pD6jhDa77hTNd24rJi39q9nkxXXM6PidhYT8p+zheaOLpAf2ILuZwRZ3Kke6EO+ouFGm Zata0ahCaK7JjtNrXrQAw6gOs55Qacx+UwS9KIGEPgRZqXz6efegnEB0xHPEBuPijGke P03GEq4hqGETNjEtbDVIAObajR6UkXy7VKWYu55SZFEWoJKD4Ot4/zOMrXp54ft1d3Gj 1zjA== X-Gm-Message-State: AOAM530f3xSwx9SFKH0yFjTB/XseTcIvmPVtlY9lJ5Lq9Yb1s35cdcXb vJwHzKkuGw1WBX8J7Dvly3jsKRc3ppU0DgipOQb+2gFL X-Google-Smtp-Source: ABdhPJwaHRhfTyPq3AMUbmlS1PsZC2gVNs4NwYnjyZ6UrmAa90eIZn78l1sTqCGm9EsO0ESRsU5acBVt/UAe4yH6e74= X-Received: by 2002:a05:6808:96:: with SMTP id s22mr9105570oic.153.1607908255184; Sun, 13 Dec 2020 17:10:55 -0800 (PST) MIME-Version: 1.0 References: <87o8kf69tm.fsf@ucc.asn.au> <87v9d66l75.fsf@gmail.com> <878sa1ehjl.fsf@gmail.com> In-Reply-To: From: George Mauer Date: Sun, 13 Dec 2020 19:10:44 -0600 Message-ID: Subject: Re: Emacs as an Org LSP server To: emacs-orgmode Content-Type: multipart/alternative; boundary="00000000000061b9b105b662501f" Received-SPF: pass client-ip=2607:f8b0:4864:20::231; envelope-from=gmauer@gmail.com; helo=mail-oi1-x231.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: gmauer@gmail.com Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=jGAPGRSg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 934DA9403E8 X-Spam-Score: -3.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8xtp39/06n5a --00000000000061b9b105b662501f Content-Type: text/plain; charset="UTF-8" I think maybe you might be thrown off by the word "server"? Lsp is just a standardization of how an editor can do language-specific things. The fact that standardization exists makes the whole thing pluggable by various services. These typically run in a separate process - which is a good idea anyways - on the same machine and the plugin just starts that prices and communicated to it. Typescript, c#, I think python, and JavaScript (and maybe Java?) plugins already do this On Sun, Dec 13, 2020, 14:34 Jean Louis wrote: > * TEC [2020-12-13 20:35]: > > > From a perspective that some server has to know what user is writing > > > it is advisable to use one own's servers. But if idea gets popular > > > some company will commercialize it and centralize user's data and > > > privacy is gone. > > > > FYI the nature of LSP (as I understand it) is that the "server" is a > > locally running service that responds to signals from a "client" (code > > editor / IDE). > > That is how it starts until corporation like Github or somebody else > takes it over. Just look at Github pattern. Git was decentralized > system that they centralized for 50 million developers and included > eye candies that one cannot self-host as one wants. > > Jean > > --00000000000061b9b105b662501f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I think maybe you might be thrown off by the word "s= erver"? Lsp is just a standardization of how an editor can do language= -specific things. The fact that standardization exists makes the whole thin= g pluggable by various services. These typically run in a separate process = - which is a good idea anyways - on the same machine and the plugin just st= arts that prices and communicated to it.

Typescript, c#, I think python, and JavaScript (and maybe Java?)= plugins already do this

On Sun, Dec 13, 2020, 14:34 Jean Louis <bu= gs@gnu.support> wrote:
* TEC &l= t;tecosaur@gmail.com> [2020-12-13 20:35]:
> > From a perspective that some server has to know what user is writ= ing
> > it is advisable to use one own's servers. But if idea gets po= pular
> > some company will commercialize it and centralize user's data= and
> > privacy is gone.
>
> FYI the nature of LSP (as I understand it) is that the "server&qu= ot; is a
> locally running service that responds to signals from a "client&q= uot; (code
> editor / IDE).

That is how it starts until corporation like Github or somebody else
takes it over. Just look at Github pattern. Git was decentralized
system that they centralized for 50 million developers and included
eye candies that one cannot self-host as one wants.

Jean

--00000000000061b9b105b662501f--