From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cA2CNzQfsGBzCwEAgWs5BA (envelope-from ) for ; Fri, 28 May 2021 00:37:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mJsgMzQfsGDJGgAAbx9fmQ (envelope-from ) for ; Thu, 27 May 2021 22:37:40 +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 F2A3010D83 for ; Fri, 28 May 2021 00:37:39 +0200 (CEST) Received: from localhost ([::1]:58490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmOdE-0007f5-CA for larch@yhetil.org; Thu, 27 May 2021 18:37:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmOas-0005EM-2s for emacs-orgmode@gnu.org; Thu, 27 May 2021 18:35:10 -0400 Received: from mail-dm6nam08olkn2020.outbound.protection.outlook.com ([40.92.45.20]:20257 helo=NAM04-DM6-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 1lmOap-0006wx-UA for emacs-orgmode@gnu.org; Thu, 27 May 2021 18:35:09 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LXP5dT6Nrt/X65oAmzs+X8klHneEuhlhrEqc58FbO6eVSWXZkozbT4R0X4I3lWo/vz5bDn/51N+DAZut/w/XTiQ+yIt1ZJDY6x1usf/17fSgzHWWm3nsG6oSqiklzZVrdoP1rFe8XpYjWuRYGvNk0LfhXFeQkM4eS9Z2gMSj/YhXRFNzjegACnbUThARTOaWOWKJfiC1dsfDyqjW4mbhrwZ5iUuoG4j9EJfxXr9FbvnGrlvzydVSv8aqhvxCFYiYjsS33zaf4YXidkL9iDbVBhhen7ecXIh4bLcyKfKOfIrh1KbNvPHPOPu6MG0kk4fo8i2yi1/civzSwoRk5SrhOA== 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-SenderADCheck; bh=tektPrlVPgZMljLcBDF6qyjDH6WbTqWbug/Bzz2oTes=; b=F6dlHhRQvgJ4gaune+ittQ+kiLO6AHbt+RHI33YslqTZVKkz8RQXdas8QuRGiJ0U071o6ePxLWYehu3Kt4E8p5eizoBLEoJuGmZhHCB52nhtF2y0IjksYBzlVDmzlAOKLN6wxKytk+e5Jna77Ijg9FbGugFktGRwOY3/zbpxFa3UwVtrMS+NvBVvI4hja9jcUfcrkmiQcWsWUPA9oLzNkT09HYAGIJ8NrRYwvDXctwp0xYQpm6xBIKb2ffOAdgHIoQA2MfbXrngCYqHCrIxVZl0KMzjFzkCDm4hWbPtQjW7CKxzwDaA0mubAZeGnwSzl4bIF52xGpLLA63youwxWNQ== 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=tektPrlVPgZMljLcBDF6qyjDH6WbTqWbug/Bzz2oTes=; b=mgd8Ak7iU0jNfksGDjJ4JW567YuX9oWefwV5k6Zh1H3T2vyZ0A5Oy36sHOknVwA5VSUTwi6zL8nlGQFzjv7DAKfzK0YXTZLXQ024coZwawqB+CpN6I4s/sw11dWtu5m5gJ3eFljcc2WJQJeeBaPxFarCLcAQfzPmq/rmBwVqV49zjyQIe19BBV4n98aNAJ6ZegE5ryssWBOsqx4suI5TF23ybzCWnSds+8U8NfkSZ3Ij3nGLsw/L2FI6zlkfLr4CmgyaSKfaaRO714gd6leWN1z04EmL4OblgNo3z2mbmVpI2qhuq/IhzA3rE00f61dtONWViVHZoWR3FCDP06i7Vw== Received: from BN8NAM04FT018.eop-NAM04.prod.protection.outlook.com (2a01:111:e400:7e85::44) by BN8NAM04HT156.eop-NAM04.prod.protection.outlook.com (2a01:111:e400:7e85::419) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.27; Thu, 27 May 2021 22:35:05 +0000 Received: from SJ0PR03MB5455.namprd03.prod.outlook.com (2a01:111:e400:7e85::44) by BN8NAM04FT018.mail.protection.outlook.com (2a01:111:e400:7e85::236) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.30 via Frontend Transport; Thu, 27 May 2021 22:35:05 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:A57E368923AB068B8BD78363F8C67B576F031DFC53F587AC81F2270DE1DB01C0; UpperCasedChecksum:31A699FC3CD60DF58D23CAF854BEE9963172FCEB36B4C88B2275DA6A73F22618; SizeAsReceived:7938; Count:46 Received: from SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::2c9a:cb2d:320b:ed62]) by SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::2c9a:cb2d:320b:ed62%8]) with mapi id 15.20.4173.021; Thu, 27 May 2021 22:35:05 +0000 From: David Masterson To: Ihor Radchenko Subject: Re: Empty headline titles unsupported: Bug? References: <87tumvdno3.fsf@gmail.com> <87eedw5s0c.fsf@gmail.com> <87o8czksaq.fsf@gmail.com> <87lf83kphd.fsf@gmail.com> <87tumqaj6h.fsf@nicolasgoaziou.fr> <87lf81y4e9.fsf@localhost> <87bl8wyhun.fsf@localhost> Date: Thu, 27 May 2021 15:35:02 -0700 In-Reply-To: <87bl8wyhun.fsf@localhost> (Ihor Radchenko's message of "Thu, 27 May 2021 11:29:36 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Content-Type: text/plain X-TMN: [G97R1OvdqJL2Rrai/LmdeGN+I4D0F7ywmJ99RRYDHDglWmMKlp9n6xtgzL23s6KM] X-ClientProxiedBy: BYAPR11CA0061.namprd11.prod.outlook.com (2603:10b6:a03:80::38) To SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) X-Microsoft-Original-Message-ID: <87cztbx0tl.fsf@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from penguin (2600:8802:506:1f00:216:3eff:fee7:3d5d) by BYAPR11CA0061.namprd11.prod.outlook.com (2603:10b6:a03:80::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.21 via Frontend Transport; Thu, 27 May 2021 22:35:04 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 3a7b6b55-630d-4ba2-05fe-08d9215facca X-MS-TrafficTypeDiagnostic: BN8NAM04HT156: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TRNwz0nu0EWvI/6iq+jsJXTd7+1LgGdyWYyCPIIs04rlIs4kHkZmMesLYjEi1O0Xa03p5G4ycqZqOBnKzttbYQBYCLvFRqyLICJi/84AIJ9Jl/XMJy9L0EU0rzG6PC4Lxd2Jsr+EB9OzyIbKasJJZ13BD1Phhq2cXCSSIVsQtXUGgBecLmj3ROEzgB3vjm2Wu5ld9WlIr417yPrNB8NP9rcNoYNYP8UX0kXjwXclrNQxOKv7Zcn6Z+HCSYij+L5bBYe69FFm/bo6xMA9ft/nrYcLdI8qhddgF5PmuDtjzq9l1TVJwdH4QivF8+O31U8aXHD093Q3yLewQTc07PVVZ81lOPuF0F1bryrqV0NUX1P8i9Q894sXF6EXIb0ftc3UuiYO0m28W+7NdM+2pa+NpA== X-MS-Exchange-AntiSpam-MessageData: n6s3a8noHEK+7yX05HhK1U33are4rXDRCgwa2JJWw1/0wTFPSi7GPfmnCXD77wwAOiOlxCtPsNrnSm894CagK1VRkME5cCTZXdjQENUanGKYB3mUZrG3zcGEzoeTHqprXiQX1QmLCnrqpO3UBqB+mqsKQM7pCOQJBcYUmq0TBO3WtuEtax345s+7oIdjR+H1zGn/J+/F5UAfjurGRsLHlA== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3a7b6b55-630d-4ba2-05fe-08d9215facca X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 May 2021 22:35:05.6924 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: BN8NAM04FT018.eop-NAM04.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8NAM04HT156 Received-SPF: pass client-ip=40.92.45.20; envelope-from=dsmasterson92630@outlook.com; helo=NAM04-DM6-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org, Sebastian Miele , Nicolas Goaziou Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622155060; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tektPrlVPgZMljLcBDF6qyjDH6WbTqWbug/Bzz2oTes=; b=sEEANLZVQvNGaKqMmTZm7/BWJ2q2x5B34oLb5mp7MLofIZOFFAXh0yvl8WLabdcwyJrwt5 1CIG5QffS0OUXN6TCb62s7SHPasUN53wrKC4FCN7dNpGSOhli6o6GHKgn2+5cfSKfzq04P qmMFCr6tf7A3W89UE+4Dymnr75EQ2BS0pniS4/mJEecq33VIV78nHhluFLzGMj4mW/NuhW X3qDS5nEFqaKPVDxvcx15WmzTco19stwAk93tDRscU8ksXWefPzWSgqcBOIZj7zPJe26a6 v8sRsjRniBE1F84azgZvcNJVn3siFeQ92CVAfGSf0WGP2sKfQdEd5vUDKzFqsA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1622155060; a=rsa-sha256; cv=pass; b=Y60jsPVE6VOj6gkLAZBRYm7/uulmOhpTYg85iUvjyBV5z2jbW9QFexsOgoofM2tfJTq+dC PH+KpBVk6g6z3zNPtaraIXOJlHY95clCYzgMsdVbJr4buh3KoLQ9Z9sUdNBlPX0iASDt0z 5wEuMBORff5aiiOEnKzaafoa8rl37XplJ3ixjsYPoZbyr0pUE1x1NxMUCsLz1TBWS1T4Qo BHEZXx1Tz0HLPHGbu1nUHP1iQZZhBLJH9NGmajxmAWvVv68t3/TGfP8Vcq/LAc4hNQVMO1 8ArI+8xubhMPUcZW3RzMdCW/kGYwWenhT+LBu15Ht11pxCRa5wtrqp4aue2pTg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=mgd8Ak7i; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=outlook.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: -1.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=mgd8Ak7i; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=outlook.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: F2A3010D83 X-Spam-Score: -1.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: NcTJzMbcQbnD Ihor Radchenko writes: > David Masterson writes: > >> Could an extensible pre-hook that runs a list of functions take care of >> the inconsistencies where each function recognizes one change to the >> standard grammar and adjusts the input accordingly? > > Could you elaborate? For now, this sounds like unnecessary > over-complication. Why would we need to introduce deviations from > grammar in different functions? Testing the usefulness of extensions to the grammar before they're added to the grammar..? Thinking about it, though, I'm not sure how you could "pre-parse" a section of the file, make changes to the file via an extension, then roll back the file pointer and let the regular parser take over. I was thinking of a "hook" approach where, when the parser gets to a certain point (beginning of a header?), it could call the hooks with the current spot as input. If the hooks try to "extract" something from the input (to process it and hide it from the regular grammar), I have a feeling that would mess up the base parser. It was just an idea... ;) -- David Masterson