I want to extract all level one headlines of notes as a title. My plan is to have that only for daily notes, because I use them for meeting notes, where the level one headline names the meeting. For all other notes, the “normal” title extraction is fine. But as a first try, I just try to add for all notes:
(defun org-roam--extract-titles-allheadlines () (org-map-entries (lambda () (org-element-property :title (org-element-at-point)) ) "LEVEL=1") )
which works fine, e.g. I eval (
M-: (org-roam--extract-titles-allheadlines) on on org file gives me
which is correct.
After that, I do
(setq org-roam-title-sources '((title allheadlines) alias))
(org-roam-db-build-cache) which runs fine and prints the status
(org-roam) total: Δ19, files-modified: Δ19, ids: Δ1, links: Δ43, tags: Δ13, titles: Δ19, refs: Δ0, deleted: Δ0
However, no new titles are extracted and shown in
What can still be missing here?