From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: include an .org file and lower the level of all its headers Date: Fri, 12 Nov 2010 13:42:12 -0600 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=58445 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGzVx-00061T-5g for emacs-orgmode@gnu.org; Fri, 12 Nov 2010 14:42:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGzVw-0004WP-27 for emacs-orgmode@gnu.org; Fri, 12 Nov 2010 14:42:24 -0500 Received: from mail-gw0-f41.google.com ([74.125.83.41]:33947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGzVv-0004WL-Um for emacs-orgmode@gnu.org; Fri, 12 Nov 2010 14:42:24 -0500 Received: by gwj16 with SMTP id 16so2001416gwj.0 for ; Fri, 12 Nov 2010 11:42:23 -0800 (PST) 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: Jianshi Huang Cc: emacs-orgmode@gnu.org On Nov 10, 2010, at 3:46 AM, Jianshi Huang wrote: > Hi, > > I know I can include any file using #+INCLUDE. > > I need to include several org files, but they were edited > independently as a complete document. > > Now I want to lower the levels of headers in these org files > automatically during inclusion. Is there a way to do that? No. But since #+include accepts arguments, it could be implemented, something like #+include "aaa.org" :minlevel 4 or so. I would accept a good patch to this effect. - Carsten