From mboxrd@z Thu Jan 1 00:00:00 1970 From: Herbert Sitz Subject: Re: export subtree Date: Fri, 11 Dec 2015 00:27:56 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7BZA-00057B-GW for emacs-orgmode@gnu.org; Thu, 10 Dec 2015 19:28:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a7BZ7-0002hk-Aw for emacs-orgmode@gnu.org; Thu, 10 Dec 2015 19:28:08 -0500 Received: from plane.gmane.org ([80.91.229.3]:44201) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7BZ7-0002hM-3d for emacs-orgmode@gnu.org; Thu, 10 Dec 2015 19:28:05 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1a7BZ3-0003rO-Pg for emacs-orgmode@gnu.org; Fri, 11 Dec 2015 01:28:02 +0100 Received: from 71-35-106-125.tukw.qwest.net ([71.35.106.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Dec 2015 01:28:01 +0100 Received: from hesitz by 71-35-106-125.tukw.qwest.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Dec 2015 01:28:01 +0100 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 Not a perfect solution, buy I think you can use the #+SELECT_TAGS option to set which tress will be exported by default, then tag your desired export tree with that tag. Then when you export the full buffer (not just a subtree) it will choose the tree with that tag. E.g., --------------------------------- #+SELECT_TAGS: myexporttree * Main tree :myexporttree: fkjaldfk ** subhead ** subhead * anoher heading 1 * another heading level 1 ** subhead ** subhead -------------------------------- In org buffer above it will export only the first subtree now when you export the entire buffer. You should be able to export the others selectively if you choose scope as 'subtree'. And you can always comment out or delete the SELECT_TAGS line if you want to export entire buffer.