emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Pierre-Luc Gauthier <p.luc.gauthier@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Exporting selected tags *with* its sub-tag hierarchy
Date: Fri, 2 Feb 2018 15:35:48 -0500	[thread overview]
Message-ID: <CAPkan7cUH-EXFGzvDn2uviJsri92yOYZ4ypCGJ7+zUxfiZktZg@mail.gmail.com> (raw)

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

Hi there,

Is there a way to export some tags with all its sub tags?

I have this tree of tags as explained here :
https://orgmode.org/manual/Tag-hierarchy.html
loaded at startup. E.g.:
#+TAGS: [ @errands : bank groceries ]

Filtering the @errands tag in the agenda todo view does lists all of
@errands sub tags as expected (i.e.: bank and groceries). Why then doesn't
SELECT_TAGS do the same on exporting? I did search and try other options to
no avail.

In the minimal working example bellow, only the content explicitly tagged
@errands is exported (to LaTeX might that be relevant). I would expect all
the sub-tags to be exported also. In this example, the content tagged
:bank: does not get exported as expected.

'Any hints on how to achieve hierarchal exporting of tags?

Thanks for any pointers.
-- 
Pierre-Luc Gauthier


#+OPTIONS: toc:nil
#+TAGS: [ @errands : bank groceries ]
#+SELECT_TAGS: @errands

* General errands                              :@errands:
** TODO Buy matches

* Bank stuff                                       :bank:
** TODO Do pay stuff

* TODO Some other task                         :OtherTag:

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

             reply	other threads:[~2018-02-02 20:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-02 20:35 Pierre-Luc Gauthier [this message]
2018-02-03 23:15 ` Exporting selected tags *with* its sub-tag hierarchy Nicolas Goaziou

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=CAPkan7cUH-EXFGzvDn2uviJsri92yOYZ4ypCGJ7+zUxfiZktZg@mail.gmail.com \
    --to=p.luc.gauthier@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).