Holger Macht <hol...@homac.de> writes:

> On Mo 22. Mär - 18:44:38, Emilio Jesús Gallego Arias wrote:
>> Holger Macht <hol...@homac.de> 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.
>> 
>> See:
>> 
>> ,----[ C-h v org-use-property-inheritance RET ]
>
> Have you tried? At least this doesn't have an effect on
> (org-entry-properties in current git head.

Sorry Holger I misunderstood your question. I guess you should modify
org-entry-properties in order to include global properties like is done
in the inheritance case.

It could be something like:

(when org-use-property-inheritance
      (setq props (append org-file-properties props)
            props (append org-global-properties props)
            props (append org-global-properties-fixed props)))

I don't know what may this change break.

Regards,
Emilio



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to