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 pS/nKeo4UGEDeAEAgWs5BA (envelope-from ) for ; Sun, 26 Sep 2021 11:10:02 +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 UCXjJOo4UGF3HAAAbx9fmQ (envelope-from ) for ; Sun, 26 Sep 2021 09:10:02 +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 E99B928CC5 for ; Sun, 26 Sep 2021 11:10:01 +0200 (CEST) Received: from localhost ([::1]:55922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUQAb-0006h9-1T for larch@yhetil.org; Sun, 26 Sep 2021 05:10:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUQ55-0008S0-OI for emacs-orgmode@gnu.org; Sun, 26 Sep 2021 05:04:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39754) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUQ54-0000P6-MH; Sun, 26 Sep 2021 05:04:18 -0400 Received: from [2a01:e34:ec2b:7150:9b07:b8c3:15f:4214] (port=59352 helo=hal) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUQ54-0001O0-Fc; Sun, 26 Sep 2021 05:04:18 -0400 Received: by hal (Postfix, from userid 1000) id 3B5481E041B; Sun, 26 Sep 2021 11:04:17 +0200 (CEST) From: Bastien To: Ihor Radchenko Subject: Re: Empty headline titles unsupported: Bug? In-Reply-To: <87zgwmt5wx.fsf@localhost> (Ihor Radchenko's message of "Sun, 23 May 2021 12:45:02 +0800") Organization: GNU References: <87tumvdno3.fsf@gmail.com> <87fsyft0vv.fsf@nicolasgoaziou.fr> <87zgwmt5wx.fsf@localhost> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Sun, 26 Sep 2021 11:04:17 +0200 Message-ID: <874ka7btda.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain 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: Sebastian Miele , emacs-orgmode@gnu.org, Nicolas Goaziou Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632647402; 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; bh=N7HfZqLO+FeXknbYVLg0+g8rmHWD1PXWEfBFjbT3K2Q=; b=jgFkN7ybF1ZpxbsNhQgaldf33JVVLTY4De3Tax93rVmBh5WpSnRokhDmpmyG9pxifZzmDL XxEbGRyKWKB0zqxlzPEgNH4Wq6sEnidSZi/pm+83FDmMN+wNeMcr3a8KJHX7HR38T9uLCx EcH0UaheuyKokFC0MDt9eTMAfU9OLZRXBnwb3CFOLZrHBYD96R2My0MKkw7cZEp4L4CQJf FCaNdw34hg7zc+msU5dTbhVBcs451q5PKxE+Gzp2amZIuhMOrUZefMHdxUzLkgybFLM1P0 OcFLWV+3waqo261k1a7ttEAuiOhujRYQJLTNM9vBgWPs+txWJfSR1fkrG/66xg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632647402; a=rsa-sha256; cv=none; b=cy6wyk3h8uneMiFZwL1Kb17svln6WkaMdpnrbOsC6MH/YZPMPErBHNtq1C0KMnW63XkEly BjeyUZ3tNHrwDlggfX26/is+72nlNERk1QwyINGrqddfj2XI6UlemDqE4jZECkM4txvQWp YlYkpERNKuoHehmeX2etrE3HJ7CHfuCOrbSBQhLI/QbgztcerFo2xwFIr2cIxPOSXl3Ugt DI1ZLZ7UjdimauqVc2xZJRukqdZN5P3wGsRpkArEGpAVJLrnQpugGMLGym6i7ZLeelO83B U1JJtBrlGu28e2IxMFYsufRy+seYkeiihELy6wsfqh77omsGDL2EGjBws54wMA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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.11 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: E99B928CC5 X-Spam-Score: 1.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7sc+ICvnZ9YL Hi all, Ihor Radchenko writes: > Yet, why not simply alter the headline parser a little bit to support > empty titles + tag? Such headlines are used in some of the tests. See > the attached patch. I'm in favor of this change... Nicolas Goaziou writes: > Because, as I wrote, this is ambiguous. You cannot distinguish the > following two cases: > > * :mytag: > * :myheadline: ... because I'm not convinced by the above example: I agree this is syntactically ambiguous, but as a human I would understand that Org would parse * :myheadline: as [beginning of a headline + empty heading + tag]. > So, your patch would only move the problem elsewhere. Nicolas, do you strongly feel against this change? Is moving the problem elsewhere is creating more problems I might have overlooked? > I suggest to not tag emptiness. I'd rather allow empty headlines with tags, this seems a useful way of filtering/searching contents. WDYT? -- Bastien