From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Export all headlines when some are set with :export: Date: Sat, 10 May 2014 09:14:49 -0500 Message-ID: References: <87d2fml0dp.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b33d3c066935004f90c56e4 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wj83B-0007uT-9z for emacs-orgmode@gnu.org; Sat, 10 May 2014 10:14:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wj83A-00009q-5l for emacs-orgmode@gnu.org; Sat, 10 May 2014 10:14:53 -0400 Received: from mail-oa0-x233.google.com ([2607:f8b0:4003:c02::233]:39665) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wj839-00009m-Us for emacs-orgmode@gnu.org; Sat, 10 May 2014 10:14:52 -0400 Received: by mail-oa0-f51.google.com with SMTP id n16so6273591oag.24 for ; Sat, 10 May 2014 07:14:51 -0700 (PDT) In-Reply-To: <87d2fml0dp.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos Cc: emacs-orgmode --047d7b33d3c066935004f90c56e4 Content-Type: text/plain; charset=UTF-8 On May 9, 2014 11:32 PM, "Nick Dokos" wrote: > > John Hendy 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 > > --047d7b33d3c066935004f90c56e4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On May 9, 2014 11:32 PM, "Nick Dokos" <ndokos@gmail.com> wrote:
>
> John Hendy <jw.hendy@gmail.co= m> writes:
>
> > In creating a packing/buy list for an upcoming camping trip, I wa= nted
> > 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 fooli= sh,
> > but it was the obvious choice to selectively export them) to crea= te my
> > shopping list. I'd also like an alternate export with all hea= dlines in
> > the subtree exported.
> >
> > Now the list is done like that, but I'm not sure how to expor= t
> > everything without undoing all the tags on the buy list items. > >
> > I'm thinking I should have done something like a :buy: tag, t= hen set
> > SELECT_TAGS to target those items, followed by removing that expo= rt
> > option and exporting as normal to get them all. Just thought I= 9;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 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:export:
>
> * b
>
> * c
>
> * d =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: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 bett= er strategy with non-org tags, which is what I ended up doing.

Thanks!
John

> --
> Nick
>
>

--047d7b33d3c066935004f90c56e4--