From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: About commit named "Allow multi-line properties to be specified in property blocks" Date: Tue, 08 Nov 2011 10:41:44 +0100 Message-ID: <804nyfne7b.fsf@somewhere.org> References: <87vcr5c76e.fsf@gmail.com> <87vcr5j5a5.fsf@gmail.com> <4EAF118C.8050806@christianmoe.com> <87hb2mo7ek.fsf@altern.org> <87obwuh19t.fsf@gmail.com> <87hb2mdmi9.fsf@gnu.org> <87obwtgip9.fsf@gmail.com> <87sjm5ez0f.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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