diff options
author | Thanos Apollo <[email protected]> | 2024-08-11 23:04:40 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-08-11 23:04:40 +0300 |
commit | 66007456f5fdb2f95a0bb91bd15ed5b6f7a45ea9 (patch) | |
tree | a84a2287dfd079ea850a86c10efea4ddc7ff9fe4 /gnosis.el | |
parent | f90f72b2bdf5713190711bbb921b58f1314e7e6c (diff) |
review: Add review for overdue & due without overdue.
* Add review option for only due notes, without overdue notes.
* Add review option for only overdue nots, without due notes for
current date.
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1849,12 +1849,17 @@ NOTE-COUNT: Total notes to be commited for session." (let ((review-type (gnosis-completing-read "Review: " '("Due notes" "Due notes of deck" "Due notes of specified tag(s)" + "Overdue notes" + "Due notes (Without Overdue)" + "All notes of deck" "All notes of tag(s)")))) (pcase review-type ("Due notes" (gnosis-review-session (gnosis-collect-note-ids :due t) 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))) + ("Overdue notes" (gnosis-review-session (gnosis-review-get-overdue-notes))) + ("Due notes (Without Overdue)" (gnosis-review-session (gnosis-review-get-due-notes--no-overdue))) ("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)))))) |