From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MADZKOi71l8QXwAA0tVLHw (envelope-from ) for ; Mon, 14 Dec 2020 01:12:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IFSeJOi71l/ZLgAAbx9fmQ (envelope-from ) for ; Mon, 14 Dec 2020 01:12:08 +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 421E69403E8 for ; Mon, 14 Dec 2020 01:12:08 +0000 (UTC) Received: from localhost ([::1]:40670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kocPH-0007yY-6O for larch@yhetil.org; Sun, 13 Dec 2020 20:12:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kocOY-0007xs-7s for emacs-orgmode@gnu.org; Sun, 13 Dec 2020 20:11:23 -0500 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]:40118) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kocOV-0007s9-SO for emacs-orgmode@gnu.org; Sun, 13 Dec 2020 20:11:22 -0500 Received: by mail-pj1-x102a.google.com with SMTP id m5so5626687pjv.5 for ; Sun, 13 Dec 2020 17:11:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=U5VTwTdqp3Q2evDwPQEiiFaWrD8KP/GK9NeEx8FhxYk=; b=Op5cmPF/IpEXhqla1B5PuhK59YemZyPgZktfobkQgUfX/tLxNAMfc2ms5THkN0wjdE thaD1zKU85V2Yg135LrFHGktzysRP3ZIj82ssctPjaP//G+9r60lBDdStE9/2P78zAfN Y1FBSdzYGDYFLv4dlv7OJtS1vtECT+s6sNNmqk4iUgOKWiALQn0uGy+HAgSRCQkYlpc6 Hzh1kCG+ghbrYxf25eSKi/oM7JyXIvdYurXyQYsZ7wPYbOADw8MdUE+tU9OJ5rDsKPGv LtU3ga63lGWhpW0Ik8wfkQA5cT5bBXMJubz0C8ht3o0sjSeTj+pDBRp2dLonzwri4KaT lMbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=U5VTwTdqp3Q2evDwPQEiiFaWrD8KP/GK9NeEx8FhxYk=; b=SuEVOBbJzyIcNRnnFkexdGDQe6YzgOWxB1VYlRAr3z4Lrvb/78oIAML2iS+XDRWlll vadelEecqMJucmzjRUfMpIQ2NDgIzJUKjN/CXIzPFaxu4OmPJbt8cJ+y51Dr0/Gcaemp GriWfz/ucP2cndJA8fLslkaRxgohrbzDzvRYvq6PIqEfCTGPXc9KurYK610h8yM/rBe/ 6bTIZBAkWao+kAK45X1gNYRRMaKQUM9JixEoNuezEpxlX3wpegrUekg+fXZB3elUOpl/ X0v8JPUMe0kC02iM+2ZOga0bx0bbjI+tVuR75s3adRRoC7Q4aHe1zNpKNDYx3GUc/EiK kK4Q== X-Gm-Message-State: AOAM531wSGRkos7z+hpxbTsjP2FU/+L22ilb53oORZCKjCZw1wX0p6hq 6gmBPSvY60aYmLd1GGPuX0H/mFyrdqMqVay7 X-Google-Smtp-Source: ABdhPJyEL4EtK6m8nzP66nm44jPoXbnxwVic84oBhEFvNvHCcYl8WH9xZG4Z2G1gbOiMo83LQRXCsg== X-Received: by 2002:a17:90a:eacf:: with SMTP id ev15mr23668296pjb.174.1607908277204; Sun, 13 Dec 2020 17:11:17 -0800 (PST) Received: from tim-desktop (106-69-107-167.dyn.iinet.net.au. [106.69.107.167]) by smtp.gmail.com with ESMTPSA id e5sm16761478pfc.76.2020.12.13.17.11.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 17:11:16 -0800 (PST) References: <87o8kf69tm.fsf@ucc.asn.au> <87v9d66l75.fsf@gmail.com> <878sa1ehjl.fsf@gmail.com> User-agent: mu4e 1.5.7; emacs 27.1.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: Emacs as an Org LSP server Date: Mon, 14 Dec 2020 12:04:58 +1100 In-reply-to: Message-ID: <87lfe1i43y.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=theophilusx@gmail.com; helo=mail-pj1-x102a.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: -3.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Op5cmPF/; 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: 421E69403E8 X-Spam-Score: -3.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: ECECeZ9bux4N Gerry Agbobada writes: > 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 > > Good clarification and content. It is important to separate implementations from protocol. LSP is just a protocol to allow an interface between an editor and a service which can provide additional functionality in an editor independent manner. -- Tim Cross