From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: org-use-property-inheritance not working? Date: Fri, 29 May 2015 12:01:15 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyPX2-0006xD-Kl for emacs-orgmode@gnu.org; Fri, 29 May 2015 15:01:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YyPWv-0000PV-8Q for emacs-orgmode@gnu.org; Fri, 29 May 2015 15:01:24 -0400 Received: from iport-acv6-out.ucsd.edu ([132.239.0.13]:46488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyPWu-0000PE-W7 for emacs-orgmode@gnu.org; Fri, 29 May 2015 15:01:17 -0400 In-Reply-To: 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 On Fri, 29 May 2015, Rainer M Krug wrote: > Consider this example: > > I enable property inheritance with > > (setq org-use-property-inheritance t) But it does not matter. See the docstring for `org-entry-get'. The setting used in `org-babel-view-src-block-info' for INHERIT is `t'. I believe there is a problem with `org-entry-get'. Here is an ECM: --8<---------------cut here---------------start------------->8--- #+PROPERTY: aprop one #+BEGIN_SRC emacs-lisp (org-entry-get (point) "aprop" t) #+END_SRC #+RESULTS: : one * x :PROPERTIES: :aprop+: two :END: #+BEGIN_SRC emacs-lisp (org-entry-get (point) "aprop" t) #+END_SRC #+RESULTS: : one two ** y :PROPERTIES: :aprop+: three :END: #+BEGIN_SRC emacs-lisp (org-entry-get (point) "aprop" t) #+END_SRC #+RESULTS: : one three I expected 'one two three' --8<---------------cut here---------------end--------------->8--- [much deleted] > > 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. [rest deleted] Chuck