From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: export subtree Date: Thu, 10 Dec 2015 20:06:40 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a77UQ-0003SE-4p for emacs-orgmode@gnu.org; Thu, 10 Dec 2015 15:06:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a77UM-0001QU-Vz for emacs-orgmode@gnu.org; Thu, 10 Dec 2015 15:06:58 -0500 Received: from plane.gmane.org ([80.91.229.3]:46984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a77UM-0001Py-Oe for emacs-orgmode@gnu.org; Thu, 10 Dec 2015 15:06:54 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1a77UJ-0004Yo-Tt for emacs-orgmode@gnu.org; Thu, 10 Dec 2015 21:06:52 +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 21:06:51 +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 21:06:51 +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: > 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). >From its docstring: ,---- | When ARG is C-u, repeat the last export action, with the same set | of options used back then, on the current buffer. `---- This might do what you want already. Regards, Andreas