From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-use-property-inheritance not working? Date: Mon, 01 Jun 2015 00:17:54 +0200 Message-ID: <87eglw5r3h.fsf@nicolasgoaziou.fr> References: <87617bqb2c.fsf@selenimh.access.network> <874mmt7kal.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzBWu-0004zg-Vb for emacs-orgmode@gnu.org; Sun, 31 May 2015 18:16:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzBWt-0000je-U2 for emacs-orgmode@gnu.org; Sun, 31 May 2015 18:16:28 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:37940) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzBWt-0000jY-Me for emacs-orgmode@gnu.org; Sun, 31 May 2015 18:16:27 -0400 In-Reply-To: (Rainer M. Krug's message of "Sun, 31 May 2015 13:46:53 +0200") 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: Rainer M Krug Cc: emacs-orgmode@gnu.org, "Charles C. Berry" Rainer M Krug writes: > Looking at my example, it seems that the variable > org-use-property-inheritance has no impact on the header arguments, > i.e. no properties are inherited. So it seems that there is a bug, or a > severe misunderstanding on my side what property inheritance means. > > From the help of the variable: > > ,---- > | When nil, only the properties directly given in the current entry count. > | When t, every property is inherited. The value may also be a list of > | properties that should have inheritance, or a regular expression matching > | properties that should be inherited. > `---- > > Reading this, and the fact that I get the same properties irrespective > if I set org-use-property-inheritance to t or nil, I would assume that > there is something not correct or consistent. I think you are confused with property accumulation. However property inheritance predates this feature and totally ignores it. Inheritance is an answer to the question "what should I do if the property I'm looking for doesn't exist in the entry?". IOW, it only kicks in, if at all, when property is /not found/ in current entry. In your example, the property you're looking for is defined in every entry, including the current one. Per above, Org doesn't even try to use inheritance, and doesn't look at `org-use-property-inheritance'. Regards,