From: "Victor A. Stoichita" <victor@svictor.net>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: strange behavior of @ in tag searches
Date: Sun, 20 Dec 2020 23:52:53 +0100 [thread overview]
Message-ID: <87mty89kvy.fsf@svictor.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 1419 bytes --]
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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: testfiles_2.org --]
[-- Type: text/x-org, Size: 180 bytes --]
#+TAGS: [ anthro2 : bib2 ]
* my anthro2 task :@anthro2:
* my bib2 task :bib2:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: testfiles.org --]
[-- Type: text/x-org, Size: 183 bytes --]
#+TAGS: [ @anthro : bib ]
* my anthro task :@anthro:
* my bib task :bib:
next reply other threads:[~2020-12-20 22:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-20 22:52 Victor A. Stoichita [this message]
2020-12-20 23:05 ` strange behavior of @ in tag searches Victor A. Stoichita
2020-12-21 3:38 ` Ihor Radchenko
2020-12-22 22:18 ` Kyle Meyer
2020-12-22 23:34 ` Ihor Radchenko
2020-12-23 10:26 ` Victor A. Stoichita
2020-12-24 2:56 ` Ihor Radchenko
2020-12-24 8:21 ` Victor A. Stoichita
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=87mty89kvy.fsf@svictor.net \
--to=victor@svictor.net \
--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).