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:58:54 +0100 Message-ID: <80aa87lyu9.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> <4eb42564.059dec0a.5ffc.7ff5@mx.google.com> <877h3felm2.fsf@gmail.com> <87ty6ffuu6.fsf@gmail.com> <80d3d3neof.fsf@somewhere.org> 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: >> > * appending to a file-wide property >> > :PROPERTIES: >> > :var+: , baz=3 >> > :END: >> >> To be honest, the only thing that I dislike is the comma in the above line. >> Not intuitive at all. Quite hard to read. >> >> Can't the comma be implicitly added by the `+' after the property name? > > On the one hand, it might have one additional advantage: > > #+property: var foo="This is a very long text" > #+property: var+ "with even more." I don't think such a construction would be tolerated. I guess you must write a var name (foo, bar, baz, ...) after the `var+' keyword. > Would foo be: > "This is a very long text with even more" To be accurate, it would have become: "This is a very long textwith even more" if such a concatenation would be implied. > Could one make the "," implicit, if the value follows the > > x=y > > style, while otherwise just concatenate the value to the one before? I guess this is going too far, as Babel is untyped: what about... #+property: var foo=2 #+property: var+ 5 Does foo become equal to 25? (I know I exaggerate somehow, but just to show I guess such extensions are simply not possible without explicit types). But, if not equal to 25, what would be expected? An error, ...? Best regards, Seb -- Sebastien Vauban