From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-use-property-inheritance not working? Date: Sat, 30 May 2015 00:21:47 +0200 Message-ID: <87617bqb2c.fsf@selenimh.access.network> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YySda-00072E-8Q for emacs-orgmode@gnu.org; Fri, 29 May 2015 18:20:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YySdZ-0006w5-95 for emacs-orgmode@gnu.org; Fri, 29 May 2015 18:20:22 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:34517) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YySdZ-0006vn-32 for emacs-orgmode@gnu.org; Fri, 29 May 2015 18:20:21 -0400 In-Reply-To: (Charles C. Berry's message of "Fri, 29 May 2015 12:01:15 -0700") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Charles C. Berry" Cc: emacs-orgmode@gnu.org Hello, "Charles C. Berry" writes: > On Fri, 29 May 2015, Rainer M Krug wrote: >> >> Is this to be expected? I always thought, that the properties are >> hierarchical, and that the ones from the lower levels / headers are used >> as well? >> > > I would have thought this, too. Property inheritance doesn't work that way. It only means that it will look higher in the hierarchy if current entry doesn't have the property you want. This is explained in `org-entry-get-with-inheritance' docstring: "Get PROPERTY of entry or content at point, search higher levels if needed. The search will stop at the first ancestor which has the property defined." Here, current entry has the property, so it ignores the one above. Regards, -- Nicolas Goaziou