From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GMD7Ky8XC2EHwQAAgWs5BA (envelope-from ) for ; Thu, 05 Aug 2021 00:39:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WNzVJy8XC2GDCAAA1q6Kng (envelope-from ) for ; Wed, 04 Aug 2021 22:39:43 +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 DBA96165DF for ; Thu, 5 Aug 2021 00:39:42 +0200 (CEST) Received: from localhost ([::1]:41942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBPY4-00024y-TF for larch@yhetil.org; Wed, 04 Aug 2021 18:39:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBPXQ-00024q-CA for emacs-orgmode@gnu.org; Wed, 04 Aug 2021 18:39:00 -0400 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]:35500) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBPXO-0006wA-LZ for emacs-orgmode@gnu.org; Wed, 04 Aug 2021 18:39:00 -0400 Received: by mail-pj1-x102d.google.com with SMTP id s22-20020a17090a1c16b0290177caeba067so11129550pjs.0 for ; Wed, 04 Aug 2021 15:38:57 -0700 (PDT) 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:content-transfer-encoding; bh=WxW87Tzig963riF5fL/lL8SqPEgrv1/R9RzTjVwykMo=; b=lhFSgr3+UM8S8PLDIr+TP5H1OJvkkLS2nvKeG8yfE9kHlYoRlYGTfAYrQlKlS2bfRF lTTKOCsSZGHmux2NiG65KKKyiuejinv94FrsMYQuU6Bu+XKwI4WPZSRqc0NEUj+9j9Wh u1WGHOQuUHuAsmZcRjwDdcMy8XMV0Qu2khsziIedOwWolmcy0J3zpYjOKU/TpfwXGvrW apclzyImWuf2Xlie4t1X84YA9AYzFjsvjaef/K21xJ+OKY4sW2G8ViNF2BRkpngb4V/A 3+U1veaSCmE13cVJCiF4tS3CtoYBv/fVivIqwVsg+P8TZyoidHMXE0bpRDE8NWzqL/Sz gQ9A== 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:content-transfer-encoding; bh=WxW87Tzig963riF5fL/lL8SqPEgrv1/R9RzTjVwykMo=; b=XL+9c9X75hTAeuIQUTYVNfajnDFVy1kq+vCagxyEuuYheDvXe7clpbREG+xkkQHwaE t5Rcep+uilsnx+hmerKcI8OaAfOHM3pLIRGVe0mr0DQ2fRXmPQ0H05SWAd1ijNkrkKSv jlH8wy9NwiqBYRa0nBGwt2WLy+xYX55f5lFGuESkKa8lW+SnKLuHtF7OE/Ctn9xr8kDG d/p/obeN3guceZzJOq8ISvIq4m2SM5tjSEHcGDZf4xf43n0oET59qmba7XYw3AiPzgcB BJW39yerL2ab2fOEYLvzbPL6eiqyb9aWTzLzkio5FrYa882FeDWzg7llmxEgACoKgXNn WV0g== X-Gm-Message-State: AOAM5327+fBkbhQUnWkHqXVQl+fUfm9EOfWBRDh9F5yYg5nMU/ioGUaB zTOxX8VINeoOdH9iO4C2BfXGWSXjuFs= X-Google-Smtp-Source: ABdhPJyPMIyysdxRUQixKpw/iAuEk2lfppaHTHRh8brXMgCMdsNc9YOgCp6DI+UzBelRroKx9elHyw== X-Received: by 2002:a17:902:6b4b:b029:12b:f96f:dc03 with SMTP id g11-20020a1709026b4bb029012bf96fdc03mr1535746plt.14.1628116735917; Wed, 04 Aug 2021 15:38:55 -0700 (PDT) Received: from tim-desktop (220-235-13-134.dyn.iinet.net.au. [220.235.13.134]) by smtp.gmail.com with ESMTPSA id g25sm4119425pfk.138.2021.08.04.15.38.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Aug 2021 15:38:55 -0700 (PDT) References: <2021-08-03T11-03-22@devnull.Karl-Voit.at> <2021-08-04T12-54-06@devnull.Karl-Voit.at> <20210804190018.GA17572@atlantis> User-agent: mu4e 1.6.1; emacs 28.0.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: Help requested: Support for basic Org mode support in tools outside of Emacs Date: Thu, 05 Aug 2021 08:28:48 +1000 In-reply-to: <20210804190018.GA17572@atlantis> Message-ID: <874kc4lts3.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::102d; envelope-from=theophilusx@gmail.com; helo=mail-pj1-x102d.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 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628116783; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=WxW87Tzig963riF5fL/lL8SqPEgrv1/R9RzTjVwykMo=; b=X41tQBvkEQ+v/HGQGh5X1M8krTycReeaHwzUb8fZZgafBy+OIEn4rfVY3eHGhX+cN5qwkJ jTDJIJT0XBJM32b6Tiio7YE+NWGB0BvRzlkcS9vTHwazX6cPE1KcyzR1nvHmRQ0hsQ1M6p 9FcENEFmwCIexlJFm2TAU2JPsZT+mSe4rkXLGUF33zFI7nScbnI6axwELXl7tQ+p0ZKMmq 7ObzuafBtz4is5B0nlC/tTbqSUPKCKo9KBvFT0Da5jh4e/rFSIKMAfOl4SWbJ8jQx3wuQ1 rxCJU+XcaPGEGMPLWe14paYOaW4DXtKbB3h6ikArfMAy2u8jsjTPmUlJHEhI4A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628116783; a=rsa-sha256; cv=none; b=JV6h9PwZhHRMBYprlJcPJI26h4kvhh4YtOsE3HFR2OCBOGBA5Qgt9Rnspm38EcvYe/k0Xm UiPdSNq0KvjfC1T/MxP6m102Ii68fTvVc9gDw+vdDVatqEQc+PSw4Sg7kaN1b7oX4VIOJY AuE4ERBUoTa73Ux7dl9NvSYpk8ninXdeBir4X1Qp/y6tgZIWpAjx9YrGdh18ikWXoS+5s7 EEpu9Wemdx0HeUi5dGNexIZNU2xkbDw091JJ3incNkvMotj00yuYk2+Z4gKpkj+V+CieGQ X6HSVRGKY1G4maUxyQH7TV8ywX20V/Fdt8mSkKGm0fQMfgQY7NUQjEqNQh/DQA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=lhFSgr3+; 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-Spam-Score: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=lhFSgr3+; 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: DBA96165DF X-Spam-Score: -3.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: crC6h0ePsQf1 M. =E2=80=98quintus=E2=80=99 G=C3=BClker writes: > Am 04. August 2021 um 12:57 Uhr +0200 schrieb Karl Voit: >> My focus is on Emacs-independent tools, emphasizing the argument >> that Org mode is not Emacs-only and its syntax does have >> applications outside of Emacs as well because it is a well-defined >> syntax in the sense of >> https://karl-voit.at/2017/09/23/orgmode-as-markup-only/ > > It is an interesting post, thank you for sharing. Indeed, a list of > non-Emacs org tools would benefit org's popularity as a markup > language. Good luck with building one! > > The problem with the approach you describe in this article is that the > org markup is not really separatable from org as a part of Emacs. By > setting some variables, the user is able to change the org syntax > itself and tailor it to his personal taste. The org manual even gives > a simple example for adding new TODO states at =C2=A7 5.2.1: > https://orgmode.org/manual/Workflow-states.html > > While this might not fall under the restriction to basic facilities, > it is perfectly possible to redefine variables that define the basic > syntax as well. If one does not like stars for heading prefixes, > it is possible change `org-heading-regexp' to whatever taste is at > hand. A more practical example (which I use myself) is adding new link > types as explained in =C2=A7 A.3 of the manual: > https://orgmode.org/manual/Adding-Hyperlink-Types.html > > I recall from a discussion on this mailing list which I cannot seem to > find at the moment that the inseparability of org syntax and org Emacs > tooling is official position of the org developers. I think it was in > the context of registering a MIME type for org. In any case, org as a > syntax is a moving target, as the recent additions in form of > citations have shown (see https://blog.tecosaur.com/tmio/2021-07-31-citat= ions.html). > > Note I am not at all opposed to your quest. In fact, I would love to > have more widespread support for org so that it is easier for me to > collaborate with non-Emacs users on plain text documents. I just > wanted to point out difficulties of spreading org in the world outside > Emacs, which may be hard hard to imagine, but does exist. As an aside, > I hope that pandoc will receive support for org's new citation syntax > soon. > While I'm skeptical about having any *real* org mode outside of Emacs, I do think that having tools able to parse org files and possibly handle basic things, like changing TODO states or following links, is possible. While it is true that some of the org-mode features for adding new TODO states or link types do make creation of such tools more complex, I'm not sure these are really changes to the org syntax. TODO states, link structure and section prefixes/markers are well defined elements and syntactically consistent. External tools may need the ability for the user to also set/define these structures to facilitate compatibility and some tools already do this - for exmaple, beorg (iOS) lets you define TODO states. BTW has anyone mentioned the VS Code org plugin - I guess that would meet the criteria as an external, non-Emacs based tool for doing org style markup. I've not used it, but noticed it when I was playing with VS Code recently.=20