org-rifle
org-rifle copied to clipboard
Limit candidates to those with certain properties
Any way to limit the candidates to nodes with certain properties?
(I do need to see the entry content while doing the helm search, so I suppose helm-org-ql is not an option...?)
Big picture of what I'm trying to do: I have a file where each top level node has two sub-nodes: Theorem and Proof. I would like to do searches that are limited to only Theorem nodes. I suppose I could add a "theorem" tag on each Theorem node and add it to each search query, but was hoping to use properties instead.
Hi,
Well, you could use a query string that would match such a property in the entry content, like ":TYPE: theorem"
. But since org-ql supports property searching natively, it would probably be better if you would help me enhance org-ql (whether helm-org-ql, org-ql-find, or something else) to meet your needs with regard to seeing entry content. The recently added org-ql-find command does show some entry content if so-configured, and it could be adjusted to display more like helm-org-rifle does. Your feedback could help me design this solution in org-ql. I've found that I don't need to see entry content as much, so I haven't finished that aspect of org-ql compared to org-rifle.