From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Difference :header-args: and :header-args+:? Date: Fri, 05 Sep 2014 09:30:15 +0200 Message-ID: References: <877g1j1gwx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPnyZ-0000og-Si for emacs-orgmode@gnu.org; Fri, 05 Sep 2014 03:30:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPnyT-0006NV-K1 for emacs-orgmode@gnu.org; Fri, 05 Sep 2014 03:30:31 -0400 Received: from mail-wg0-f48.google.com ([74.125.82.48]:39482) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPnyT-0006NQ-6F for emacs-orgmode@gnu.org; Fri, 05 Sep 2014 03:30:25 -0400 Received: by mail-wg0-f48.google.com with SMTP id a1so514008wgh.7 for ; Fri, 05 Sep 2014 00:30:24 -0700 (PDT) In-Reply-To: <877g1j1gwx.fsf@gmail.com> (Aaron Ecay's message of "Thu, 04 Sep 2014 12:36:46 -0400") 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 Cc: Aaron Ecay --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Aaron Ecay writes: > Hi Rainer, > > 2014ko irailak 4an, Rainer M Krug-ek idatzi zuen: >>=20 >> Hi >>=20 >> I have a question concerning the property :header-args:. In addition >> to :header-args: there is also :header-args+:. >>=20 >>=20 >> 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? >>=20 >> 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:=20 [1] http://orgmode.org/manual/Header-arguments-in-Org-mode-properties.html= #Header-arguments-in-Org-mode-properties =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJUCWaNAAoJENvXNx4PUvmCAjEIAIsiANT5Ea/7ACM53+/g8OL9 xCZTK+Nhrhe54vE4haupASoVohJ07q93pQBILavG0F6y8YABt/9QjbFYcgknpqqb TlGWuvFRoX9lJCifxI2p/DBVK2Ul7LnoJ4YsWPlL9feBcA9gHq9ngiGiOgItxBnz bf0IKFL5Lrd1u+7RjcH88FB7mSUs/5GiY3rqds5A5Og0WlttFJDop6KNQMnKilU8 wuVxCpkTOh7FOle9O8TjEOJTdSuGezzS0uqCal857aTtdqeL6JeMcqpBnsSwHqM1 2xpRfQ4L6roshrnzmBvjODtPIQxcuHmRiXyV9niE7h9QKLrNhi8MBZ2wMcgpG08= =eoYW -----END PGP SIGNATURE----- --=-=-=--