From: John Hendy <jw.hendy@gmail.com>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Export all headlines when some are set with :export:
Date: Sat, 10 May 2014 09:14:49 -0500 [thread overview]
Message-ID: <CA+M2ft8cQxQSdp9yOneiD14v+Urb_RVB89=+GHqR9Ve1qdtxpQ@mail.gmail.com> (raw)
In-Reply-To: <87d2fml0dp.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1609 bytes --]
On May 9, 2014 11:32 PM, "Nick Dokos" <ndokos@gmail.com> wrote:
>
> John Hendy <jw.hendy@gmail.com> writes:
>
> > In creating a packing/buy list for an upcoming camping trip, I wanted
> > two exports:
> > - one for things to buy
> > - one for everything on the list for packing
> >
> > My strategy was to tag things to buy with :export: (perhaps foolish,
> > but it was the obvious choice to selectively export them) to create my
> > shopping list. I'd also like an alternate export with all headlines in
> > the subtree exported.
> >
> > Now the list is done like that, but I'm not sure how to export
> > everything without undoing all the tags on the buy list items.
> >
> > I'm thinking I should have done something like a :buy: tag, then set
> > SELECT_TAGS to target those items, followed by removing that export
> > option and exporting as normal to get them all. Just thought I'd see
> > if there was a way to override the function of :export: as it
> > typically behaves.
> >
> >
>
> An empty SELECT_TAGS selects everything I believe:
>
> --8<---------------cut here---------------start------------->8---
> #+SELECT_TAGS:
>
> * a
:export:
>
> * b
>
> * c
>
> * d
:export:
> --8<---------------cut here---------------end--------------->8---
>
> Then you can comment it out to get just the :export:ed headlines.
> But a semantically meaningful tag seems better to me.
>
Awesome, and I'll keep that in mind. Agreed re. the better strategy with
non-org tags, which is what I ended up doing.
Thanks!
John
> --
> Nick
>
>
[-- Attachment #2: Type: text/html, Size: 2494 bytes --]
next prev parent reply other threads:[~2014-05-10 14:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-10 3:11 Export all headlines when some are set with :export: John Hendy
2014-05-10 4:32 ` Nick Dokos
2014-05-10 14:14 ` John Hendy [this message]
2014-05-10 9:02 ` Alexander Baier
2014-05-10 14:15 ` John Hendy
2014-05-10 9:51 ` Alexander Baier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+M2ft8cQxQSdp9yOneiD14v+Urb_RVB89=+GHqR9Ve1qdtxpQ@mail.gmail.com' \
--to=jw.hendy@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=ndokos@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.