Comment #1050

Kaushal wrote the following reply to https://scripter.co/org-show-only-post-subtree-headings/:

@yantan92

> Have you seen org-sparse-tree bound to `C-c /`?

I had tried it earlier and I tried it again when you suggested, but I don't seem to get the subtrees filtered exactly as above.

- I tried the `[r]egexp` filter to match `EXPORT_FILE_NAME`, but that shows the property drawers expands as the regexp matches happen in those.
- I tried `[p]roperty` match, but couldn't figure out how to enter an equivalent of `EXPORT_FILE_NAME <> ""`.

I looked at [(org) Sparse Trees](https://orgmode.org/manual/Sparse-Trees.html), but I failed to get what I want. Maybe I need to invest more time in understanding how exactly the Org Sparse Tree feature works.

Can you suggest what filter I can use in `org-sparse-tree` so that I get the view you see in the buffer screenshot above?

Thanks!

Reply to this comment