On 05/08/2023 16:35, Bastien wrote:
Max Nikulin writes:

I do not see any value in having this bug in the open state, but I am
leaving decision up to you.

I tested with the latest Org version and the bug is still there.

Bastien, similar issues have been raised on the emacs-orgmode mailing lists enough times. An example:

Nicolas Goaziou. c47b535bb origin/main org-element: Remove dependency on ‘org-emphasis-regexp-components’
Thu, 18 Nov 2021 13:35:19 +0100.
https://list.orgmode.org/87y25l8wvs....@nicolasgoaziou.fr :
I disagree. Priority should be given to the first object being started.
This is, IMO, the only sane way to handle syntax.

On 05/08/2023 16:35, Bastien wrote:
May I suggest to the OP (Josef?) to share the bug upstream on the
Org-mode list, if not already done?

Nicholas D Steeves added the link to the mailing list archive, see comments in the bug tracker.

Even if it's a minor gotcha, it deserves to be fixed.

It is not minor issue, it is design of parser as it was implemented by Nicolas Goaziou. I do not mind to get behavior similar to pandoc, but I can not estimate required efforts. Perhaps it would be a breaking change for some users.

Bugs are reported on the mailing list and tracked on
https://updates.orgmode.org.

An almost identical issue is tracked there as "Double colon :: in description breaks link and forces list item to become descriptive one". Another example of a record with similar origin related to parsing approach: "Bug: PDF Export of Link fails [9.4.6]"

I see 2 ways:
- Serious change of the org-element parser.
- More prominently documenting current behavior.

Reply via email to