Prevent queries from identifying queries

Use case or problem

I use queries to identify uncompleted tasks. Similar queries appear in multiple notes (e.g. my daily note, and a generic “agenda” note). The queries identify each other, thereby filling up the screen with redundant information. I note that a recent version of Obsidian prevented a query from identifying itself, but as far as I know there is no easy way to prevent a query identifying another query.

Proposed solution

Ensure that queries do not identify other queries by default. I see no reason why this would be useful to anyone. If there is a demand for this, perhaps some kind of option flag can be created to override the default behaviour.

Current workaround (optional)

Escaping characters can sometimes be used to prevent a query from finding a query. Though this has worked for me in the past, it gets pretty complicated when there are multiple similar queries.

1 Like