From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Export all headlines when some are set with :export: Date: Sat, 10 May 2014 00:32:18 -0400 Message-ID: <87d2fml0dp.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wiyxk-0007bu-AR for emacs-orgmode@gnu.org; Sat, 10 May 2014 00:32:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wiyxc-00008H-RS for emacs-orgmode@gnu.org; Sat, 10 May 2014 00:32:40 -0400 Received: from plane.gmane.org ([80.91.229.3]:49331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wiyxc-000089-Lh for emacs-orgmode@gnu.org; Sat, 10 May 2014 00:32:32 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wiyxb-0006LE-Qd for emacs-orgmode@gnu.org; Sat, 10 May 2014 06:32:31 +0200 Received: from pool-98-110-160-12.bstnma.fios.verizon.net ([98.110.160.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 May 2014 06:32:31 +0200 Received: from ndokos by pool-98-110-160-12.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 May 2014 06:32:31 +0200 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: emacs-orgmode@gnu.org 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. -- Nick