From 6d305eb08092d155d3e00a61122732586e3030a6 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sat, 20 Jul 2024 06:50:48 +0300 Subject: review: Add new review type: All notes of deck * Add option to review/cram all notes of deck. --- gnosis.el | 2 ++ 1 file changed, 2 insertions(+) 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)))))) -- cgit v1.2.3