emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: emacs-org list <emacs-orgmode@gnu.org>
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	[thread overview]
Message-ID: <CAFyQvY0-343kCtbQNpMAxA9=P7Ltq9AZG0x9FBFK2tGfEO--aQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 728 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1663 bytes --]

             reply	other threads:[~2019-01-03 23:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-03 23:40 Kaushal Modi [this message]
2019-01-04 13:15 ` Change in order of tag collation from #+filetags plus heading tags [Regression 9.1 -> 9.2] Nicolas Goaziou
2019-01-04 21:43   ` Kaushal Modi
2019-01-08 16:41     ` Kaushal Modi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFyQvY0-343kCtbQNpMAxA9=P7Ltq9AZG0x9FBFK2tGfEO--aQ@mail.gmail.com' \
    --to=kaushal.modi@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).