From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Included org-mode files not exported properly Date: Fri, 07 Aug 2009 19:03:58 -0400 Message-ID: <25106.1249686238@gamaville.dokosmarshall.org> References: <1249609266.4935.16.camel@hp-laptop> <472D961A-15B6-43BF-B378-5425EADD3BAC@gmail.com> <874osjac84.wl%bkline@rksystems.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZYVZ-0005H2-59 for emacs-orgmode@gnu.org; Fri, 07 Aug 2009 19:05:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZYVT-0005FL-OB for emacs-orgmode@gnu.org; Fri, 07 Aug 2009 19:05:55 -0400 Received: from [199.232.76.173] (port=36793 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZYVT-0005FI-IF for emacs-orgmode@gnu.org; Fri, 07 Aug 2009 19:05:51 -0400 Received: from vms173015pub.verizon.net ([206.46.173.15]:47074) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MZYVT-0000BR-3f for emacs-orgmode@gnu.org; Fri, 07 Aug 2009 19:05:51 -0400 Received: from gamaville.dokosmarshall.org ([98.110.172.159]) by vms173015.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KO1009FV42I0CL2@vms173015.mailsrvcs.net> for emacs-orgmode@gnu.org; Fri, 07 Aug 2009 18:03:59 -0500 (CDT) In-reply-to: Message from Bob Kline of "Fri, 07 Aug 2009 11:13:31 EDT." <874osjac84.wl%bkline@rksystems.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bob Kline Cc: emacs-orgmode@gnu.org, Carsten Dominik Bob Kline wrote: > At Fri, 7 Aug 2009 16:32:15 +0200, > Carsten Dominik wrote: > > > this bug was fixed on July 24: > > > > http://repo.or.cz/w/org-mode.git?a=commitdiff;h=68b65e8f480c17cfe1024001c236eb4065893f4d > > > > so you probably need to upgrade. > > Hmm. I pulled down the latest code directly from the git repo, and I'm > still seeing the buggy behavior. Did you have a different meaning in > mind for "upgrade"? > I suggested a workaround to Bob (unfortunately, I forgot to copy the list so it's in a different thread): use #+INCLUDE: "foo" markup but I think Bob is right that there is a problem (possibly more than one). o First, this does not agree with the documentation. In fact, Michael Zeller had proposed a change in the documentation (see http://thread.gmane.org/gmane.emacs.orgmode/15924) to make it conform to the current working of the code. Carsten, could you take a look and if you agree, apply that patch? (but see below first). o Second, the markup argument can be anything. If it is present, then the included file is processed as an org mode file for export (unless markup is "src" or "SRC", in which case the lang argument comes into the picture). In the thread above, Michael Zeller suggests "org" as the value of the markup and his documentation fix is phrased accordingly, but as far as the code goes that's purely conventional. o Third, if the markup argument is not present, then org-get-file-contents returns the contents of the file as a strings with commas preceding the headlines, as Bob mentioned. What's this all about? Thanks, Nick