From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: [PATCH]: Add header-args property to source block info Date: Tue, 10 Feb 2015 09:58:28 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLF5N-0003Ac-A0 for emacs-orgmode@gnu.org; Tue, 10 Feb 2015 12:58:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YLF5K-0001gG-1s for emacs-orgmode@gnu.org; Tue, 10 Feb 2015 12:58:57 -0500 Received: from iport-acv2-out.ucsd.edu ([132.239.0.174]:31765) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLF5J-0001fQ-O6 for emacs-orgmode@gnu.org; Tue, 10 Feb 2015 12:58:53 -0500 In-Reply-To: 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: Rainer M Krug Cc: emacs-orgmode@gnu.org On Tue, 10 Feb 2015, Rainer M Krug wrote: > Hi > > Following a recent discussion (based on me forgetting a ":" when setting > the property :header-args), I added the output of the property > header-args to the output of org-babel-get-src-block-info to make > debugging easier. [snip] > > Using the patched version, one gets the following: > > ,---- > | Lang: R > | Properties: > | :header-args :exports both :results output exports code > | :header-args:R :session somename > | Header Arguments: > | :cache no > | :exports both > | :hlines no > | :noweb no > | :results code exports output replace > | :session somename > | :tangle no > `---- > This is handy! Just a thought: Perhaps allow an `(interactive "P)' type `arg' to determine whether to present the properties? i.e. C-u C-c C-v C-i reveals both Properties: and Header Arguments:, while C-c C-v C-i just the latter. Best, Chuck