emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Tangling takes long - profiling and calling R


From: Rainer M Krug
Subject: Re: [O] Tangling takes long - profiling and calling R
Date: Thu, 02 Jul 2015 14:52:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin)

Nicolas Goaziou <address@hidden> writes:

> Hello,
>
> Aaron Ecay <address@hidden> writes:
>
>> There is also a semantic difference in the two approaches as to whether
>> a remote invocation of a babel block (via e.g. #+call) uses the
>> properties from the block’s document position, or from the call’s.
>>
>> Before deprecating the feature, the bugs should be fixed (if they are
>> really bugs), and the semantic differences explicated better.
>
> I'm all ears to bug reports. 
>
> However, the point is not about deprecating the feature. It /is/ marked
> as deprecated already, and has been so during the last two years.
> Keeping both is just confusing and not necessary, since you can override
> properties locally, with appropriate arguments.
>
> I suggest to remove the old "dynamic" setting and improve the new
> "lexical" one, if needed. Of course, it can wait Org 8.4, but it should
> be signaled during Org 8.3 release already.

What I am missing in the new syntax is the possibility to *change* the
value of one header argument or to *remove* one.

There is

,----
| :header-args: tangle testfile.R
`----

Which sets the property header-args, there is

,----
| :header-args+: noweb yes
`----

which adds to header-args, what is missing is

,----
| :header-args-: noweb
`----

which would remove the "noweb yes" from the header arguments and
possibly

,----
| :header-args-+: noweb exec
`----

which would *replace* the "noweb yes" with "noweb exec", so it is
effectively identical to

,----
| :header-args-: noweb
| :header-args+: noweb exec
`----


I know this might be difficult as header-args is simply a string, but I
think when these additions would be there, the old syntax could be
translated into the new syntax.

Cheers,

Rainer

>
>
> Regards,

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      address@hidden

Skype:      RMkrug

PGP: 0x0F52F982

Attachment: signature.asc
Description: PGP signature


reply via email to

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