Implementing Hierarchies/Namespaces in org-roam (V2)

@spicy

For a “schema” concept, I have tried a different approach as a proof of concept. I took it to be a list of categories in a hierarchy.

Sometimes it might be useful to get outside the Org paradigm a little – this time, I create a new file create function without using org-capture or org-roam-capture. Resultant files are ID’ed and part of Org-roam (they are nodes).


Searching with stock standard find-file


Creating a new note with a custom function (source on Gist).

You can create a new category in the hierarchy (Emacs prompts for confirmation). This implementation does not persist the hierarchy in a file, so the history resets when you quit Emacs.

I haven’t used Dendron so the UX might not be as good.

And I have to admit I don’t know how histories actually work in completion functions I used (homework for me, I think).

Thoughts?