From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Day Subject: Re: org-export-handle-include-files Date: Sun, 9 Dec 2012 10:24:18 +1100 Message-ID: References: <031D6BA7-0AF1-4214-869A-99B7CA8F861B@gmail.com> <6494.1354980246@alphaville> Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThTku-00086Q-Ja for emacs-orgmode@gnu.org; Sat, 08 Dec 2012 18:24:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ThTkt-0006UM-MV for emacs-orgmode@gnu.org; Sat, 08 Dec 2012 18:24:24 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:57981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThTkt-0006UG-Ew for emacs-orgmode@gnu.org; Sat, 08 Dec 2012 18:24:23 -0500 Received: by mail-pa0-f41.google.com with SMTP id bj3so1209050pad.0 for ; Sat, 08 Dec 2012 15:24:22 -0800 (PST) In-Reply-To: <6494.1354980246@alphaville> 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: nicholas.dokos@hp.com Cc: "emacs-orgmode@gnu.org org" On 9 Dec 2012, at 02:24, Nick Dokos wrote: > > >> Is there a method where you can use >> #+INCLUDE without overwriting the current buffer? >> > > You can do what org-export-preprocess-string does: create a temp > buffer, insert the contents of the original buffer and call > org-export-handle-include-files (or > org-export-handle-include-files-recurse) in that buffer. > > Nick Great. Thanks Nick :-)