emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] About commit named "Allow multi-line properties to be specified


From: Rainer M Krug
Subject: Re: [O] About commit named "Allow multi-line properties to be specified in property blocks"
Date: Tue, 8 Nov 2011 10:44:34 +0100



On Tue, Nov 8, 2011 at 10:41 AM, Sebastien Vauban <address@hidden> wrote:
Hi Rainer,

Rainer M Krug wrote:
>> The proposal is, when a property name ends in +, the value is appended
>> to the corresponding property, rather than replacing it, so
>>
>>  #+PROPERTY: var   foo=1
>>  #+PROPERTY: var   bar=2
>>
>> results in '(("var" . "bar=2"))
>>
>>  #+PROPERTY: var    foo=1
>>  #+PROPERTY: var+ , bar=2
>>
>> results in '(("var" . "foo=1, bar=2"))
>>
>> This way subtree properties could be used as well, e.g.,
>>
>>  #+PROPERTY: var foo=1
>>
>>  * subtree
>>    :PROPERTIES:
>>    :var+: bar=2
>>    :CUSTOM_ID: something
>>    :END:
>
> I like that suggestion - it is clear, easy to understand, gives other
> advantages (you can "unset" variables in a subtree - which would be an
> added bonus) and does not require any large changes in org files.

How do you unset a var?  By resetting the list with a new var (without `+'),
and adding all the other valid vars?  If so, not really unsetting... You
simply void all vars, and create new definitions...

Exactly - with "unseting" var, I don't refer to unsetting a single variable, but all variables.

But as we have the var+, what about a var- to unset a single variable?
 

Best regards,
 Seb

--
Sebastien Vauban





--
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 (F):       +33 - (0)9 58 10 27 44

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

email:      address@hidden

Skype:      RMkrug


reply via email to

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