From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MKThMD5yqmDesQAAgWs5BA (envelope-from ) for ; Sun, 23 May 2021 17:18:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sLKELD5yqmAQGQAAbx9fmQ (envelope-from ) for ; Sun, 23 May 2021 15:18: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 3493EF3AA for ; Sun, 23 May 2021 17:18:22 +0200 (CEST) Received: from localhost ([::1]:51310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkprx-0002Dg-0r for larch@yhetil.org; Sun, 23 May 2021 11:18:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkprY-0002DJ-Nu for emacs-orgmode@gnu.org; Sun, 23 May 2021 11:17:56 -0400 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:38582) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lkprX-0008TW-2t for emacs-orgmode@gnu.org; Sun, 23 May 2021 11:17:56 -0400 Received: by mail-lf1-x12d.google.com with SMTP id r5so36895908lfr.5 for ; Sun, 23 May 2021 08:17:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:cc:date:message-id :mime-version; bh=twZcTyzvr+e0aWLAJZYuN9dd1LUhzmrYUz/GJa17nA8=; b=VGKVzBfQhFPrTTy9HGYLyNCoXFTx+ehsFRO1KyWdY7ma9/nE7WDT1ggMZPy48mddO5 maQr56LEkbpu72UrMPpKz2YDyNE8WZYHyebd2pEPWtAY/kR/5Laz0XIdvkSaV8F0svLZ CjXR6ri3u/9DVKHhUd5/zgC0u6bRvd6/X12+nGZ5HU5t3U1GYNkAmhY0RykLpqiXmp6m Lyalz50jxjbnUXDwoCtyktMz5HIBLfOG8Bws26oAmGRe85h3XQItDB6tLJbQZ1WRrrbz 20NMzax3MTkEpHZ/cg/GZGwIno/C1wbhJ2cQ2MWQ2pU8OfvNVndAtgW+uGJvBJcqL4eM 6nrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:cc:date :message-id:mime-version; bh=twZcTyzvr+e0aWLAJZYuN9dd1LUhzmrYUz/GJa17nA8=; b=F7EReUAHRM+hVA7hZ1rkNmd2LPYqNp/gw3ULqjMcW8QClQSODG42cGtQrg+XzPL3Xn ANgy0WeiMFjG8Ji2L2yIsdKb1mfmbu3B5qhI/8WPZF0gR+SluLWZizjBvtabm+mXA134 VPObiCfPi5WHbofq4qrpJe1JOnKGEo7VTwiohfLVBzwt8iDXA28FhWLPVtoMyl2W/YD8 V+Tn0KNWeCVxVj1o+D06gwH8VnsPsPaCZ6Pzo735SlM7fefa7rXRnKqvHssVGXzAay95 0Wb6Y46Df23kP4OZ5YbVzd96a8182wuW1J0QG7pa0fTZ+zWJkHlGuJzNTKXxOBoLJU91 nFSA== X-Gm-Message-State: AOAM530Kiqk8M2xJNM5mA/mjX712JNA6mkVUQNjRimGvPC1ob/QHQaCC V9PO7AG8VbtozdAB3uhuKVs= X-Google-Smtp-Source: ABdhPJwiFwGlrSqTC5EDhumG9faSxeCMAo9ydkosKrWByUMXjxFYwTSQLV5X5ljnhVloyI2lE/5niA== X-Received: by 2002:a05:6512:40a:: with SMTP id u10mr7896300lfk.341.1621783073351; Sun, 23 May 2021 08:17:53 -0700 (PDT) Received: from localhost ([91.210.107.197]) by smtp.gmail.com with ESMTPSA id c12sm1189205lfv.15.2021.05.23.08.17.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 May 2021 08:17:52 -0700 (PDT) From: Ihor Radchenko To: Nicolas Goaziou Subject: Re: Empty headline titles unsupported: Bug? In-Reply-To: <875yz94hzm.fsf@nicolasgoaziou.fr> References: <87tumvdno3.fsf@gmail.com> <87fsyft0vv.fsf@nicolasgoaziou.fr> <87zgwmt5wx.fsf@localhost> <87sg2d4k9k.fsf@nicolasgoaziou.fr> <878s45bjv4.fsf@localhost> <875yz94hzm.fsf@nicolasgoaziou.fr> Date: Sun, 23 May 2021 23:22:37 +0800 Message-ID: <8735udbhky.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::12d; envelope-from=yantar92@gmail.com; helo=mail-lf1-x12d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, 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: , Cc: emacs-orgmode@gnu.org, Sebastian Miele 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=1621783102; 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=twZcTyzvr+e0aWLAJZYuN9dd1LUhzmrYUz/GJa17nA8=; b=tnfdqntDoqSPJ+toRFu4TJRWhWxioU1I044xknZS9oiUPm45nqcf/mc/vbb+a9NPVvpvdD MoagH4uOXwbsiJr2Ny0bepktZ9Mzr03jELWzUdMMunuF4bFrN+g0h5+k/g+A9jfdJfRR9D De+R1m7aj2PqwFszCRg8VX5GxuLNZ8o7uQu53RPuuJ3KwlBE2FomDt/T2IT3j16xkrxc2B XR0yUxZdVlhN1IOOVOWk8WfOXOA/Abq2OpwwttevTV66w6rVQQouw9MGGHgX6n1a0YzDb8 I0nJ37YIcxrIpcq2VvQKendMdkhSQrkHXDvJyNfCYWVbBN0hNienYFx0XioBPQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621783102; a=rsa-sha256; cv=none; b=PkxCE/v9Z1aQTKdtF7jgKxVPtRAfxBBfbzMJLkdoP1I8FztAAItcApT+PGl3Msqwj4VC8g ZN+yVWxl0qH5hoSrNEXFFHA2VuImTcvrCgwmeZZhEhJJhGMX5+Y9pGEEc5LYDVA5ERHX09 CnX/58ppKLoIdjOB5bfYEe38qvMiktsYqxWnALlspP92GqVpXp/RwQX+VeAFsF+waTYIeJ K0EVQF0Rq1uvwpUCb8MyC1861RVYZ9AEeCY8Cy2ZL8KnVxw1OEel/VH3eP+70Tj/NBffS9 9vluBCclh2qcxxLqZLLFW4pOH4VYu+Gmxsp0uqaRtKPj2BH9exIGxwvD25m1Hw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=VGKVzBfQ; 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: 0.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=VGKVzBfQ; 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: 3493EF3AA X-Spam-Score: 0.16 X-Migadu-Scanner: scn1.migadu.com X-TUID: ENEpUM2q2iTK Nicolas Goaziou writes: >>> I suggest to not tag emptiness. `org-set-tags' could raise an error in >>> this case. >> >> Of course, we can go the other way around and recognise "* :myheadline:" >> as non-empty headline with no tags. > > There is no spoon^W way. Or, no way is satisfactory. "Don't tag empty > headlines" is better. > > In any case, I'm not convinced Org Element is wrong here. 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:" >> Though it will be more tricky than >> simply changing `org-set-tags' as you suggest. > > It probably boils down to changing `org-tag-line-re'. I didn't check > though. org-tag-line-re and also org-tag-group-re, I think. Best, Ihor