From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hsiu-Khuern Tang Subject: Re: Export a Subtree to an other .org file Date: Fri, 5 Apr 2013 16:58:57 -0700 Message-ID: <20130405235854.GA10503@localhost> References: <048901ce3091$97eb1440$c7c13cc0$@gmail.com> <87ppybh35m.fsf@bzg.ath.cx> <04ef01ce30a1$cae9a220$60bce660$@gmail.com> <20130403213639.GA31923@localhost> <874nfmzdwl.fsf@gmail.com> <87wqsi5vt9.fsf@bzg.ath.cx> <87obduxwz7.fsf@gmail.com> Reply-To: Hsiu-Khuern Tang Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOGYK-0007Pw-6k for emacs-orgmode@gnu.org; Fri, 05 Apr 2013 20:00:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UOGYJ-0004hj-4j for emacs-orgmode@gnu.org; Fri, 05 Apr 2013 20:00:16 -0400 Received: from a.mail.sonic.net ([64.142.16.245]:53662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOGYI-0004fw-St for emacs-orgmode@gnu.org; Fri, 05 Apr 2013 20:00:15 -0400 Content-Disposition: inline In-Reply-To: <87obduxwz7.fsf@gmail.com> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Hi Nicolas, For the org-org-export-to-org function, if the input is ============================================================ * test #+BEGIN_SRC R -n :var a=1 a #+END_SRC ============================================================ the output is ============================================================ * test #+BEGIN_SRC R -n a #+END_SRC ============================================================ That is, the ":var a=1" header argument is stripped (but the "-n" switch is preserved). Is this intentional? I think /everything/ in the #+BEGIN_SRC line should be preserved. What do you think? Thanks! -- Best, Hsiu-Khuern.