From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: export subtree Date: Thu, 10 Dec 2015 22:43:06 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a79vp-000861-Qg for emacs-orgmode@gnu.org; Thu, 10 Dec 2015 17:43:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a79vk-0007wV-Qw for emacs-orgmode@gnu.org; Thu, 10 Dec 2015 17:43:25 -0500 Received: from plane.gmane.org ([80.91.229.3]:36864) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a79vk-0007wR-Jw for emacs-orgmode@gnu.org; Thu, 10 Dec 2015 17:43:20 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1a79vh-0001Jt-RL for emacs-orgmode@gnu.org; Thu, 10 Dec 2015 23:43:17 +0100 Received: from cpc33-cmbg15-2-0-cust4.5-4.cable.virginm.net ([81.102.136.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Dec 2015 23:43:17 +0100 Received: from andreas.leha by cpc33-cmbg15-2-0-cust4.5-4.cable.virginm.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Dec 2015 23:43:17 +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 Hi Skip, Skip Collins writes: > Andreas Leha wrote: >>> The export dispatcher allows me to export only the current subtree. >>> This is nice, but I would like to avoid having to put point in just >>> the right place before invoking the dispatcher. I have a document with >>> lots of things in it. One of the top-level headlines contains the >>> content of what I want to export. Is there a way to flag this heading >>> and its contents as the main export document so that wherever my >>> cursor is, when I export the document it only processes the correct >>> heading, treating its text as the title of the document? >> >> Try to run `org-export-dispatch' with a prefix from the second time >> onwards (so, do C-u C-c C-e). > > Good try, but it does not do what I want. It selects the subtree > currently at point, just as if I ran the dispatcher again and selected > the same options. It might be a nice enhancement if the dispatcher > remembered which subtree it used last time so that it really could > repeat a subtree export with the same options and from the same > subtree. That is what it does for me. As I said, you have to do the first export the normal way. What is your Org version (M-x org-version)? Regards, Andreas