From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mL8yL9CHq2CoGwEAgWs5BA (envelope-from ) for ; Mon, 24 May 2021 13:02:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id bnzrKtCHq2CvDQAA1q6Kng (envelope-from ) for ; Mon, 24 May 2021 11:02: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 0617F1A3EE for ; Mon, 24 May 2021 13:02:40 +0200 (CEST) Received: from localhost ([::1]:52074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ll8M1-0007aR-ES for larch@yhetil.org; Mon, 24 May 2021 07:02:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ll8LM-0007Yi-3X for emacs-orgmode@gnu.org; Mon, 24 May 2021 07:01:57 -0400 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]:40773) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ll8LG-0007Bg-6m for emacs-orgmode@gnu.org; Mon, 24 May 2021 07:01:54 -0400 Received: by mail-ej1-x62f.google.com with SMTP id n2so41096824ejy.7 for ; Mon, 24 May 2021 04:01:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:reply-to:in-reply-to :message-id:date:mime-version:content-transfer-encoding; bh=TX/46mVRTuEESSathLaoY1mMOYlHlDjtIWZnNG49XsI=; b=BwVVaUxWMuQqABodZ5PnnX+kdqxzi9HV6vQ5iNZewHNHDZ+lHn9nxyJhNzqIKd3pzw nnq8fX3g4yDz1qI2jr4VTUzyXnbSpZKaiDxwhxJ2l82HhQwVS8krw79SK2ZCVaI4m55l HjaKYr//ZqklSmoaoLsHktkUb1xPALGrFzrz5o8E4/Rj/9stRYaziRpgiya9uTFnR3iI GtHwpFJ1SiKv4l3B6rNbyUVnBhGuP4ffg3wbhobZIOZp+rZV4LnczI2YkfJ1dHehfso2 EDVW4nRrsTUuuUuxxIR+YY/2jedhh12L2wOLKaAUqsZyYsqSyvC3Tg7dmEN58uvexrQi X1hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :reply-to:in-reply-to:message-id:date:mime-version :content-transfer-encoding; bh=TX/46mVRTuEESSathLaoY1mMOYlHlDjtIWZnNG49XsI=; b=R07t3qUvYvdG7n5oBm1dmPs2Nb1wTHTtg2rXfG2btzX9cYQbLa/t4QtDi2IO/Cn1Sj bB26PIQbaL1aHxumRt1ZegrpFZdALicPBZLcRq2f36NZXIXqfxteCIBE+03DIQz6O4hH L0bOmcGyJ16/EYSj6QUNH4rQ2N99Z8CmeBFsLwPbJgykjzE1s2cse12NOLvBCb+dp52h 1A5DNyQLbRdAKhqyA8O7TR9QmD2wHoBYz7kXX5/rYfas7Asu+/hiPKEKOw33ebMcAQmz iSM2p+SKl2y+w4HfPL00V9xL7wYUkZzON+14JURMG1renVm+4RL2kqbSXayFDy5ojdkD C+iA== X-Gm-Message-State: AOAM530uOm6IDjjFH132KfqnxMR/VtNTTujEWII1Hjc7LFhkkOS/skK1 nVgoOewHWkadoQC8RB0IqZ0S16llbAI= X-Google-Smtp-Source: ABdhPJxcIz8spdoRDRMG5jgR79bWrlOJoHLjOZatpXqmDHZ03QCWvmqX6T+Et1G3LPCgl/XhQ6WBOQ== X-Received: by 2002:a17:906:63d2:: with SMTP id u18mr22761994ejk.186.1621854108055; Mon, 24 May 2021 04:01:48 -0700 (PDT) Received: from huette ([5.146.118.192]) by smtp.gmail.com with ESMTPSA id i22sm7881340ejz.20.2021.05.24.04.01.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 May 2021 04:01:47 -0700 (PDT) References: <87tumvdno3.fsf@gmail.com> <87fsyft0vv.fsf@nicolasgoaziou.fr> <87zgwmt5wx.fsf@localhost> <87sg2d4k9k.fsf@nicolasgoaziou.fr> <878s45bjv4.fsf@localhost> <875yz94hzm.fsf@nicolasgoaziou.fr> <8735udbhky.fsf@localhost> User-agent: mu4e 1.4.15; emacs 27.2.50 From: Sebastian Miele To: Ihor Radchenko Subject: Re: Empty headline titles unsupported: Bug? In-reply-to: <8735udbhky.fsf@localhost> Message-ID: <877djo5rah.fsf@gmail.com> Date: Mon, 24 May 2021 13:01:42 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::62f; envelope-from=sebastian.miele@gmail.com; helo=mail-ej1-x62f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: , Reply-To: sebastian.miele@gmail.com Cc: 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=1621854160; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=TX/46mVRTuEESSathLaoY1mMOYlHlDjtIWZnNG49XsI=; b=U7+aqPzmLHIpa6S7uCvMxAXr4sfosmm+m8klRenoXv82XiSe99kHsX+qzhMSKTL9GSH6JF ekmpq1FE+cB5bTAVgo7GYjdC/8J4xJBM5XNSaGbIGRHBzeTq8eVP4FsBnHjAotJgjtw895 +dM9hqER5gkoqwNi7RGTwOu2OEK3TQCuiB0/NXCSin9PN01ZIQ1zAFx7eESgFnk3VfBu8E 4GoYCcIPOpkzk9K1VBQJFYW8WGxILI07NebDQiZT/IUZ2cKhnMJqUuFLwjGwA9wcanG8eK UVsOOaAwyP/CPE3rIdtAGRaw+t03xIl0pRmkEEIUHLLCAc1yiuZc9vUQsHtTpg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621854160; a=rsa-sha256; cv=none; b=u2/dcw3D8GgvqFMuDc2aLB9NJ1QpvAHx7sIWkHyj4Prz+qZ1bdUXcuTkH7JyRC1UGmQBV+ HxJuMukUDJWzlgfCmSuv8XWc1TLE6LYkhuYKyhqcVDObwE0Qkmb6NUBHIzOiOBQI1zSxdg +lEQyTHKUjCuhjkSL6G+2FgmNoqxyvXAFhaqAzUUuNxKDYtobj1F1gcQ2Xel1sWSOeJUrW fU0Vkth+qNfpzu/eHnfnQv7eNv0CFL0Xs2XQVBw/0R+4IJi3ge9i2xlhZzydJInbSxXRjT Yexf38Laj9nvQZy/yTMPfh/C2E4eGnSoS74kR2OMZtMgFTxA8B+jrC1DcAWPTw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=BwVVaUxW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=BwVVaUxW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 0617F1A3EE X-Spam-Score: 1.16 X-Migadu-Scanner: scn1.migadu.com X-TUID: dqb0bU38WT0b Ihor Radchenko writes: > Either way is fine while it is consistent. I just tried to test some > edge cases with existing org-element code: > > * TODO COMMENT :tag: > > org-element-at-point returns :raw-value "". > > * TODO :tag: > > :raw-value ":tag:" Concerning tags, it is the expected behavior according to org-syntax.org: "If the first word appearing in the title is =E2=80=9CCOMME= NT=E2=80=9D, the headline will be considered as =E2=80=9Ccommented=E2=80=9D." So the he= adline * TODO COMMENT :tag: is a headline with title "COMMENT" and tag "tag". The headline is not empty. However, according to org-element-api.org, the :raw-value should be "COMMENT". But this raises another question: In my opinion the apparently effective behavior of org-element (make the headline :commentedp, but do not actually include "COMMENT" in the title) is preferable. So I would prefer to change the spec (org-syntax.org) to reflect that.