Yue Yi <[email protected]> writes:

> Instead of modifying the export process of ox-html, perhaps we can
> directly modify the implementation of the parser.
>
> First, `org-element-plain-list-parser' determines the type of the list
> based on the structure (generally from `org-list-struct'). My approach
> is to clear the tags at the same indentation level (i.e., the 6th
> element in the struct elements) when the list type is not descriptive.
>
> Modifying plain-list alone is not enough; we need the cooperation of
> `org-element-item-parser'. In the original version, we can notice that
> it only sets contents-begin to the beginning of the item when it finds
> an "a :: b" structure and the list is an ordered list; in other cases,
> it skips the TERM :: structure. Now, we can choose not to skip it when
> we find that (nth 5) of the item is nil.

I think it is too much.
If you look into syntax spec, we have
https://orgmode.org/worg/org-syntax.html#Plain_Lists
and
https://orgmode.org/worg/org-syntax.html#Items

There, we allow tags in items regardless whether the overall list is a
tagged list or not.

Altering that description will constitute a change in Org syntax, which
is, IMHO not justified.

Canceled. (patch)

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to