emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Change in order of tag collation from #+filetags plus heading tags [


From: Kaushal Modi
Subject: [O] Change in order of tag collation from #+filetags plus heading tags [Regression 9.1 -> 9.2]
Date: Thu, 3 Jan 2019 18:40:36 -0500

Hello,

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?


--
Kaushal Modi

reply via email to

[Prev in Thread] Current Thread [Next in Thread]