aboutsummaryrefslogtreecommitdiff
path: root/modules/erc-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-14 01:34:18 -0500
committerCraig Jennings <c@cjennings.net>2026-05-14 01:34:18 -0500
commit6fa688a65f9b185220ce3ecbefce7103b4168f7d (patch)
tree44dc2ea3493218d6cb00d0874da6cc8d7301de0a /modules/erc-config.el
parent54f54840686b29d510b360caeb43d254aec09ffe (diff)
downloaddotemacs-6fa688a65f9b185220ce3ecbefce7103b4168f7d.tar.gz
dotemacs-6fa688a65f9b185220ce3ecbefce7103b4168f7d.zip
test(org-roam-config): cover tag predicate, find-node, finalize hook, insert-immediate
Sibling tests covered the slug helper, link-description, demote-subtree, format-roam-node, and the copy-todo-to-today hook. This batch covers the tag/find/insert family: - `cj/org-roam-filter-by-tag`: returns a predicate; keeps matching nodes, rejects non-matching. - `cj/org-roam-list-notes-by-tag`: returns file paths for matches, empty list when no matches. - `cj/org-roam-add-node-to-agenda-files-finalize-hook`: removes itself, adds the captured buffer's file to `org-agenda-files` when not aborted, skips on abort. - `cj/org-roam-find-node`: calls `org-roam-node-find` with a filter predicate + templates. - `cj/org-roam-find-node-topic` / `-recipe`: delegate with the right tag + key (+ subdir). - `cj/org-roam-node-insert-immediate`: appends `:immediate-finish t` to the first capture template before calling `org-roam-node-insert`. Top-level `defvar`s for `org-note-abort`, `org-agenda-files`, `org-roam-capture-templates`, and `org-capture-after-finalize-hook` make the let-bindings reach the dynamic vars under lexical scope.
Diffstat (limited to 'modules/erc-config.el')
0 files changed, 0 insertions, 0 deletions