emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH]: Add header-args property to source block info


From: Rainer M Krug
Subject: Re: [O] [PATCH]: Add header-args property to source block info
Date: Tue, 10 Feb 2015 21:54:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (darwin)

"Charles C. Berry" <address@hidden> writes:

> 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.

Apart from having no idea how I can do this, I think it would add just
another layer of complexity which is actually not needed as this is just
an information to be assessed visually and not to be parsed by some
code - so I do not assume there are any backward compatibility issues.

Also, as the information presented is only relative small (20 lines
max?) it is still quite easy to see the original information.

If the patch would strip away information or add a huge amount of it, I
would completely agree with your suggestion, but as it stands, I see no
harm in leaving it as it is in the patch.

Cheers,

Rainer

>
> Best,
>
> Chuck
>
>

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]