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 17:24:36 -0700 Message-ID: References: <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> <87tu8gxktr.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="39078"; 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-0009zX-Pr for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Jun 2022 04:22:32 +0200 Original-Received: from localhost ([::1]:45846 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o373f-0004ZI-7a 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]:51666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o35Dg-0004xn-Ck for emacs-devel@gnu.org; Sun, 19 Jun 2022 20:24:44 -0400 Original-Received: from mail-bn7nam10olkn2070.outbound.protection.outlook.com ([40.92.40.70]:2785 helo=NAM10-BN7-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 1o35Dd-0000U3-W2; Sun, 19 Jun 2022 20:24:44 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V8UqH47qhogbAmTbuLrSpKH52Q3Wfu6+wEMt99z9ePTsRLDAkCZWDXrfJ/tzNbHm6q/g3BLiQegjt2fdpXLqNDImBN6gutoMraH118MAzpkldEdC0E/1DBE3iOMadCKV/MtBvk/YS25Gnafh7oAeDpfi4GEeUwFcHGQ4xwkD/WvSaK4Z9H9nlmpMmVTXrlnNp1DqyrkSRSHJMbRu5TMQk1Y+eram39Fs8Z7Lq9NlF/gY3iKZMWK6X1IAg/ZicQc8B8O0DJdShtZvKlkaxrEL24coaR1tu7gW3UzxabV4PX5xQiAwTK1mhU0lU5g5Qkp4IX/k4cnmMV/ox6E0xEAiWw== 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=qbOMBQfkM62t8gUomV44l5cTllbNeTKdoLWqUWzXFTI=; b=GsJL+LegUC9fc/9radIGa0QHqtnuyJSuYGqIYmFlLoyZmnyQ+mRkPgVlBUEqUg8Z4nDjwIeBR7rp+sVcqDLTDyh3JwMkyODLjX0hwqxdHnUNefFk53LrKhRoJ+YF/Ko/JLjw/m67Ke/YB2YA/YOGhZ/rpoJghCp1l44cKzmRRu3DQoOjTFJHjii76fPsgKUBlvHUfer2Dxh6ZzN2wz7a2Hq6vk6nvWWBq6PA+TRnq90wy0Ru4LvWj+fX4ZTSzpEdi24N/wTYoXx4ocS7iESl2r/4TW3fWMKfiY1KZL++avMVlMSIqs0D4ilBlvuLDFBemAiI+1BKE1+PnVc4L3Dcfw== 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=qbOMBQfkM62t8gUomV44l5cTllbNeTKdoLWqUWzXFTI=; b=Cr7f//0w2tD4IO2X7lAcd51pyEmCrEUuCp6YEekKhL30ZDV/LcKhtg1dTKtDkfrlKKMS5eQ0h/e+QJ7JilCbgfq/rCaBvT3NKvhFDxSY08qZ+YL+JZzrM9UipNCHdr7hPsTTkTbGjUbGtpmTObDHFbioyUkCLrVKO6mE7VhW6hMWmPeel504EmFrIMvLk5Ilkacl2KRZ0YhX0fLLWO2zh2Q8efg2MLVJqSHr9WqkPu+Zk51W5KhrUkfPpd0g264hM39/hv6Mqw+Xt1ltlstsxHQacoA0zhCulp9D/Qz23hV2G8zU3wDanIQzWaoaATfyhjsJRkCYjJd11k/nOxUcpQ== Original-Received: from SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) by CO1PR03MB5924.namprd03.prod.outlook.com (2603:10b6:303:9a::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.13; Mon, 20 Jun 2022 00:24:39 +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; Mon, 20 Jun 2022 00:24:38 +0000 In-Reply-To: <87tu8gxktr.fsf@localhost> (Ihor Radchenko's message of "Mon, 20 Jun 2022 08:03:28 +0800") X-TMN: [r6MuRMJ9cy+lPFcPfpi3uuchEZdZEn7+zGKnjsf46hKwOOR4njolgSxuWZQQZwc1] X-ClientProxiedBy: SJ0PR05CA0203.namprd05.prod.outlook.com (2603:10b6:a03:330::28) To SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) X-Microsoft-Original-Message-ID: <87o7yo18sb.fsf@gmail.com> X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: addbaf18-3796-48cd-f300-08da525342d5 X-MS-TrafficTypeDiagnostic: CO1PR03MB5924:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dwsv8YdJyeiHGNFepZbbf20NaTGDh/a1oO4ls6uaMYsA67Y/wQTfnmf6un/hRcduBDbrwbN3zxl9k25I2JRJ58ylTzbaU9WJOSjUnDUPozNvnfZKDmamYGYSQCpwvq4yvMobHarGZr8kBy2FNh0rmYrwtrDfczwScp4b3NHHUbhj0tmWiK+MDCPpaYq0aZvDwCk8NgTkx0FinZbFy4BuYjABx4P1uPYS2qQI3tv5sH9XCQQYCNK1ug4ELgnNCb4ESJVMHrOUKJK4QRBH41PzWDUT3DrwLmg+q7pgNtOilTV+ElkPjKmTX5fqZLfpYvuBOTHAWbTcwZdKienNLdUnWZIhiOhTLocEgIh8/dkWQDd6qMQ45ho9xdzwVjv9+4Rpa9uBn0x7yB6jMny66QXUPKwpkSAhCM37AwemyIa7tEPvQ+K8CX+Ze75L9BGcV5BPmPNzpmhTfIIhyl/24B8nJocERwMkh4Vej8eaH1YhIIHaBSjK+doqaRiLP0XoHpeVCeyaFi++6KyOJUi2wJfyRxAkyyzvm37ExMIb6UqDuk9PgQln021uuvjRorsr1G8EMnsz4GzArseNCdaNKDbc6LQgVuvDlnrlsxO9oxqTI4R+mEbrTVVDy+axPgOMrjrJjImw8c0bytjwm7PZgnnDSsWH7Sv97YDWfvyvDyzg3gg= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?PEsjB2vZLWJ2uLNvPFEjRKlMVsa9Or8fli1oE+HzV2TqfC1334z/2qYJIY2J?= =?us-ascii?Q?h7p06hnvXOhtSLuSQ4cHuAbTcpKiXLu5FbIhhzkD139rVMEgbdDLEJ2djKbs?= =?us-ascii?Q?FW8p9h9C2pPzjOQg6F4h1bCwjF3wyXvOccXlzITKTn8/YmT99DAHaevsv7XY?= =?us-ascii?Q?su7gGUl25B+RyLwCkX0i3mTMrSdBHYV+FUFW1kzamkYhbsd0lGkXx4YcYiNF?= =?us-ascii?Q?/BRhoHdMHfizS8EW2YJwZRmwvdapY9fTvlNlXSTupkWxXbzwDheO/j3oEWaL?= =?us-ascii?Q?rdqomxemxByxcXcfR5+7NmP6M2synwUIu5MgYbXCFKSXHpRa7GJIk/po4SyS?= =?us-ascii?Q?YaV3Pq/0Kwm8PPB5V38SlrsYVd1TOkI3Sn4bH7FPl8RkvDhU6IeiRUPTO5IR?= =?us-ascii?Q?ez8Dh+1GZdMXfaGQpIIJ1XieVAwQp3M7//lK8S8ph1Wf3wHyJrlo9Dwireib?= =?us-ascii?Q?zcneo7Hbr7VdgQbpY/2ZxLJ0abdcZhy4YLBz533CQyLMuQ69TSkW9+kTwuAb?= =?us-ascii?Q?FGWuV8t2qLvycZITdOFBd0IciMDLAgCKLhRqFc+rgkiSe3tDPtrZAqdxRl9d?= =?us-ascii?Q?BR3TmWkcIu8hiHiG7y65Ks76z846Qn7S6PT9UnV+IqooxeE+HWY57S6GX+3l?= =?us-ascii?Q?2j X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: addbaf18-3796-48cd-f300-08da525342d5 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR03MB5455.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2022 00:24:38.5457 (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: CO1PR03MB5924 Received-SPF: pass client-ip=40.92.40.70; envelope-from=outlook_98C99531806B1C22@outlook.com; helo=NAM10-BN7-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:291448 Archived-At: Ihor Radchenko writes: > David Masterson writes: > >>>> 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? > > Yes. See https://orgmode.org/worg/dev/org-syntax.html > I hope it is well-defined enough for you. > I don't think that we need major changes to allow implementation in > other systems. There is already a number of existing third-party parsers > for Org: > > https://github.com/200ok-ch/org-parser > https://github.com/tgbugs/laundry > https://github.com/milisims/tree-sitter-org > https://github.com/tecosaur/Org.jl Excellent! -- David Masterson