[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-use-property-inheritance not working?
From: |
Charles C. Berry |
Subject: |
Re: [O] org-use-property-inheritance not working? |
Date: |
Fri, 29 May 2015 12:01:15 -0700 |
User-agent: |
Alpine 2.11 (OSX 23 2013-08-11) |
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