From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gJ3xLC8jUmHrlAAAgWs5BA (envelope-from ) for ; Mon, 27 Sep 2021 22:01:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +DyEKC8jUmEgDgAAB5/wlQ (envelope-from ) for ; Mon, 27 Sep 2021 20:01:51 +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 582182C397 for ; Mon, 27 Sep 2021 22:01:51 +0200 (CEST) Received: from localhost ([::1]:55406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUwou-00062Y-Tx for larch@yhetil.org; Mon, 27 Sep 2021 16:01:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUwmW-0005dn-B6 for emacs-orgmode@gnu.org; Mon, 27 Sep 2021 15:59:24 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:52685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUwmU-0007cN-AQ; Mon, 27 Sep 2021 15:59:19 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 4C558100004; Mon, 27 Sep 2021 19:59:12 +0000 (UTC) From: Nicolas Goaziou To: Bastien Subject: Re: Empty headline titles unsupported: Bug? References: <87tumvdno3.fsf@gmail.com> <87fsyft0vv.fsf@nicolasgoaziou.fr> <87zgwmt5wx.fsf@localhost> <874ka7btda.fsf@gnu.org> Date: Mon, 27 Sep 2021 21:59:12 +0200 In-Reply-To: <874ka7btda.fsf@gnu.org> (Bastien's message of "Sun, 26 Sep 2021 11:04:17 +0200") Message-ID: <87h7e523jj.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.178.231; envelope-from=mail@nicolasgoaziou.fr; helo=relay11.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=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: Sebastian Miele , emacs-orgmode@gnu.org, Ihor Radchenko 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=1632772911; 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=bgct/afT3HtnqJqCl15zGdKTw454EFjN82UmPNVKeH8=; b=VLw9GsLJdiWepBP8EyFnPW4g2EiqweiAEhno/QO4uugxytL2Seugsja0YEMentuWnpBsIA iI9Wp3f8wN3F0fSmj8w2kgFeGF8ZiM15urQ+JJlgOCczlTSB2ysj0V4jk8Gsaxj/RiypDv r3Clg+rJOGLNlHhmzs+O3GQWEfY4/IDTwb+ousXXkM61an/rZY7Nsjb+16MInqEDH1R0BS kgNUv0/pDwVZoaDnyK2zegxAdp6ntYZWs3ZdEgayIbLY+29ldFJNisZ2P+OcQALcJ6zUoF o3P8hWlWYahFPJMcvgH75IKIMwjU/1H3sLWu1UhRO60/CU8Kh2ijyvmOZ5s15A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632772911; a=rsa-sha256; cv=none; b=YcIrKtJjz2T9jQFgT9Mcl+4G2gk8KWDY0jKPRIJv3/2pCq4rXh5F7V3QzQIcPGxfI2l/JK XT9vC/o+7xfqIHzbYKHmGeK8ofKgszwOwtZFYcrCPdBKZ6nFd8hS1wbEAUzoZV5hCjJ0gi agWxCCsnftDNqlc1Ld9TThYp79EzjpemC70JfRmI6IkgniJm+8fmlVzMF7nnLpFtLkeloC +ozePVWqrDGMiizN+LhKdZKbEOP3fJ7lCTSE2nlq/C4xZj0dlnoTlxCcQVhw1UoaxGZJyM xfx6KFDHniNtJ1ieKOWl7eiQhr1pHpGvGjIyWBjXcIy6FJPSx50Kf6IXAlrIzA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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.89 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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-Queue-Id: 582182C397 X-Spam-Score: -1.89 X-Migadu-Scanner: scn1.migadu.com X-TUID: 4Gmg26F9EVhL Hello, Bastien writes: > 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? I don't have anything new to bring to this discussion. I don't feel strongly against anything. Regards, -- Nicolas Goaziou