From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: include file contents in org files? Date: Wed, 22 Aug 2007 11:42:26 +0200 Message-ID: References: <87bqd0qwql.fsf@bzg.ath.cx> <20070822091042.GC25403@atlantic.linksys.moosehall> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1INmjU-0007SK-T1 for emacs-orgmode@gnu.org; Wed, 22 Aug 2007 05:42:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1INmjS-0007RT-7I for emacs-orgmode@gnu.org; Wed, 22 Aug 2007 05:42:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INmjR-0007RC-3g for emacs-orgmode@gnu.org; Wed, 22 Aug 2007 05:42:33 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1INmjQ-0005Il-Jr for emacs-orgmode@gnu.org; Wed, 22 Aug 2007 05:42:32 -0400 In-Reply-To: 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: Rainer Stengele Cc: emacs-orgmode@gnu.org On Aug 22, 2007, at 11:32, Rainer Stengele wrote: > 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. While I maybe can see the use of having an #include mechanism, I don't see why you'd want to *see* the included stuff. It is just as easy to look at the include file itself, and if it is the same for every file you use, you'd have it memorized soon enough. - Carsten