From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org-export-select-tags Date: Mon, 09 Jul 2012 17:39:00 -0400 Message-ID: <6745.1341869940@alphaville> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoLfd-0004ny-2w for emacs-orgmode@gnu.org; Mon, 09 Jul 2012 17:39:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SoLfb-0005aK-Cb for emacs-orgmode@gnu.org; Mon, 09 Jul 2012 17:39:04 -0400 Received: from g1t0026.austin.hp.com ([15.216.28.33]:42763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoLfb-0005aF-78 for emacs-orgmode@gnu.org; Mon, 09 Jul 2012 17:39:03 -0400 In-Reply-To: Message from SW of "Mon, 09 Jul 2012 21:25:39 -0000." 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: SW Cc: emacs-orgmode@gnu.org SW wrote: > SW gmail.com> writes: > > > I have an org-file with many headlines of various levels, but no tags. I tagged > > one top-level headline with :export: and exported to LaTeX with C-c C-e l. The > > tagged headline and everything below it was exported, but so was the first > > headline (and everything below it) in the org file, even though it did not have > > any tags. The *only* tag is :exported: on the headline I want exported. > > *A work-around:* If the first line of the Org file is blank/empty, *then* *only* > the headlines with tag :export: are exported. Instead of: > > -------------------- > * Headline1 > * Headline2 :export: > -------------------- > > use: > > -------------------- > > * Headline1 > * Headline2 :export: > -------------------- > > *"Solved"* > I can confirm that without the empty line the first subtree gets exported as well as the (tagged) second one (but not the third one in my minimal example). That's a bug. But the minimal example I posted *did* include the initial empty line; nevertheless you reported reproducing the problem with it: how come?