On Jun 25, 2010, at 8:55 PM, Bernt Hansen wrote:

Carsten Dominik <carsten.domi...@gmail.com> writes:

On Jun 25, 2010, at 3:23 PM, Robert Goldman wrote:

Question:  what is the proper way to get a NIL into a property?  Are
we
to use () instead of "nil"? Or are property values always interpreted
as strings?

Apologies in advance if this is a stupid question!

Not a stupid question at all.

There is no way, currently.   Property values are string - the only
way to make
org-entry-get return nil is to not have the property defined at all.

I've wanted a similar thing in the past for the LOGGING property where
the parent task has special logging set via the LOGGING property but I
want to undo that for some of the child tasks so they use the default
logging setup.

Having a way to undefine a property would be good in general I think.

This does now work, the property value "nil" will now be interpreted as
explicit undefine of a property.

- Carsten


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to