diff options
author | Thanos Apollo <[email protected]> | 2024-01-04 09:40:55 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-01-04 09:40:55 +0200 |
commit | 248bd3876235f7c97021c5dd3c5e825d295676fb (patch) | |
tree | 34490b6b49c6dcbd5293a2e25532e39f0aa337b2 | |
parent | 360fa413a3dd2c690604ac1c06d2e791a668fe2a (diff) |
Add gnosis-due-tags
-rw-r--r-- | gnosis.el | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -710,7 +710,15 @@ if DUE is t, return only due notes" when (not (gnosis-suspended-p note)) collect note))) -(defun gnosis-tag-prompt (&optional prompt match) +(defun gnosis-due-tags () + "Return a list of due note tags." + (let ((due-notes (gnosis-review-get-due-notes))) + (cl-remove-duplicates + (cl-mapcan (lambda (note-id) + (gnosis-get-note-tags note-id)) + due-notes) + :test 'equal))) + "PROMPT user to select tags, until they enter `q'. Prompt user to select tags, generated from `gnosis-get-tags--unique'. |