From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer Stengele Subject: Re: include file contents in org files? Date: Wed, 22 Aug 2007 11:32:12 +0200 Message-ID: References: <87bqd0qwql.fsf@bzg.ath.cx> <20070822091042.GC25403@atlantic.linksys.moosehall> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1INman-0004Jd-FU for emacs-orgmode@gnu.org; Wed, 22 Aug 2007 05:33:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1INmai-0004Hp-Oa for emacs-orgmode@gnu.org; Wed, 22 Aug 2007 05:33:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INmah-0004HU-2V for emacs-orgmode@gnu.org; Wed, 22 Aug 2007 05:33:31 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1INmag-0003eH-Ia for emacs-orgmode@gnu.org; Wed, 22 Aug 2007 05:33:30 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1INmaR-0006eo-9Q for emacs-orgmode@gnu.org; Wed, 22 Aug 2007 11:33:15 +0200 Received: from p57af19dd.dip0.t-ipconnect.de ([87.175.25.221]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Aug 2007 11:33:15 +0200 Received: from rainer.stengele by p57af19dd.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Aug 2007 11:33:15 +0200 In-Reply-To: <20070822091042.GC25403@atlantic.linksys.moosehall> 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: emacs-orgmode@gnu.org Adam Spiers schrieb: > Bastien (bzg@altern.org) wrote: >> Rainer Stengele writes: >> >>> I'd like to have the initial lines (configuration) of any org file be >>> the same. >> Perhaps we can use Tempo [1] or Templates [2] for this? > > If I understand Rainer's original requirements, that wouldn't work, > because once expansion had been performed across multiple files, you > would still need to edit them all if you needed to make a change to > the common component. An include mechanism sounds like a nice idea to > me. Adam, you've got it right. I would like to have something like a #include under C but also see the contents of the included file. The include "update" could take place whenever the org file is opened or maybe by request "org-update-includes" or whatever. Rainer