emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Exporting selected tags *with* its sub-tag hierarchy
@ 2018-02-02 20:35 Pierre-Luc Gauthier
  2018-02-03 23:15 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Pierre-Luc Gauthier @ 2018-02-02 20:35 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Exporting selected tags *with* its sub-tag hierarchy
  2018-02-02 20:35 Exporting selected tags *with* its sub-tag hierarchy Pierre-Luc Gauthier
@ 2018-02-03 23:15 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2018-02-03 23:15 UTC (permalink / raw)
  To: Pierre-Luc Gauthier; +Cc: emacs-orgmode

Hello,

Pierre-Luc Gauthier <p.luc.gauthier@gmail.com> writes:

> 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?

Good question. I implemented it as a bugfix in maint branch.

Thank you.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-03 23:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-02 20:35 Exporting selected tags *with* its sub-tag hierarchy Pierre-Luc Gauthier
2018-02-03 23:15 ` Nicolas Goaziou

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).