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 ms0.migadu.com with LMTPS id gOYLON4o22FnBwEAgWs5BA (envelope-from ) for ; Sun, 09 Jan 2022 19:26:38 +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 QM9vNd4o22EN2QAA9RJhRA (envelope-from ) for ; Sun, 09 Jan 2022 19:26:38 +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 482823D7A7 for ; Sun, 9 Jan 2022 19:26:38 +0100 (CET) Received: from localhost ([::1]:42034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n6ctp-0005Vr-2D for larch@yhetil.org; Sun, 09 Jan 2022 13:26:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6csn-0005Tq-T3 for emacs-orgmode@gnu.org; Sun, 09 Jan 2022 13:25:34 -0500 Received: from [2607:f8b0:4864:20::62b] (port=38864 helo=mail-pl1-x62b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n6csl-0007yD-NB for emacs-orgmode@gnu.org; Sun, 09 Jan 2022 13:25:33 -0500 Received: by mail-pl1-x62b.google.com with SMTP id c3so10204426pls.5 for ; Sun, 09 Jan 2022 10:25:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:user-agent:message-id:mime-version; bh=mvh+fvL4ny9jgR1KP81RoE8LpxuyJGI58v/MVmyDmF0=; b=WZDOaK6zHUgAopFNNTgUKFm2BzIMTFWNsYR+Aa4iFtvycYJnN86aUFFUIgQ6I18DVW MMxtO2QlHjjmLSsAxv79fEVHIflAfg3urxFRV8T86KQGC0WISbOQHdLZaOqEzTegMt+I dykLlSoxKWATLJdfNYGH8JBN3ZVTgBiqD8vx5pJRJLbr75Q/ipRGQtc1CXi5FWaCVs/e 86Zf6eeUEb3Xuh6PHcxoUJZnPAKKHCJXvIm8rpCI6MtlmHg0+g0XA8u3qQV12EvJokHD OLoOLLrb9hy4GIzwcjgiHTvHGKlfQHre42fdJvzd5A44tKNhcxEp3ZV8ibYp9T8CTCKG fObw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:user-agent:message-id :mime-version; bh=mvh+fvL4ny9jgR1KP81RoE8LpxuyJGI58v/MVmyDmF0=; b=nC2MjBvg2Y6oz64DqSzP9q8ugLIufPFExBi9L5HDor34hC4utYqzQ39KfH5EQAXmpW r+K7RrUjJXnWgdesF9wlEQFohoFAPmvxrL84rvs2pi+DMJdI+eA/Ul0Q13MgtFUx7oRe luRyFrgbGXvDOnZmYgdAeFzwjoIGvl61ayJmKmcTmT091Hpi18xXEuGs3PuMdIzgkc9r SA/Lb9+x3DV9na3AzRQUPbWcn1GP13pTyBOLjPpsgi+gE/ppXjJ16D06lq6BOyElKAcy gZOLd8FEMWPV+ygC3vlNiUQkgccVqWIQXw7Fx9naaJs16nvx3noG+exyYRTzdF2rgU5B Au0g== X-Gm-Message-State: AOAM533NM2wsIlylbrZS08rZWeDgTc8v2E38IJ4/Cn7wD/FBfTj48aCM ZjH6QnKEXbwNlMlTWg9xl9HiSs15Fzw= X-Google-Smtp-Source: ABdhPJzoPan+zk+F9tneCQM7D5JebL5KHcaQzgRw+EgkKkZN6V6PzO+i8AaI7/7wF9t4FBD2dKnMGw== X-Received: by 2002:a17:902:d482:b0:149:b556:ebbf with SMTP id c2-20020a170902d48200b00149b556ebbfmr35975854plg.1.1641752727743; Sun, 09 Jan 2022 10:25:27 -0800 (PST) Received: from localhost (61-245-128-160.3df580.per.nbn.aussiebb.net. [61.245.128.160]) by smtp.gmail.com with ESMTPSA id ip2sm6696038pjb.34.2022.01.09.10.25.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jan 2022 10:25:27 -0800 (PST) From: Timothy To: org-mode-email , mail@nicolasgoaziou.fr Subject: Org Syntax Specification Date: Mon, 10 Jan 2022 02:02:34 +0800 User-agent: mu4e 1.6.10; emacs 28.0.90 Message-ID: <871r1g936z.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::62b (failed) 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: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, 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.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" 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=1641752798; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=mvh+fvL4ny9jgR1KP81RoE8LpxuyJGI58v/MVmyDmF0=; b=SmGtBBIhqOvAhb2aV5l5L/k4UCSbTelviCTyAHIEqmGYs+7BV3YbNPrH8IME3VrrEIY1Xg +ZXPXGVK/mRhZxD0j1PucFxdfgZvFCww2VxZ0sjNgnFz55+tCZ7hPww9UZDJbfzIUD9eis 2Mfk8pWxxYZc5ASUboYEd+VKQuMPuPC+BO/2P7Ig3u+DMZf88ghEDa3kBnxWLHTBVf6jCO d/45XvS99exCX1ZVFInwRRJ4k5H2TTgkljdyCc3d3BcQd/19TkKDJdDRHRX0HSnld9n1H9 dKyAymHg7Za+HeOl6ILCDf+chCuaciuMoviqPFLfFT3+nn2SVGrHwk57fFC1yA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641752798; a=rsa-sha256; cv=none; b=tYb7j9FqxdJMPcM9ZcIU1NtLRx4Om7XuVenazMUe3gUWIV+e6P9r46XxiPq7nE5ECDtoUS SXLRIDfvdB8Q+Wcz54Rbtvzi2ewyH89WZWBGFdXBwd8AGYe9giO4idI0RDA/Ay2sa2JHtw 09gNvBfQUaA9aq59nkhImQXiBGLh+uaye0klpjlKdexp1y48ASlDNBV/7KAMOHEHBVYYYr iMOmmajIEgj91dLmn9EbHEPOW+/qWF1xI1oxKn8Ez1S4+mLES+Lb9NxUgPJ1JscF4WRZkN yyeURVNw9PCugD1huK37IJJM984R8OQQwjJlxBe55WB8Cr1EA/ujhOxhe4Aq+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=WZDOaK6z; dmarc=pass (policy=none) header.from=gmail.com; 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: -8.81 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=WZDOaK6z; dmarc=pass (policy=none) header.from=gmail.com; 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: 482823D7A7 X-Spam-Score: -8.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: aFAqFhit/5cK --=-=-= Content-Type: multipart/alternative; boundary="==-=-=" --==-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi All, I=E2=80=99ve talked about adding citation syntax to the org-syntax document= before, and previously expressed the thought that it could be generally improved quite a bit. This has culminated me in spending the last few days straight working = on a rewrite of org-syntax.org to try to bring it closer to the point where we c= an knock =E2=80=9C(draft)=E2=80=9D out of the title =F0=9F=99=82. Ihor has been a tremendous help pointing out inaccuracies and explaining so= me of the parsing behaviour (thanks!), which has allowed me to get it to a point = where I think it would benefit from wider feedback. I=E2=80=99ve just pushed my latest revision to worg as . Personally though, I= think it=E2=80=99s best viewed as a PDF, so I=E2=80=99ve also uploaded the PDF ex= port to . It would be great if those of you with an interest/understanding of Org=E2= =80=99s syntax could have a look and let me know what you think. I think the best way to compare to the current org-syntax.org would be to put them side-by-side. I= =E2=80=99ve attempted to list the main changes I=E2=80=99ve made in the appendix, howev= er I=E2=80=99ve likely missed things. Lastly, having spent a while looking at the syntax, I=E2=80=99m wondering i= f we should take this opportunity to mark some of the syntactic elements we=E2=80=99ve = become less happy with as *(depreciated)*. I=E2=80=99m specifically thinking of the TeX= -style LaTeX fragments which have been a bit of a pain. To quote Nicolas in org-syntax.o= rg: It would introduce incompatibilities with previous Org versions, but support for `$...$' (and for symmetry, `$$...$$') constructs ought to be removed. They are slow to parse, fragile, redundant and imply false positives. =E2=80=94 ngz Marking this as depreciated would have no effect on Org=E2=80=99s current b= ehaviour, but we could: 1. Mark as depreciated now-ish 2. Add a utility to convert from TeX-style to LaTeX-style 3. Add org lint/fortification warnings 4. A while later (half a decade? more?) actually remove support The other component of the syntax which feels particularly awkward to me is source block switches. They seem a bit odd, and since arguments exist, completely redundant. =E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2= =80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80= =95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95= =E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2= =80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80= =95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95= =E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2= =80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80= =95=E2=80=95=E2=80=95=E2=80=95=E2=80=95=E2=80=95 That=E2=80=99s all for now, I hope you all had a great Christmas and new ye= ar! All the best, Timothy --==-=-= Content-Type: text/html; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable =

Hi All,

I=E2=80=99ve talked about adding citation syntax to the org-syntax document= before, and previously expressed the thought that it could be generally improved quite a bit. This has culminated me in spending the last few days straight working = on a rewrite of org-syntax.org to try to bring it closer to the point where we c= an knock =E2=80=9C(draft)=E2=80=9D out of the title =F0=9F=99=82.

Ihor has been a tremendous help pointing out inaccuracies and explaining so= me of the parsing behaviour (thanks!), which has allowed me to get it to a point = where I think it would benefit from wider feedback.

I=E2=80=99ve just pushed my latest revision to worg as https://orgmode.org/worg/dev/org-syntax-edited.html. Pers= onally though, I think it=E2=80=99s best viewed as a PDF, so I=E2=80=99= ve also uploaded the PDF export to https://0x0.st= /oiM5.pdf.

It would be great if those of you with an interest/understanding of Org=E2= =80=99s syntax could have a look and let me know what you think. I think the best way to compare to the current org-syntax.org would be to put them side-by-side. I= =E2=80=99ve attempted to list the main changes I=E2=80=99ve made in the appendix, howev= er I=E2=80=99ve likely missed things.

Lastly, having spent a while looking at the syntax, I=E2=80=99m wondering i= f we should take this opportunity to mark some of the syntactic elements we=E2=80=99ve = become less happy with as (depreciated)= . I=E2=80=99m specifically thinking of the TeX-style LaTeX fragments which have been a bit of a pain. To quote Nicolas in org-syntax.o= rg:

It would introduce incompatibilities with previous Org versions, but support for $...$ (and for symmetry, $$...$$) constructs ought to be removed.

They are slow to parse, fragile, redundant and imply false positives. =E2=80=94 ngz

Marking this as depreciated would have no effect on Org=E2=80=99s current b= ehaviour, but we could:

  1. Mark as depreciated now-= ish
  2. Add a utility to convert from TeX-style to LaTeX-style
  3. Add org lint/fortification warnings
  4. A while later (half a decade? more?) actually remove support

The other component of the syntax which feels particularly awkward to me is source block switches. They seem a bit odd, and since arguments exist, completely redundant.


That=E2=80=99s all for now, I hope you all had a great Christmas and new ye= ar!

All the best,
Timothy

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