From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CEx8KgtbbWe1YQAA62LTzQ:P1 (envelope-from ) for ; Thu, 26 Dec 2024 13:32:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id CEx8KgtbbWe1YQAA62LTzQ (envelope-from ) for ; Thu, 26 Dec 2024 14:32:59 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=adamkovic.org header.s=fm3 header.b=tDRdFrgS; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="b yxsW+1"; 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"; dmarc=pass (policy=none) header.from=adamkovic.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735219979; 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=obyiiy/YIvyXkv4jx9QDXSkKWQ2Zsc1G061soOMbzPQ=; b=kN0JvdpjCRdnOX9F6hmhOD6cUhK3YxafzH12y5E4De1ouTdYz0TmP9s23KYWBMqlRkG5Hw hxqUHBbntq2OhVKq/lSlcDqf4EZxL1EZMcLSKPuWaAQBoa9bTJIeviJO/Vrg4nzImsw5AE VoYWl+OWMwx/WFyKcoai6l83SARs1SoPmTG1z9D5GSDXaHEmuRy787tTXcbyGdGYssKuFX zQ8/G5192p5lVxErZTyuRWGsFSvmG+efKboIYQP+JQAonlo7oQRB7AWV+yLR/mKhWZzWXn XSWmHZQJDCfpNtTCRAny2YbvBqt57AwMhDUqtkb+6ER0IiFbKFqYXM3SxoHP/w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=adamkovic.org header.s=fm3 header.b=tDRdFrgS; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="b yxsW+1"; 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"; dmarc=pass (policy=none) header.from=adamkovic.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735219979; a=rsa-sha256; cv=none; b=do17JYnnt845nyPV0mxeVNjx3iFGZRz9UEoK6npxkJyN4Z7QhL6G1BbXjsczKJyq/XImQc ZnhKTUATyRLgNUKP7tyMfLr2xLsDvHK4hEiVENwOOw+AubZsuP3NmJGG3/TiHalkU/M8vz HOUI+/ZtPBPuzhthFWOUyeVewApoGOQU9ODozs9kPJJDqQhRZmWEeXKuv3nStLy2vsFKlW mt2khCZNBFpXiCVDy3N8Ptb3GB/KPzeRgKxbYbsBpkD80/Ct9jNsdEK22lWfbjf9vI4d3/ gvk5xtwnguTPYLZuaJXNnUHe78xJtkhsaxKCTdrk80wro3VRoZbia5hoLLWTyA== 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 40AA388E07 for ; Thu, 26 Dec 2024 14:32:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQny2-0007zo-7l; Thu, 26 Dec 2024 08:31:58 -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 1tQnxz-0007zc-OO for emacs-orgmode@gnu.org; Thu, 26 Dec 2024 08:31:55 -0500 Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQnxw-0006PV-HC for emacs-orgmode@gnu.org; Thu, 26 Dec 2024 08:31:54 -0500 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfout.phl.internal (Postfix) with ESMTP id 7D89A1380085; Thu, 26 Dec 2024 08:31:51 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-11.internal (MEProxy); Thu, 26 Dec 2024 08:31:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamkovic.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm3; t=1735219911; x=1735306311; bh=obyiiy/YIvyXkv4jx9QDXSkKWQ2Zsc1G 061soOMbzPQ=; b=tDRdFrgSXyg/Ah58x65SPCoejg8L2xjn+jU1unQc28rq8eSq 6LSqDhvhToO/74NpH115IXL4S3FKVEen5NjhfPZ8UMB1HF8DIsNtqht1FFupD11o lnHYCHXrbUz07ff/D4X6XqAEkJN5mbKuuVImRuhG1pA50myHr0eHLtsFIA99hayo o/hFCo+sWx2/ZjMsqVVXsHiRV3OPVCq7ee9Ryl7+EKkqYRX3qKyjYUsRye0g0fCJ dQi6WcZNsQ03JkxxMB0x+1zMe+yBiyGnS15Kd4lyGVDJ8Jx+lO4yxpJ+rvGegntM 96z6zjVqe+ql2h5/EPnRoLmRDbNEmU6qp7dqtw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1735219911; x= 1735306311; bh=obyiiy/YIvyXkv4jx9QDXSkKWQ2Zsc1G061soOMbzPQ=; b=b yxsW+1w56IZDxSQ5CPIwmkacoLoiwIN5b6rtvZbb89R1BF3jd24X5UiaWZ9rkYvE zUHKih8nskjbRD3bE8kO/u8zLmJWLOXlMVGpssNnWZjqcSAlU3gzFv5wvGOXXBGa Aaba7qua3kARM6BU9a3sQ4pB8seE9Da/QMLZaXqwfF1RHewFEiHw992EATADBbhK iVSsE1Qw/hUbF8lOBFdUknNTw7Mz+nx9pT4CmZUHrUBiIk5CaHa6KsfJgkI0B6ii humRiIfwDjPoD8TZrc/SRjaen1gbIK0xrBMYK6VWRn0ItUmJpXGe9LUFepSjijI/ JDsmU/gLmurSKkgxxrp9A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddruddukedghedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevuf gjfhffkfggtgfgsehtqhertddttdejnecuhfhrohhmpeftuhguohhlfhcutegurghmkhho vhhitgcuoehruhguohhlfhesrggurghmkhhovhhitgdrohhrgheqnecuggftrfgrthhtvg hrnhepieeuteehffdugffhgeegveehvedvtdekffelhfeuledugfetgfffledthfdujeeg necuffhomhgrihhnpegruggrmhhkohhvihgtrdhorhhgnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomheprhhuugholhhfsegruggrmhhkohhvihgt rdhorhhgpdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtth hopegvmhgrtghsqdhorhhgmhhouggvsehgnhhurdhorhhgpdhrtghpthhtohephigrnhht rghrledvsehpohhsthgvohdrnhgvth X-ME-Proxy: Feedback-ID: i88214938:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 26 Dec 2024 08:31:50 -0500 (EST) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: The less ambiguous math delimiters in tables In-Reply-To: <87frmayfal.fsf@localhost> References: <87ldw5igab.fsf@localhost> <87r05vy6xq.fsf@localhost> <87frmayfal.fsf@localhost> Date: Thu, 26 Dec 2024 14:31:48 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=103.168.172.147; envelope-from=rudolf@adamkovic.org; helo=fout-a4-smtp.messagingengine.com 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-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 X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -8.82 X-Spam-Score: -8.82 X-Migadu-Queue-Id: 40AA388E07 X-TUID: NJRSoH6s4/BU Ihor Radchenko writes: > Maybe, but it is also much more complex in terms of parser. > Backtracking will introduce non-linear complexity to the parser, > degrading the performance significantly. Is that so? I thought it is all about simple precedence rules. In this case, once the parser finds the opening \(, it interprets everything as LaTeX, until it finds the closing \). > It will also make Org syntax much, much harder in more complex cases - > there will still be ambiguities when you have more than 2 > interpretations: e.g. > > | \(|x|\) | \(|x|\) | > > this one has 3 possibilities: > > 1. \(x... > 2. |x|\) | \(|x| > 3. |x| |x| Again, if \(...\) has a higher precedence than the table |, then this is not a problem. There is no ambiguity, right? > We cannot change it at this point without breaking all the historical > documents + third-party parsers. That's why I am talking about > providing markup extension to address the issue rather than altering > the existing parser fundamentals. It would only break the documents that have one-sided \( or \) in the cells of the same column, no? And that is ... virtually never? Rudy --=20 "I do not fear death. I had been dead for billions and billions of years before I was born, and had not suffered the slightest inconvenience from it= ." --- Mark Twain, paraphrased Rudolf Adamkovi=C4=8D [he/him] http://adamkovic.org