From: Ihor Radchenko <yantar92@gmail.com>
To: Cletip Cletip <clement020302@gmail.com>
Cc: "Daniel Fleischer" <danflscr@gmail.com>,
"Juan Manuel Macías" <maciaschain@posteo.net>,
orgmode <emacs-orgmode@gnu.org>
Subject: Re: Have all the tags of a heading, with a tag hierarchy
Date: Mon, 29 Aug 2022 19:58:03 +0800 [thread overview]
Message-ID: <87bks3qn1w.fsf@localhost> (raw)
In-Reply-To: <CAPHku6M6zM7pSLHbn2bJ+y1D_OjM7UDQhP8og1cpfGAM+MWZPw@mail.gmail.com>
Cletip Cletip <clement020302@gmail.com> writes:
> Yes I understand both perfectly. I think some people (like me) would like
> to connect them, others would not want to bring them together.
> But how to get the hierarchy (or the families) used by org agenda with a
> function like "org-get-tags" ?
You will probably need to combine org-get-tags output with regexp
generated by org-tags-expand. Tag hierarchy in Org is a just a search
wrapper - no real tags are changed in the file; only the matching.
--
Ihor Radchenko,
Org mode contributor,
Learn more about Org mode at https://orgmode.org/.
Support Org development at https://liberapay.com/org-mode,
or support my work at https://liberapay.com/yantar92
next prev parent reply other threads:[~2022-08-29 11:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-28 15:37 Have all the tags of a heading, with a tag hierarchy Cletip Cletip
2022-08-28 16:21 ` Juan Manuel Macías
2022-08-28 16:34 ` Cletip Cletip
2022-08-28 19:15 ` Daniel Fleischer
2022-08-29 11:41 ` Cletip Cletip
2022-08-29 11:58 ` Ihor Radchenko [this message]
2022-08-31 9:01 ` Cletip Cletip
2022-08-31 11:25 ` Cletip Cletip
2022-08-31 11:31 ` Cletip Cletip
2022-09-01 7:04 ` Ihor Radchenko
2022-09-02 12:47 ` Cletip Cletip
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=87bks3qn1w.fsf@localhost \
--to=yantar92@gmail.com \
--cc=clement020302@gmail.com \
--cc=danflscr@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=maciaschain@posteo.net \
/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).