[Top][All Lists]

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

Re: [O] Detect parent with SCHEDULED or DEADLINE

From: Nicolas Goaziou
Subject: Re: [O] Detect parent with SCHEDULED or DEADLINE
Date: Thu, 14 Apr 2016 09:13:08 +0200


Adam Porter <address@hidden> writes:

> This patch seems to fix it in the current master.  Please note, I am not
> qualified to patch Org directly, so this should be reviewed by those who
> know what they're doing.  But it may at least fix it for you or be a
> starting point for fixing it.
> From 3074c8ad92a7f822374544afa9f9ada61197e4da Mon Sep 17 00:00:00 2001
> From: Adam Porter <address@hidden>
> Date: Wed, 13 Apr 2016 22:37:43 -0500
> Subject: [PATCH] org.el: Fix getting special properties
> (org-entry-get-with-inheritance): If property is an special property,
> get it with org-entry-properties instead of org-property--local-values,
> which only searches drawers.
> This may have been broken in commit 188bae9 "Fix property inheritance with
> extended values".

Thanks for the patch.

However, `org-entry-get-with-inheritance' is not meant to be called with
special properties, which have their own inheritance rules, that cannot
be forced.

Actually, `org-entry-get-with-inheritance' is an internal function,
which shouldn't be called at all. The entry point is `org-entry-get',
which can be called with an appropriate INHERIT optional argument.


Nicolas Goaziou

reply via email to

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