From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Berry Subject: Re: update on missing :parameters in code blocks Date: Mon, 22 Sep 2014 02:38:07 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVtWL-0001bS-1Z for emacs-orgmode@gnu.org; Sun, 21 Sep 2014 22:38:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVtWD-0001ZU-3S for emacs-orgmode@gnu.org; Sun, 21 Sep 2014 22:38:32 -0400 Received: from plane.gmane.org ([80.91.229.3]:39245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVtWC-0001XF-St for emacs-orgmode@gnu.org; Sun, 21 Sep 2014 22:38:25 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XVtW6-0005K0-HD for emacs-orgmode@gnu.org; Mon, 22 Sep 2014 04:38:18 +0200 Received: from 137.110.34.228 ([137.110.34.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Sep 2014 04:38:18 +0200 Received: from ccberry by 137.110.34.228 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Sep 2014 04:38:18 +0200 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: emacs-orgmode@gnu.org John Kitchin andrew.cmu.edu> writes: > > I did some more digging on the missing :parameters during export, and it > seems that the src block itself is different during export than in the > buffer. Below illustrates what I mean. In the buffer, if I look at the > contents of the code block using output from org-element-at-point, it > looks as I expect, with the complete header. But, using the same method > in the export, it is clear that the header args are not there. > > I have not figured out where they disappear yet. > [snip] Instrument org-export-as. Then step thru it. Before this line: (org-export-execute-babel-code) the buffer copy ( my-buffer<2>, say ) will show the parameters/headers. After that line is executed, they are gone. You can work around this by `advicing' various babel functions and inserting things you want to save as attributes, but it would be nice not to need to do that. HTH, Chuck