diff options
author | Leon Rische <leon.rische@me.com> | 2020-07-16 12:28:52 +0200 |
---|---|---|
committer | Leon Rische <leon.rische@me.com> | 2020-07-16 12:28:52 +0200 |
commit | 237da91faa143dee8772f9989943f799f9b2654a (patch) | |
tree | 2ed51b02dc7a59e0b1594c4f67c4dfdb3bed603f | |
parent | 810d52f12fd58020530478a9bccc066e10549839 (diff) |
Remove positions of suspended card from review
-rw-r--r-- | Changelog.org | 15 | ||||
-rw-r--r-- | org-fc.el | 5 |
2 files changed, 20 insertions, 0 deletions
diff --git a/Changelog.org b/Changelog.org index 185e909..8e3f72a 100644 --- a/Changelog.org +++ b/Changelog.org @@ -5,6 +5,21 @@ upcoming changes. In case a update to the org sources is needed, I'll add a changelog entry with updating instructions. +** [2020-07-16 Thu] +*** Changed +- Suspending a card during review now removes all other positions of + it from the current session, to avoid reviewing suspended cards +** [2020-07-08 Wed] +*** Changed +The awk index now also includes the headline text of each card. + +This will be useful for building a ~tabulated-list-mode~ based card +overview. +** [2020-07-06 Mon] +*** Added +- ~org-fc-suspend-tree~ for suspending all cards in a subtree +*** Changed +- unsuspending overdue cards doesn't reset their review data anymore ** [2020-07-04 Sat] *** Added - ~org-fc-review-edit~ (bound to ~p~) pauses the review for editing @@ -1961,6 +1961,11 @@ same ID as the current card in the session." "Suspend card and proceed to next." (interactive) (org-fc-suspend-card) + ;; Remove all other positions from review session + (with-slots (current-item cards) org-fc--session + (let ((id (plist-get current-item :id))) + (setf cards (remove-if (lambda (card) + (string= id (plist-get card :id))) cards)))) (org-fc-review-reset) (org-fc-review-next-card)) |