Hello,

Kaushal Modi <kaushal.m...@gmail.com> writes:

> I have noticed a minor regression in the order in which Org collects the
> "ALLTAGS" tags at point.
>
> Here is a simple Org file to reproduce that issue:
>
> =====
>
> #+filetags: a
>
> * Level 1
> :b:
> ** Level 2
> :c:
> *** Level 3
> :d:
>
> =====
>
> With point anywhere under ~* Level 3~ heading, evaluate:
>
> M-: (org-entry-get (point) "ALLTAGS")
>
>
> In Org 9.1.x, the order of tags returned was ":a:b:c:d:".
> But in Org 9.2, the order becomes ":b:c:a:d:".
>
> So, earlier (Org 9.1.x) the order was:
> 1. tags from filetags
> 2. tags from parent headings in order
> 3. current heading tags
>
> In Org 9.2, the order is:
> 1. *tags from parent headings in order*
> 2. *tags from filetags*
> 3. current heading tags
>
> Is this switch of order expected?

The order of tags is unspecified, either in the docstring, in the
manual, or in the syntax. So it doesn't really matter.

Feel free to provide a patch if it bothers you.

Regards,

-- 
Nicolas Goaziou

Reply via email to