From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Detect parent with SCHEDULED or DEADLINE Date: Thu, 14 Apr 2016 09:13:08 +0200 Message-ID: <87r3e8zmrf.fsf@nicolasgoaziou.fr> References: <87bn5dupt4.fsf@artlab.createcnix.lan> <87vb3kx1r6.fsf@alphapapa.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqbQc-0008KS-HV for emacs-orgmode@gnu.org; Thu, 14 Apr 2016 03:11:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqbQZ-0005ai-9p for emacs-orgmode@gnu.org; Thu, 14 Apr 2016 03:11:02 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:36716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqbQZ-0005aW-3d for emacs-orgmode@gnu.org; Thu, 14 Apr 2016 03:10:59 -0400 In-Reply-To: <87vb3kx1r6.fsf@alphapapa.net> (Adam Porter's message of "Wed, 13 Apr 2016 23:17:33 -0500") 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@gnu.org Sender: "Emacs-orgmode" To: Adam Porter Cc: emacs-orgmode@gnu.org Hello, Adam Porter 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 > 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. Regards, -- Nicolas Goaziou