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 QJ45LtqO11+FVAAA0tVLHw (envelope-from ) for ; Mon, 14 Dec 2020 16:12:10 +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 EJIBKtqO118cdwAAB5/wlQ (envelope-from ) for ; Mon, 14 Dec 2020 16:12:10 +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 35AE99401BF for ; Mon, 14 Dec 2020 16:12:10 +0000 (UTC) Received: from localhost ([::1]:47582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koqSF-00080Q-Pp for larch@yhetil.org; Mon, 14 Dec 2020 11:12:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koqFB-0000Ne-Rn for emacs-orgmode@gnu.org; Mon, 14 Dec 2020 10:58:37 -0500 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]:39682) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koqFA-0001WU-3F for emacs-orgmode@gnu.org; Mon, 14 Dec 2020 10:58:37 -0500 Received: by mail-pl1-x62b.google.com with SMTP id x18so2742302pln.6 for ; Mon, 14 Dec 2020 07:58:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:references:user-agent:in-reply-to :message-id:mime-version; bh=pOZHN8lDnLxOOC82CHaMHBuFrMj2c+basH227ojEcvc=; b=h5SJdvPg6Stdd8uNLCWYHW0+AI3qohk7DM81BGcYg/8N0h57VFKj/1Fy/W5V3zOt68 C7Ts+y3L0o/Er1obWEh+veRaZZa2jJ+EKZxlVmVmd9eSfseyqiqAbn3GkS8/brxU5Cf1 2heng+uiguhEgLnDHEldRkupQifnI4fVVbvE94naz176B4h9bOeoHGFD7NkHJVVk3+AO UDHoKElSQvwyQy67W/6OQ5dA7VALpknvdPWM4m8LepnMGTB4p84a+d9XNB1R1jRJYVGu 2Zkl3Q+EGXJCL26O7M22Ygy8C+DIkADUbMlyHFVZkEl8D6cbdehaUMjqBq9mGtZcTXYH JA9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:references:user-agent :in-reply-to:message-id:mime-version; bh=pOZHN8lDnLxOOC82CHaMHBuFrMj2c+basH227ojEcvc=; b=JBkFqATA8NsFFC6ggAiOgqQ9AjLK0gNgPaMQiZcyr20vQQtFbqoCwWHrpoUTHR17UC 6O+PKBC2DX4o2dQlzJAN+wrqqOJ53zQJzFp467DnAobWyFx62rhEioHv95z/y1UtZdyW friGNH3naJQnvKB0ZrMT8d2Br6AU4+kemm3fNfo9XDH4F8Vvx5BBHZSetCbvUsHx5TV0 vjeMjuaQGetIHQmC5+PWUCuk9v1ZFTLjr4kilE46U+7nG3Grd94DiZRquPLT2nV2HdmZ UXAcGqS7FsHWrNuJDMLX7OAxrwYC6gMWSzGGonB/lVqeg5lUruIketl0+nSxmBJYpoY5 oJfg== X-Gm-Message-State: AOAM5325XS2g7Yo85pPkFsgZat53oMl+SM3VOnceiz1wW/twG34fz51I uAyBkwFc7mGJZgbjyqUNljc= X-Google-Smtp-Source: ABdhPJwnjXsS/VlS+Ruz0hBSeA06Aie1iRdB5aB6/OM3mhp+MVmdhVX9XNRQw/BrLgrbv5K4vIx4zA== X-Received: by 2002:a17:902:b68a:b029:d8:d387:3d04 with SMTP id c10-20020a170902b68ab02900d8d3873d04mr23550498pls.62.1607961514745; Mon, 14 Dec 2020 07:58:34 -0800 (PST) Received: from localhost (180-150-91-8.b4965b.per.nbn.aussiebb.net. [180.150.91.8]) by smtp.gmail.com with ESMTPSA id q23sm21069943pfg.18.2020.12.14.07.58.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Dec 2020 07:58:34 -0800 (PST) From: TEC To: Neil Jerram Subject: Re: Emacs as an Org LSP server Date: Mon, 14 Dec 2020 23:55:28 +0800 References: <87o8kf69tm.fsf@ucc.asn.au> <87v9d66l75.fsf@gmail.com> <87a6ugpftr.fsf@gmail.com> User-agent: mu4e 1.4.13; emacs 27.1 In-reply-to: Message-ID: <877dpkpefs.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=tecosaur@gmail.com; helo=mail-pl1-x62b.google.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 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, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1, MPART_ALT_DIFF=0.79, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Cc: org-mode-email Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.19 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=h5SJdvPg; 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: 35AE99401BF X-Spam-Score: 0.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: ye9oV76oSX9+ --=-=-= Content-Type: multipart/alternative; boundary="==-=-=" --==-=-= Content-Type: text/html; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable

Hi Neil,

Good to hear that you did take a look at the readme =F0=9F=99=82.

You can think of the LSP as a specification for = cross-editor/IDE extensions. The intent of this is to make some of Org=E2=80=99s functionality accessible to= the ~95% of people who don=E2=80=99t use Emacs, by hooking into Emacs itself.

Does that clear things up for you? You can also see https://langserver.org/.

All the best,
Timothy

From: Neil Jerra= m
Subject: Re: Emacs as an Org LSP server
To: TEC
Cc: "org-mode-email" <emacs-orgmode@gnu.org>
Date: Mon, 14 Dec 2020 23:46:12 +0800

Thanks Timothy.  I did read the README, but I'm afrai= d I still can't quite picture a specific use.


On Mon, 14 De= c 2020 at 15:28, TEC <tecosaur@gma= il.com> wrote:

Hi Neil,

I=E2=80=99m going to quote you the readme from the linked github repo:

Allow the unwashed masses to use Org, without using Emacs, using Emacs.

Here=E2=80=99s the image from the readme 3D"model.png"/

And here=E2=80=99s the first line from the first result of a google search = for &ldquoLSP=E2=80=9D:

The Language Server Protocol (LSP) defines the protocol used b= etween an editor or IDE and a language server that provides language features l= ike auto complete, go to definition, find all references etc.

That should give you an idea of the intent here.

All the best,
Timothy=

From: Neil Jerram=
Subject: Re: Emacs as an Org LSP server
To: TEC
Cc: "org-mode-email" <emacs-orgmode@gnu.org>
Date: Mon, 14 Dec 2020 19:41:05 +0800

Could you describe a use case?  Apologies if I missed= this in earlier threads.


On Sun, 13 Dec 2020 at 10:44, TEC= <tecosaur@gmail= .com> wrote:

A little progress update.

https://github.com/tecosaur/or= g-lsp now exists.

I have no idea what I'm doing, so if anyone has feedback on the current
idea, that would be much appreciated.

TEC <tecosaur@gm= ail.com> writes:

> Hi Everyone,
>
> From the Org standardisation effort the idea of using Emacs as the bas= is
> of an LSP server for Org has been mentioned a few times.
>
> I thought this deserved it's own thread so here it is :)
>
> I'm quite keen to investigate the viability of this idea.
> Some key questions that I think need addressing are:
> 1. How can we 'package' Emacs into an LSP client?
> 2. Assuming we use some language as the basis for the host how do = ; we
>    want to pick it? LSP library? Lisp? Are there any outstan= ding
>    contenders.
> 3. How much effort is involved? Is it worth it to try to make Org = ; more
>    approachable* (without Emacs)?
>
> Lastly, but perhaps even more crucially --- who would be interested in=
> working on this? I certainly am, but this feels like something that > would be more viable with a small working group.
>
> Who's interested?
>
> Timothy.
>
>
> * I can't help but think that this hypothetical LSP server may  &= nbsp;serve as
>  a 'gateway drug' to Org in Emacs =F0=9F=98=89


--==-=-=-- --=-=-=--