From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: export to org, header args disappear Date: Wed, 21 May 2014 14:06:34 +0200 Message-ID: <8761kzxrn9.fsf@bzg.ath.cx> References: <87lhtvswc3.fsf@bzg.ath.cx> <87oayrr7to.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wn5IE-0005WF-Ad for emacs-orgmode@gnu.org; Wed, 21 May 2014 08:06:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wn5I5-00051A-3V for emacs-orgmode@gnu.org; Wed, 21 May 2014 08:06:46 -0400 Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:53944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wn5I4-000516-QS for emacs-orgmode@gnu.org; Wed, 21 May 2014 08:06:37 -0400 Received: by mail-wi0-f181.google.com with SMTP id n15so2618329wiw.2 for ; Wed, 21 May 2014 05:06:36 -0700 (PDT) In-Reply-To: <87oayrr7to.fsf@gmail.com> (Aaron Ecay's message of "Wed, 21 May 2014 02:03:20 -0400") 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: Aaron Ecay Cc: emacs-orgmode@gnu.org, Brady Trainor Hi Aaron, Aaron Ecay writes: > The babel/export interface does not attempt to manage the header args > when it rewrites source blocks. I think this code is pretty subtle. > Check out the (let (... (replacement ...)) ...) code in > ‘org-babel-exp-process-buffer’ and the attached patch which fixes the > problem (superficially; I’m not sure if it’s the correct fundamental > approach). I'm not sure either this is fundamentally correct, but it works fine for me. I'll let Eric decide on whether this can go to master or not, and if Eric does not have the time, just go ahead and push the change. Thanks for this! -- Bastien