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:58:54 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (windows-nt)

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




reply via email to

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