emacs-orgmode
[Top][All Lists]
Advanced

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

Re: strange behavior of @ in tag searches


From: Victor A. Stoichita
Subject: Re: strange behavior of @ in tag searches
Date: Mon, 21 Dec 2020 00:05:39 +0100


Hi,

I’m a bit puzzled by the behavior of the agenda search when tags have
hierarchical structure and start with @. I attach two
minimal examples.

In testfiles.org I have:
--8<---------------cut here---------------start------------->8---
#+TAGS: [ @anthro : bib ]

* my anthro
  task                                               :@anthro:
* my bib
  task                                                      :bib:
--8<---------------cut here---------------end--------------->8---

I restrict the search to the buffer and search for the tag "@anthro". I would expect to get the two headings "my anthro task" and "my bib
task".
Instead, I only get "my bib task".

Now in testfiles2.org I have:
--8<---------------cut here---------------start------------->8---
#+TAGS: [ anthro2 : bib2 ]

* my anthro2
  task                                              :@anthro2:
* my bib2
  task                                                     :bib2:
--8<---------------cut here---------------end--------------->8---

Notice that here the parent tag set in the header does not start with
@ while the tag on "my anthro2 task" starts with @.
When I search for "anthro2" (no @), I would expect to get only "my
bib2 task". But here I get both headings.

Am I missing something? Does @ have a special meaning in tags?

This is with org mode version 9.4.3. Regards,
Victor

I just realized that with "emacs -Q" both searches yield the expected results.
I have emacs 27.1 which ships org-mode 9.3.
Could I have set inadvertently something that changes the meaning of @ in tag searches? Or was there a change in that respect between 9.3 and 9.4.3?




reply via email to

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