[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: (org-entry-properties nil 'all) does not return inherited
Emilio Jesús Gallego Arias
[Orgmode] Re: (org-entry-properties nil 'all) does not return inherited properties
Mon, 22 Mar 2010 18:44:38 +0100
Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux)
Holger Macht <address@hidden> writes:
> (org-entry-properties nil 'all) does not return inherited properties
> added with a file directive like that:
> #+PROPERTY: propkey propval
> Is this by intention? If so, is there a method to get all the properties
> of an item, also inherited ones?
> Currently I was just able to find (org-entry-get), but this only returns
> one specific property of which I need to know the name.
,----[ C-h v org-use-property-inheritance RET ]
| org-use-property-inheritance is a variable defined in `org.el'.
| Its value is nil
| Non-nil means properties apply also for sublevels.
| This setting is chiefly used during property searches. Turning it on can
| cause significant overhead when doing a search, which is why it is not
| on by default.
| 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.
| However, note that some special properties use inheritance under special
| circumstances (not in searches). Examples are CATEGORY, ARCHIVE, COLUMNS,
| and the properties ending in "_ALL" when they are used as descriptor
| for valid values of a property.
| Note for programmers:
| When querying an entry with `org-entry-get', you can control if inheritance
| should be used. By default, `org-entry-get' looks only at the local
| properties. You can request inheritance by setting the inherit argument
| to t (to force inheritance) or to `selective' (to respect the setting
| in this variable).
| You can customize this variable.