From mboxrd@z Thu Jan 1 00:00:00 1970 From: Myles English Subject: Re: columnview with #+INCLUDE:, org-export-org? Date: Mon, 12 Mar 2012 11:59:21 +0000 Message-ID: <8762eaxc6e.fsf@gmail.com> References: <87k42qxftf.fsf@gmail.com> Reply-To: emacs-orgmode Mode , Myles English Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S73qX-0004VP-PA for emacs-orgmode@gnu.org; Mon, 12 Mar 2012 07:55:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S73qK-0003Pz-Vm for emacs-orgmode@gnu.org; Mon, 12 Mar 2012 07:55:25 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:55906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S73qK-0003Pc-Mi for emacs-orgmode@gnu.org; Mon, 12 Mar 2012 07:55:12 -0400 Received: by werj55 with SMTP id j55so3926440wer.0 for ; Mon, 12 Mar 2012 04:55:10 -0700 (PDT) In-Reply-To: <87k42qxftf.fsf@gmail.com> (Myles English's message of "Mon, 12 Mar 2012 10:40:44 +0000") 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 Mode --=-=-= >> On Mon, 12 Mar 2012 10:40:44 +0000, Myles English said: > Hello, I would like to capture the columnview of a file including > the view of an org file specified using #+INCLUDE. These includes > are currently only expanded during export so I am thinking maybe I > should export to a temporary org buffer first and then do a > columnview on the temporary buffer. > Has anyone else already solved this problem? In particular, has > anyone already done org-export-org? Any other comments, as I don't > really know my way around the code too well yet. > Thanks, > Myles Turns out that everything is already included, and this works fine for my purposes: --=-=-= Content-Disposition: inline; filename=test-include.org #+TITLE: test-include.org #+DATE: 2012-03-12 Mon #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+XSLT: #+BEGIN_SRC emacs-lisp (org-export-as-org nil nil nil nil nil nil) (find-file "test-include-source.org") (org-export-handle-include-files-recurse) #+END_SRC #+RESULTS: * Prologue #+INCLUDE: "./test-include-include.org" :lines "19-" * colview :noexport: #+BEGIN: columnview :hlines 5 :id file:test-include-source.org | Task | Effort | CLOCKSUM | |--------------------+--------+----------| | * Prologue | | | |--------------------+--------+----------| | * Included heading | | | #+END: --=-=-= Content-Disposition: inline; filename=test-include-include.org Content-Description: inline #+TITLE: test-include-include.org #+AUTHOR: Myles English #+EMAIL: myles.english@ed.ac.uk #+DATE: 2012-03-12 Mon #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+XSLT: * Don't want this heading included * Included heading This is included --=-=-= Thanks again for orgmode. Myles --=-=-=--