From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: 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 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000042163c057e964c96" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfCc0-0001BO-2e for emacs-orgmode@gnu.org; Thu, 03 Jan 2019 18:41:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfCbz-0005th-5I for emacs-orgmode@gnu.org; Thu, 03 Jan 2019 18:41:15 -0500 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]:42152) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gfCby-0005tK-TO for emacs-orgmode@gnu.org; Thu, 03 Jan 2019 18:41:15 -0500 Received: by mail-lj1-x22b.google.com with SMTP id l15-v6so31088881lja.9 for ; Thu, 03 Jan 2019 15:41:14 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-org list --00000000000042163c057e964c96 Content-Type: text/plain; charset="UTF-8" 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 --00000000000042163c057e964c96 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: base64 PGRpdiBkaXI9Imx0ciI+PGRpdiBkaXI9Imx0ciI+PGRpdiBkaXI9Imx0ciI+PGRpdj5IZWxsbyw8 L2Rpdj48ZGl2Pjxicj48L2Rpdj48ZGl2PkkgaGF2ZSBub3RpY2VkIGEgbWlub3IgcmVncmVzc2lv biBpbiB0aGUgb3JkZXIgaW4gd2hpY2ggT3JnIGNvbGxlY3RzIHRoZSAmcXVvdDtBTExUQUdTJnF1 b3Q7IHRhZ3MgYXQgcG9pbnQuPC9kaXY+PGRpdj48YnI+PC9kaXY+PGRpdj5IZXJlIGlzIGEgc2lt cGxlIE9yZyBmaWxlIHRvIHJlcHJvZHVjZSB0aGF0IGlzc3VlOjwvZGl2PjxkaXY+PGJyPjwvZGl2 PjxkaXY+PT09PT08L2Rpdj48ZGl2PiMrZmlsZXRhZ3M6IGE8YnI+PGJyPiogTGV2ZWwgMcKgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgIDpiOjxicj4qKiBMZXZlbCAywqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDpjOjxicj4qKiogTGV2ZWwg M8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoM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