[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Difference :header-args: and :header-args+:?
From: |
Rainer M Krug |
Subject: |
Re: [O] Difference :header-args: and :header-args+:? |
Date: |
Fri, 05 Sep 2014 09:30:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) |
Aaron Ecay <address@hidden> writes:
> Hi Rainer,
>
> 2014ko irailak 4an, Rainer M Krug-ek idatzi zuen:
>>
>> Hi
>>
>> I have a question concerning the property :header-args:. In addition
>> to :header-args: there is also :header-args+:.
>>
>>
>> 1) If I set some properties globally and in a subtree I want to *add* a
>> *new* header argument - do I have to use the + or not?
>>
>> 2) If I set some properties globally and in a subtree I want to *change*
>> a *single* header argument which *was set globally* - do I have to use
>> the + or not?
>
> Are you aware that you can set individual header args as properties?
> Something like (at the file level):
>
> #+property: session *foo*
>
> or (at the subtree level):
>
> :PROPERTIES:
> :session: *foo*
> :END:
>
> This will likely be easier than trying to do surgery on the header-args
> property.
Absolutely - but this has been (unfortunately!!!!!!!) be deprecated:
Quoted from the manual [1] :
,----
| [1] The deprecated syntax for default header argument properties, using
| the name of the header argument as a property name directly, evaluates
| the property as seen by the corresponding source block definition. This
| behavior has been kept for backwards compatibility.
`----
I was using this deprecated behavior and I was *very* happy with it, but
I am trying to adjust to the new syntax.
So how can I use the new syntax?
Rainer
Footnotes:
[1]
http://orgmode.org/manual/Header-arguments-in-Org-mode-properties.html#Header-arguments-in-Org-mode-properties
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
pgpsEE0pV6eqR.pgp
Description: PGP signature
- [O] Difference :header-args: and :header-args+:?, Rainer M Krug, 2014/09/04
- Re: [O] Difference :header-args: and :header-args+:?, Aaron Ecay, 2014/09/04
- Re: [O] Difference :header-args: and :header-args+:?,
Rainer M Krug <=
- Re: [O] Difference :header-args: and :header-args+:?, Aaron Ecay, 2014/09/05
- Re: [O] Difference :header-args: and :header-args+:?, Rainer M Krug, 2014/09/08
- Re: [O] Difference :header-args: and :header-args+:?, Achim Gratz, 2014/09/08
- Re: [O] Difference :header-args: and :header-args+:?, Aaron Ecay, 2014/09/08
- Re: [O] Difference :header-args: and :header-args+:?, Rainer M Krug, 2014/09/09
- Re: [O] Difference :header-args: and :header-args+:?, Achim Gratz, 2014/09/09
- Re: [O] Difference :header-args: and :header-args+:?, Rainer M Krug, 2014/09/09
- Re: [O] Difference :header-args: and :header-args+:?, Achim Gratz, 2014/09/09
- Re: [O] Difference :header-args: and :header-args+:?, Aaron Ecay, 2014/09/17
- Re: [O] Difference :header-args: and :header-args+:?, Rainer M Krug, 2014/09/09