From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: Export subtrees of level n Date: Sun, 03 Sep 2017 03:13:42 -0500 Message-ID: <87d178dwsp.fsf@alphapapa.net> References: <8737846w8s.fsf@luisa.c0t0d0s0.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doQ2y-0000fe-RV for emacs-orgmode@gnu.org; Sun, 03 Sep 2017 04:14:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1doQ2u-0006Ds-9G for emacs-orgmode@gnu.org; Sun, 03 Sep 2017 04:14:24 -0400 Received: from [195.159.176.226] (port=55288 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1doQ2u-0006DL-1Q for emacs-orgmode@gnu.org; Sun, 03 Sep 2017 04:14:20 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1doQ2e-0007CC-7u for emacs-orgmode@gnu.org; Sun, 03 Sep 2017 10:14:04 +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" To: emacs-orgmode@gnu.org Michael Welle writes: > Is there an existing way to say that I want to go up to a level n > heading and then export, or do I have to implement that by myself? I think you'll have to do it yourself. Here are a couple of ideas: 1. Write a function to export a subtree with a specific Org ID. 2. Write a function to look up the tree from point and export the first subtree with a certain property.