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: Sebastien Vauban
Subject: Re: [O] About commit named "Allow multi-line properties to be specified in property blocks"
Date: Tue, 08 Nov 2011 10:41:44 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (windows-nt)

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...

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

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