summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-12-28 07:34:04 +0200
committerThanos Apollo <[email protected]>2023-12-28 07:34:04 +0200
commit62d075049740e0fa1cfadc2f88e875a444c1f34c (patch)
tree7146c113812cc7cc1e8ee1f1faeea0a716fdba5f /gnosis.el
parent962048711ceb5ccc9ad68fafe6e2bc849f5ebd8e (diff)
Add gnosis-review-due-tags
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnosis.el b/gnosis.el
index fb36bf6..b04905f 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -561,6 +561,13 @@ If user-input is equal to CLOZE, return t."
(while (y-or-n-p "Review next note?")
(gnosis-review-note note)))
finally (message "Review session finished"))))
+
+(defun gnosis-review-due-tags ()
+ "Review due notes, with specified tag."
+ (let ((notes (gnosis-select-by-tag
+ (list (completing-read "Start session for tag: " (gnosis-review-due-notes--with-tags))))))
+ (cl-loop for note in notes do (gnosis-review-note note))))
+
(defun gnosis-review-all-due-notes ()
"Review all due notes."
(let* ((due-notes (gnosis-review-get-due-notes))