From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Masterson Newsgroups: gmane.emacs.devel Subject: Re: Org mode and Emacs Date: Sun, 19 Jun 2022 16:48:27 -0700 Message-ID: References: <87bkv527p5.fsf@gmail.com> <835yld93w7.fsf@gnu.org> <877d5t0yrn.fsf@gmail.com> <87r140yuof.fsf@gmail.com> <875yl9e7zm.fsf@gmail.com> <87y1y2irhn.fsf@yahoo.com> <87wndmaaow.fsf@localhost> <87tu8qa8cz.fsf@localhost> <87fskawjvw.fsf@gmail.com> <87ilp6qsj2.fsf@localhost> <87edzrq19o.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39200"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: Tim Cross , Po Lu , Richard Stallman , monnier@iro.umontreal.ca, acm@muc.de, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 20 04:22:33 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o373g-0009zV-H8 for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Jun 2022 04:22:32 +0200 Original-Received: from localhost ([::1]:45834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o373f-0004Z2-Aw for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Jun 2022 22:22:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o34eh-0004oc-Hf for emacs-devel@gnu.org; Sun, 19 Jun 2022 19:48:35 -0400 Original-Received: from mail-bn8nam11olkn2024.outbound.protection.outlook.com ([40.92.20.24]:21873 helo=NAM11-BN8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o34ef-0004Ob-LQ; Sun, 19 Jun 2022 19:48:35 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VrxYWpzVuct+iR3I6lfWiavQUBI+M/zom3UYmZPi9A5BEQTOLOW8UMFxQxDkRk1QpjqgJWxeMOQtkMKlIOEcKEbbbcuRnQCISEDbNx3HKxoeANhMXcjj5amgxHsu8xPMsZngmUDdh+i8MdOBFDx8/EN61fwaga8hG/F37PaEXijpnaMRxPn8xD3H5PQrAsDZmzeAPNdjvFu6as6rtSukhlvGvvPuIFKCt1n9Z52VcDvcbrZlbUsPW1s9gYZtHjn1NABDLxgmKklEsP/nAsRWNSPng3ySfKPrj+9QiPgOcpEiBUVCk6ugBag/8UjLoK2XBAxg2NxS2TgyApMsi2FB6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=B08j6cmfhPKMqjk7GmAqX2lMuN4JsXsNiettmmIbnjc=; b=dievtldQ5xRPWgq7KzE5rk/G9CdAWQ7RNqPojgxlLe5jrPBv+6pQopsKY9NOImFxNnlhyTZyYEg2YR5QDU4pCbrk3UJJk0pnDUAaRqSAsokiamZ+MOZ4U2TT6OGHAGP6paLO7GyiIhTHQJ0CEsvWr6tBwVSvztlgQt8LkshofTK726LrqShcROz0hbk/wC9JNgcUaivezwe37e6/T1T2niUXGn9vXi3qDxnemj92PA2FToMrYdmbvLPzP0OGXrH5US6O3zdnLsw+HFPih0LFm+vA3atY7W31byc9B50Jvgs816ceeuX4EvA8RmXHUAgfCSgLUe179YK3qJO0giI5ig== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B08j6cmfhPKMqjk7GmAqX2lMuN4JsXsNiettmmIbnjc=; b=U5G5TUjprlKhAWtzValGecWa2WbUQVFyU+uWkO85ru4lzo2UPX/X8lNbX1057p+w/YH0yzaKv/ZNu2otDmL9/fmQbv1tdPs5pWfJ5laSjVSQQJMrIu/yaBSYMAlAy/sStOS1+uME3g8ohK417WYH00/sex1ETcMRcIv5PL3miQ9SY4RNYOi2HjD4DVA87D9I3wpaIlkhBX2M7xmlaSABACCdu8HCZcnEaF6NWCPjYlWIKZBnNG9ZTxwO4lHsFKbOcn1Vy8a3cTyDjcvartpIQy9z4HI+kCR/Q3N8JY3r4pyKjCAGwBxOy9hsVTA6fLHbBvX3vOeGl7poWX01YM/fGQ== Original-Received: from SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) by DM6PR03MB4985.namprd03.prod.outlook.com (2603:10b6:5:1f0::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.15; Sun, 19 Jun 2022 23:48:30 +0000 Original-Received: from SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::7c01:f3c4:11c6:4050]) by SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::7c01:f3c4:11c6:4050%9]) with mapi id 15.20.5353.021; Sun, 19 Jun 2022 23:48:30 +0000 In-Reply-To: <87edzrq19o.fsf@localhost> (Ihor Radchenko's message of "Tue, 14 Jun 2022 13:09:39 +0800") X-TMN: [6GuM4SOMNEWg3ffQ2leU8XkKB6qm1KJuLMO/zmCWTyLEWjD/Mo1nVt4alWxe19qH] X-ClientProxiedBy: BYAPR03CA0024.namprd03.prod.outlook.com (2603:10b6:a02:a8::37) To SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) X-Microsoft-Original-Message-ID: <87sfo01agk.fsf@gmail.com> X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f36abb39-6b17-458f-4d5b-08da524e362a X-MS-TrafficTypeDiagnostic: DM6PR03MB4985:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: s9hw3NY9Br3VnY7a4orgw2Rk4+ZJkPueuZw09XEfdCFxJHMdJqK5c7xIZ3BcFwONL1liuRgQOXhlFna4DnHve5CcpHijlaxebwt88epXy7SggLJe9kM5zpP371koGm/vBd0TLP8yGbSzmIdHbY5cHhoA/gc8OwNuT9FV2JPIrrCz9IgTwM9CEDVYrtRESh9mMAl2Q1jT+WOveOV+LgMVovZTCLcAGjyR22Wsgv7duBlYILPRBvWOifSTIVPnslUP2VZbr2mYwazJy/PGrDpVBns0WKxAoEF0ZEx0r2/zdowu1F1mj7ULCq1eJJ56jkpqnd2CP4C4cOT0WGoYW2DaWIXa32e4YERyHKOW9bFwIzhcum4KkTDwl1xOE6zRmzOBrWDOIm6qQsa2wenC/KPlV1U9xLJSAdzH3hteIjUR328c/tlmwoXwK5F+uvFgSbiCKPeniPZWavj+3xOkeSHJJNvFDeplGEQoEUj5xhKG/y6qd+l7gIq1li+2g27/QMKQ/XjFOJsVWS2knYRxVr6li5y9VpK3oXDQl7dzzEfdj9kFpMzIHJE527W/urbu6vgjupLGcJJfufKcY1rfAEk1NaFEoKGMiS4H0tybLK4ydpgZoC4F/s7mV6/Dyy3BjhRp X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Z6+ax3jO4TmseYo8ZJrC/f9OSanBFMhIcX4smnkmEW30VZgTBgWhsPZ5mQ9s?= =?us-ascii?Q?jdYgmvNFmh0g7kqGWcHnEAZNISugZ1/WZe5MX8ux/cMbxJRvlxqzf1IXiFkA?= =?us-ascii?Q?nR4P4nxEtWvFKJlprWI24FPMZuwwZGfJwN0ENQFpHJhzcWI9y1VD0f+1LbeM?= =?us-ascii?Q?FpLJDmfzWyiW3/0ok0j5cx6MTtvZyYTymGaJ1EX8aKhq5gwEJYk0RMzYlX6L?= =?us-ascii?Q?vhyT9HPBUvcG3AWXH/TRDF1lVmeAKhfhUrI/JYOb4cQZ6uzCs2ickqRYu/su?= =?us-ascii?Q?fo57KqmO9a+QCsIgecpDEH1Vrhc0M9rovbW6bedbn8VtWVz18qkpSLXiKYEX?= =?us-ascii?Q?5FPdwH1t4pDL3Kz5yVtR0cs1aursezPR72v9WLfusrCXOk6LtqjDzx7xgS53?= =?us-ascii?Q?Vkx3noPMefn5oOvN4veeEVTT+EMuGKk4U5UEPKOKqiF0k8T966cDDAgTCRl6?= =?us-ascii?Q?89WszdSc630GGtrodf28QhLXU6GEBO0lTb+PS8Gb5/Rz6FnniP0O9X3r4xBE?= =?us-ascii?Q?a0YiKhRAzSlRXlIFZ+Es7gWpwJhyyqaxJz23EaabiefX5bzQL+DRJL+v+fzz?= =?us-ascii?Q?4LzFVEIqNM9AQsuAsgMoUCS6ni8e7KAt6TWQXeLceYSC5iakabT7M8XLlEGq?= =?us-ascii?Q?mg X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f36abb39-6b17-458f-4d5b-08da524e362a X-MS-Exchange-CrossTenant-AuthSource: SJ0PR03MB5455.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2022 23:48:30.1481 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR03MB4985 Received-SPF: pass client-ip=40.92.20.24; envelope-from=outlook_98C99531806B1C22@outlook.com; helo=NAM11-BN8-obe.outbound.protection.outlook.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FORGED_GMAIL_RCVD=1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 19 Jun 2022 22:21:03 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:291449 Archived-At: Ihor Radchenko writes: > David Masterson writes: > >>>> Semantic/Bovine ?? >>> >>> Org is not context-free. >> >> But could it be moved in that direction? (ie. Organice) > > I don't think so. It is motivated by the fundamental Org syntax design, > AFAIU. (mostly by first match wins design). We are not going to change > fundamentals of the Org syntax. It will break backward compatibility. Could Org be moved toward a "well-defined" grammar that could be separated from the Emacs implementation to allow other systems (iOS, Android, Windows) to implement (at least part of) a "standard" Org? Could the backward compatibility be covered by an Emacs library where necessary? >>> Also, Org maintaners previously rejected the idea of implementing Org >>> parser not in Elisp. Mainly because it would limit the ability to >>> maintain and contribute to Org - one would need to learn another >>> programming language to alter anything in Org syntax. >> >> Hmmm. That would make it difficult to keep the language "parseable" by a >> different parser. Elisp would not provide the checks for (say) keeping >> the language context-free. > > At this point, we are trying to "freeze" Org syntax as much as possible. > So, major changes are not expected. Different parsers should not suffer > from future changes (if they do, we should not make those changes to > start with). > > As for keeping checks, we do have a set of parser tests using ERT. So, > major breakage will be prevented. On top of this, we plan to make the > parser tests more friendly to third-party tools: > https://orgmode.org/list/87fsqzi4tw.fsf@localhost This sounds good. -- David Masterson