summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-07-20 06:50:48 +0300
committerThanos Apollo <[email protected]>2024-07-20 06:51:13 +0300
commit6d305eb08092d155d3e00a61122732586e3030a6 (patch)
tree5fa31090ef9b9843a35fce0e7f82bc72a3a5f34a
parentbd403d64412301323f7ebe610773382fbdadb9c2 (diff)
review: Add new review type: All notes of deck
* Add option to review/cram all notes of deck.
-rw-r--r--gnosis.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnosis.el b/gnosis.el
index 0e3ca1d..dfbf265 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1711,6 +1711,7 @@ NOTES: List of note ids"
(interactive)
;; Refresh modeline
(setq gnosis-due-notes-total (length (gnosis-review-get-due-notes)))
+ ;; Select review type
(let ((review-type (gnosis-completing-read "Review: " '("Due notes"
"Due notes of deck"
"Due notes of specified tag(s)"
@@ -1719,6 +1720,7 @@ NOTES: List of note ids"
("Due notes" (gnosis-review-session (gnosis-collect-note-ids :due t)))
("Due notes of deck" (gnosis-review-session (gnosis-collect-note-ids :due t :deck (gnosis--get-deck-id))))
("Due notes of specified tag(s)" (gnosis-review-session (gnosis-collect-note-ids :due t :tags t)))
+ ("All notes of deck" (gnosis-review-session (gnosis-collect-note-ids :deck (gnosis--get-deck-id))))
("All notes of tag(s)" (gnosis-review-session (gnosis-collect-note-ids :tags t))))))