emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [ANN] BREAKING CHANGE -- removing #+BABEL file-wide property lin


From: Christian Moe
Subject: Re: [O] [ANN] BREAKING CHANGE -- removing #+BABEL file-wide property lines
Date: Fri, 21 Oct 2011 12:47:12 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0

On 10/21/11 11:12 AM, Rainer M Krug wrote:


On Fri, Oct 21, 2011 at 10:14 AM, Christian Moe <address@hidden
<mailto:address@hidden>> wrote:
(...)
    2. Allowing you to pass multiple buffer-wide arguments with :var.
    This could make a substantive difference in some applications. The
    following will work:

      #+BABEL: :var euro=1.3791 :var salestax=.15

    The following will not, since it tries to set the same property:

      #+PROPERTY: var euro=1.3791
      #+PROPERTY: var salestax=.15


I think it is a very important point, that the construct with :var
still works - but as Eric only mentioned the *naming*, I assume that
in the actual usage nothing changes.


Hi, Rainer,

My point was that there is at least one (minor) case where properties are not functionally equivalent to the BABEL line: You cannot pass arguments for more than one variable buffer-wide, because you can't have multiple var properties at the same time, and at present, one var property only sets one variable.

The behavior of properties has not changed. What has changed is the removal of the BABEL header, whose colon (:var) syntax did allow you to set multiple variables buffer-wide should you wish to.

Yours,
Christian







reply via email to

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