From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8HcSAwqMfGN6dgEAbAwnHQ (envelope-from ) for ; Tue, 22 Nov 2022 09:44:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QOIMAwqMfGOCgAAA9RJhRA (envelope-from ) for ; Tue, 22 Nov 2022 09:44:58 +0100 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 AA0B2113E3 for ; Tue, 22 Nov 2022 09:44:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxOtI-0006vW-LM; Tue, 22 Nov 2022 03:44:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxOtG-0006uz-5T for emacs-orgmode@gnu.org; Tue, 22 Nov 2022 03:44:26 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxOtE-0008Ns-7X for emacs-orgmode@gnu.org; Tue, 22 Nov 2022 03:44:25 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 20DA1240101 for ; Tue, 22 Nov 2022 09:44:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1669106661; bh=avaYDlsdJGiIQmWv6DzpO4dDFhcgk/8OwpspD6KXpls=; h=From:To:Cc:Subject:Date:From; b=g17+QNaqYl5yL4Xjp2DH6SiMcI9tX5ai85PLENjRlO2NvUiHjdWgdOpiE3bQFunBr 7+gRPnxx8UJ53NgmIrigCu7dlL0IY87njtNpa7EEm3/dWyH5CQ86fnd6NkOb7NnM8k yBV1JQhNOYMhtpg9wSP95FD+27TUHdKML8mAN+cZG5LcGbIu9/dvMaDgJI3Fz9gKFq cuFjxM3u7WVivIzPUe9TKirrB3RD27oYVsqlEuC6QKVDoBYZmQcNuF3NVBZ3RTkqMS p5Z1QLFikECsgCWEgVifk27gz8Ax23yOyXnBWs8PtBvL3yl8nsL0b+Px5vD9lNNzEg D516cC+uKChWw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NGd8x3vKmz6tm4; Tue, 22 Nov 2022 09:44:17 +0100 (CET) From: Ihor Radchenko To: "Cook, Malcolm" Cc: =?utf-8?Q?Jo=C3=A3o?= Pedro , Karthik Chikmagalur , "emacs-orgmode@gnu.org" Subject: RE: [PATCH] LSP support in org-src buffers In-Reply-To: References: <87bkqmdhqz.fsf@gmail.com> <87sficbccx.fsf@gmail.com> <87a64jd8w4.fsf@localhost> Date: Tue, 22 Nov 2022 08:44:59 +0000 Message-ID: <87o7szidis.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669106697; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=mOKl1ObJVT0VmpnS/6B6sFqDZ3JcIKAJ8VlqeKhd0uU=; b=SFrCFcYsOxPxrNsn9Y5AjjyYG/AFj7pVMw5HLXviF9Nc5yL2MeuepOYpVygR+skAQtU/84 YufF5Jxvba94dDosWr2q7fLjKsKaIZu5YgQuhS+tJjE+ff5jhQGlrFASos2+X7bvMKrBK2 CsNUCk12hkLfZfUFr3LKyK+r0i930llTnESLmX2xthwFKn5Dbhf+4gtqND5nY+6yYIhI+E XmysX3fROh3aS2HGQyjbihVOgOPTjIN23nAj8LMCGucEvkEILeEB44ZOiXFQtUiTZCU5jo z9JhtRpxJyjvnVAFisbLWm5Bgokejy3fYurmHQ3TYwFE5xB7j8SxnY/XuXI9+Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669106697; a=rsa-sha256; cv=none; b=oLbtqvk+QbZ0/c+w9VXPcUsrPEgNhHVYcKulEzikDi6VsxVvHih51oaQgmm/okjGw8cJWJ P635f0FLqujQR/EMsWvI4PtccFME8swJ1jyVZDzAqztonY4YfEJP2tF0RT3sV0jAMdjafx yos6zmYASBWxnfSoS6VGnAi7qyHN+IVu/LDZykvWgL0ixBnnha6G3AvJnkL0M15hV1FzHN xnAMp5BtB4XP7ERTh+se9SxNDrisfbEDYTTFIIwHdjgY09XtXtoojJUcnpr8j6uoIzvoot frbeyXVj8TfoqnS3Ut5aZpgd046L99Ann4qioV6OeF2SpvXOOF2zmt1lEDyaYA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=g17+QNaq; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.70 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=g17+QNaq; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AA0B2113E3 X-Spam-Score: -3.70 X-Migadu-Scanner: scn0.migadu.com X-TUID: BDz4LdXgDDfE "Cook, Malcolm" writes: > Coming late to this discussion=E2=80=A6. > > Might there be some value in considering the aims and methods of [Polymod= e](https://github.com/polymode/polymode#readme) in this regard? There seem= s to be a significant overlap of concerns. > > Just a thought. I can see why you mentioned polymode, but let's not go there yet. Polymode is a very fragile and complex interleaving between several indirect buffers with different active major modes that allows "native" key bindings, minor modes, and fontification in source blocks. What we are discussing here is closer to https://github.com/phillord/lentic, which syncs contents of two or more separate, not indirect, buffers. There is really nothing much we can borrow from lentic or polymode. It is fairly straightforward what to do in general. However, the details like noweb support and code blocks boundaries are to be discussed and figured out. In any case, Jo=C3=A3o has a working solution. Once we get some actual patch that applies onto Org, we can start to improve it incrementally. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at