emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] :session question -- and changes to #+Property: syntax


From: Eric Schulte
Subject: Re: [O] :session question -- and changes to #+Property: syntax
Date: Sat, 08 Jun 2013 12:08:40 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Achim Gratz <address@hidden> writes:

> Eric Schulte writes:
>> As I recall I was fully in favor of applying these changes, however I am
>> not qualified to address the changes to property behaviors.  Hopefully
>> someone who works more on that side of things can address those aspects.
>
> Oh wait, now I understand what you're getting at, let me explain.  The
> first patch that makes Org use the same regex in all places where a
> property is used does indeed change some behaviour, but not the syntax
> of the property line:
>
> :PROPERTY: VALUE
>
> where PROPERTY can contain any non-whitespace character (in
> correspondence to how the keyword PROPERTY is treated in org.el since it
> is not explicitly specified in org-element).
>
> However, there were other places in Org where a more restricted syntax
> for properties in property drawers was used, which would have precluded
> the use of ":" in property names and made it impossible to overwrite an
> inherited property from a #+PROPERTY: line that has such a property
> name.
>
> I've taken org-element as the authoritative source for the syntax and
> eliminated the other interpretations based on the fact that while the
> behaviour visible in the buffer (highlighting, prompts, etc.) would hint
> differently, the actual property handling was using the syntax used in
> org-element already.  Hence if documents existed that had mistakenly
> made use of these differences, they were already broken and would be
> interpreted via the property API as they are now also shown after this
> change.
>

Great.  Would you be willing to go ahead and apply these changes
(including documentation)?  If it upsets anyone we'll sort things out on
the mailing list.

There are stable releases precisely so that we can experiment
interactively on the development head.

Thanks,

-- 
Eric Schulte
http://cs.unm.edu/~eschulte



reply via email to

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