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 yHT6E373qGD0EAEAgWs5BA (envelope-from ) for ; Sat, 22 May 2021 14:22:22 +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 qD2mD373qGAZJAAAbx9fmQ (envelope-from ) for ; Sat, 22 May 2021 12:22:22 +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 B17B221DB4 for ; Sat, 22 May 2021 14:22:21 +0200 (CEST) Received: from localhost ([::1]:45038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkQe2-0005G7-6G for larch@yhetil.org; Sat, 22 May 2021 08:22:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkQdF-0005FR-EU for emacs-orgmode@gnu.org; Sat, 22 May 2021 08:21:30 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:36747) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkQdC-0004KX-Cy for emacs-orgmode@gnu.org; Sat, 22 May 2021 08:21:29 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 071C4C0002; Sat, 22 May 2021 12:21:21 +0000 (UTC) From: Nicolas Goaziou To: Sebastian Miele Subject: Re: Empty headline titles unsupported: Bug? References: <87tumvdno3.fsf@gmail.com> Mail-Followup-To: Sebastian Miele , emacs-orgmode@gnu.org Date: Sat, 22 May 2021 14:21:24 +0200 In-Reply-To: <87tumvdno3.fsf@gmail.com> (Sebastian Miele's message of "Sat, 22 May 2021 13:15:56 +0200") Message-ID: <87fsyft0vv.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.183.198; envelope-from=mail@nicolasgoaziou.fr; helo=relay6-d.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: emacs-orgmode@gnu.org 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=1621686142; 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=9qmV06DuYv3SwSXHUGkTbMW2Z7BpSiBy1WAdv1IaMNg=; b=ICBf6W6b84boXlpBv7Yu1l3MACKbZAWLSlSmEJNS2UPE5zeb8cANOByiyBfN76mkYn9kiV 8ntyjVm/pqdzMCSXGltuORuCZlr6DBGt4qEM0q53NhFrHmhAl3S5Cx9ybu/xEzbgWM5fBq 2kT2S9gJSCmW61uzhOKTokwTlgjtv+OyJcbGSYSuCRs+3fXWjrV0WxbDIRPV8nOdz5KClH IaqGjgggQQhU8P5jilO5TVBWhejRHhckiuUBz4RU3cnEKx5vsGkdMns4aL5WKLiUgxyi0H Dt4FMKkXO3QXqkQvvRKNJVXHLhOEcGNLGY1EBI69QsfdtS8t9sN3C3BwQdsPjg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621686142; a=rsa-sha256; cv=none; b=JUkBiE2S6Hyww5X6+AubnSDq+TpypHyFkd6wXZ8lIwpPZ8/1a8+SFX0KQK0KZWdryRMQGW TGhhAdPOgRXovDZc1sA+ZRhq9HJECnQovtCmeWJpfLTOmMqMJu3/9W+jvFFT4rjmeBAxuo pBr2jTbHgWK14aYZmyE0vECCIcccl+I5bfazw05Z+03ahc/m64PKlhcZvH+GBh/tgsh2WY vj8FtWlh5PFUM/zn4A06cBZO9UZYg9/S3HdjSWuL9Tr/pIMAxLV4lCo0eXK7zHHIzb3J4O +uSdgAdxmtmpmffHwyT785XLRBvF1wXalXax1FfXxoA3wG+R3/EU5+s+TxbFWQ== 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.43 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: B17B221DB4 X-Spam-Score: -1.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: NNpCyK9VRJnu Hello, Sebastian Miele writes: > worg/dev/org-syntax.org is not clear about whether the title of a > headline is allowed to be empty. I occasionally (would like to) use > headlines with empty titles, e.g., when a tag in some headline already > provides all necessary information, and an additional title would > duplicate that. > > Are empty headline titles meant to be supported? If yes, then there are > at least two bugs. On > > #+BEGIN_EXAMPLE > ,* A > ,* :B: > ,* C > #+END_EXAMPLE > > org-element-parse-buffer and org-match-sparse-tree make the second > headline have title ":B:" and no tags. Empty headline titles are supported, and "org-syntax.org" makes it clear. However, empty headline + tags is ambiguous. The right solution is to disambiguate it by inserting "something" as the headline you want to tag, like a non-breaking space. Regards, -- Nicolas Goaziou