From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KI+lIPO31l9yPwAA0tVLHw (envelope-from ) for ; Mon, 14 Dec 2020 00:55:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sIJvHPO31l+sWAAA1q6Kng (envelope-from ) for ; Mon, 14 Dec 2020 00:55:15 +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 CCAB39404C8 for ; Mon, 14 Dec 2020 00:55:13 +0000 (UTC) Received: from localhost ([::1]:33240 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koc8u-0003rX-2F for larch@yhetil.org; Sun, 13 Dec 2020 19:55:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koc83-0003rE-5w for emacs-orgmode@gnu.org; Sun, 13 Dec 2020 19:54:19 -0500 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:42091) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koc7z-0001z0-AA for emacs-orgmode@gnu.org; Sun, 13 Dec 2020 19:54:18 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id F067E5D1 for ; Sun, 13 Dec 2020 19:54:11 -0500 (EST) Received: from imap9 ([10.202.2.59]) by compute4.internal (MEProxy); Sun, 13 Dec 2020 19:54:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gagbo.net; h= mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm2; bh=9Ujxi4rySYv77hHdUVglSfDUorAk7LZ 0ttkbO1N7mkc=; b=pvj+K/mnhbDUkOV48M8V6A5Ks2jS4/+Lhn0x3BB+yqWrY5F WM3V4fnI1X1YI9PgAjqSIVQcDFCmaaCgRBThGr8DDxcI+oFwVmxO3xIhJwN+qjEp g5bSr+Ha/VC+E21JZjToFBUXG9Q7/bBZ0HNd3EIIzRABldgU81ryzZHHt5wtRJ8M jl9NbscanrPuSDuEYra9WOByrLmh143X0zVHFdxoAnuSBLaW4s1beC9REBrN9NQE c7F2ty7uKmtDm5DtVKx2Az31966Zd2wyTkEt8z9mavM4u9EDpgFXChUz23HW+ki2 984N1pawyfr+6pSgBstkQ2IYoAvcR+31PqvSymg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=9Ujxi4 rySYv77hHdUVglSfDUorAk7LZ0ttkbO1N7mkc=; b=l+aL5XtROK4pWwumGkwtEx cQZquEmEy5fIGZEWnjitqwPs1aHl2TDJeS8AaSQmPCPZztcDGEZY06011DzzoNqn ntOHAzHoZTqDMKdBImqKF0nwZCmsUDlk0jPG6p5zkml5HK/jPtUmshZRzNXxdAC8 BdJH9owzXCVE0bIuJ1WopuJY5gVE+NkpdctkvOW3cMmF1ImH/6D4rO7UoRd7GuDt YVRudEQ07j61NPgtrE9L/Lr22aFA+uc62SNgnPQNQc/XFxeqaKBEl3lTCIpF6aNB fNqOUPfjWhQD9SSa1C7y6JfZcDR8NvaTIvOd26cJDq4PdbjtvChzFoi5ckxlzQ5w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudekjedgtdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesrgdtreerreertdenucfhrhhomhepfdfivghr rhihucetghgsohgsrggurgdfuceovghmrggtshdqohhrghhmohguvgesghgrghgsohdrnh gvtheqnecuggftrfgrthhtvghrnhepjeetheeftdfgtdeugeehtdehjedvffduhfeikefh ueejhfekhfeugeegledvlefgnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegvmhgrtghsqdho rhhgmhhouggvsehgrghgsghordhnvght X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 46D391C0080; Sun, 13 Dec 2020 19:54:11 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.1-61-gb52c239-fm-20201210.001-gb52c2396 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <87o8kf69tm.fsf@ucc.asn.au> <87v9d66l75.fsf@gmail.com> <878sa1ehjl.fsf@gmail.com> Date: Mon, 14 Dec 2020 01:54:46 +0100 From: "Gerry Agbobada" To: "General discussions about Org-mode." Subject: Re: Emacs as an Org LSP server Content-Type: multipart/alternative; boundary=b18ce34a60d54e0982e24b796c82e788 Received-SPF: pass client-ip=64.147.123.21; envelope-from=emacs-orgmode@gagbo.net; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, WEIRD_QUOTING=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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.49 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gagbo.net header.s=fm2 header.b=pvj+K/mn; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=l+aL5XtR; dmarc=none; 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: CCAB39404C8 X-Spam-Score: -1.49 X-Migadu-Scanner: scn1.migadu.com X-TUID: ERG/6YDv+NX1 --b18ce34a60d54e0982e24b796c82e788 Content-Type: text/plain On Sun, Dec 13, 2020, at 21:23, 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. > Hello, The "server" in Language Server Protocol is a program that answers to LSP requests that's all. It could just be a program written in a FOSS licence (like Palantir pyls https://github.com/palantir/python-language-server ) that needs to read the files on your computer in order to answer requests. Data (i.e your org files on your filesystem) does not need to be centralized for it to work. Git was eventually ""centralized"" by github because version control systems and software forges are based on sharing the data between multiple users, so someone can (and will) offer the tradeoff to make the sharing easier at the cost of privacy/freedom etc. LSP servers are just file indexers that implement a common protocol to make writing integrations easier. They are called servers because they are long running process listening to messages, but really everything could (and most of the time do) run offline, with file watches over your "project" and sockets for I/O with clients that run locally Gerry Agbobada --b18ce34a60d54e0982e24b796c82e788 Content-Type: text/html Content-Transfer-Encoding: quoted-printable
On Sun, Dec 13,= 2020, at 21:23, Jean Louis wrote:
* TEC <= tecosaur@gmail.com> [2020-12-13 20:35]:
> > F= rom a perspective that some server has to know what user is writing
<= /div>
> > it is advisable to use one own's servers. But if ide= a gets popular
> > some company will commercialize i= t 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 ru= nning service that responds to signals from a "client" (code
> editor / IDE).

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


Hello,

The "server= " in Language Server Protocol is a program that answers to LSP requests = that's all. It could just be a program written in a FOSS licence (like P= alantir pyls
https://github.com/palantir/python-language-server ) that needs to read the files on your computer in order to answer req= uests. Data (i.e your org files on your filesystem) does not need to be = centralized for it to work.

Git was eventually ""centralized"" by= github because version control systems and software forges are based on= sharing the data between multiple users, so someone can (and will) offe= r the tradeoff to make the sharing easier at the cost of privacy/freedom= etc.

LSP servers are just file indexers that implement a common = protocol to make writing integrations easier. They are called servers be= cause they are long running process listening to messages, but really ev= erything could (and most of the time do) run offline, with file watches = over your "project" and sockets for I/O with clients that run locally


--b18ce34a60d54e0982e24b796c82e788--