From e13fecc617970115bbc4059e7aee05687e6871fb Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sat, 3 Aug 2024 19:13:02 +0300 Subject: New function: dashboard-suffix-query. * Search for note content for QUERY. --- gnosis-dashboard.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnosis-dashboard.el b/gnosis-dashboard.el index 7d72abb..87e08fe 100644 --- a/gnosis-dashboard.el +++ b/gnosis-dashboard.el @@ -482,6 +482,11 @@ DASHBOARD-TYPE: either 'Notes' or 'Decks' to display the respective dashboard." (cl-loop for note in gnosis-dashboard--selected-ids do (gnosis-suspend-note (string-to-number note) t)) (gnosis-dashboard-return))) + +(transient-define-suffix gnosis-dashboard-suffix-query (query) + "Search for note content for QUERY." + (interactive "sSearch for note content: ") + (gnosis-dashboard-output-notes (gnosis-collect-note-ids :query query))) (transient-define-prefix gnosis-dashboard-menu () "Transient buffer for gnosis dashboard interactions." [["Actions" -- cgit v1.2.3