Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

link (esp. org-roam) support #4

Open
JeffreyBenjaminBrown opened this issue Dec 18, 2022 · 0 comments
Open

link (esp. org-roam) support #4

JeffreyBenjaminBrown opened this issue Dec 18, 2022 · 0 comments

Comments

@JeffreyBenjaminBrown
Copy link

Files can link to other files. There are a few syntaxes for it; the one I use is org-roam's.

I understand tree-query can execute searches like "Show me any node containing X with a descendent containing Y, or vice-versa" (because I asked about it on Twitter). That's cool -- but what would be really cool is if it could also recursively search the files linked to in a subtree.

Admittedly, this generalization makes the problem space more complex, because links permit circular structures -- every digraph is a tree but not every tree is a digraph. The search engine would need to remember which files it has searched, so that it does not search them again and infinite regress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant