[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Q] How to get all the properties of the current subtree?
From: |
Ihor Radchenko |
Subject: |
Re: [Q] How to get all the properties of the current subtree? |
Date: |
Thu, 28 Apr 2022 22:48:46 +0800 |
Rodrigo Morales <moralesrodrigo1100@gmail.com> writes:
> My question is: How to get all the properties (inherited properties
> included) of the current subtree? In the example shown below, I would
> expect the following result
You would need to collect property names by running org-entry-properties
on current heading, it's parent, and so on. You can get parent headings
as (org-element-property :parent (org-element-at-point)) in newer Org or
using org-up-heading-safe.
Then, you can run org-entry-get on the acquired list of property names.
Best,
Ihor
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Q] How to get all the properties of the current subtree?,
Ihor Radchenko <=