[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Empty headline titles unsupported: Bug?
From: |
Nicolas Goaziou |
Subject: |
Re: Empty headline titles unsupported: Bug? |
Date: |
Sun, 23 May 2021 16:06:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello,
Ihor Radchenko <yantar92@gmail.com> writes:
>> 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.
>
> Yet, why not simply alter the headline parser a little bit to support
> empty titles + tag?
Because, as I wrote, this is ambiguous. You cannot distinguish the
following two cases:
* :mytag:
* :myheadline:
So, your patch would only move the problem elsewhere.
I suggest to not tag emptiness. `org-set-tags' could raise an error in
this case.
Regards,
--
Nicolas Goaziou
Re: Empty headline titles unsupported: Bug?, Sebastian Miele, 2021/05/24