[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-drill 7b9b7f1323 209/251: Update documentation
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/org-drill 7b9b7f1323 209/251: Update documentation |
Date: |
Mon, 17 Jan 2022 18:59:18 -0500 (EST) |
branch: elpa/org-drill
commit 7b9b7f1323612f4e0dd8b12c44f3df85832e45f6
Author: Phillip Lord <phillip.lord@russet.org.uk>
Commit: Phillip Lord <phillip.lord@russet.org.uk>
Update documentation
---
org-drill.el | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/org-drill.el b/org-drill.el
index 3076a48e86..e6743e29d1 100644
--- a/org-drill.el
+++ b/org-drill.el
@@ -916,50 +916,59 @@ The SESSION can affect the definition of overdue."
(null item-time))))
(defun org-drill-entry-last-quality (&optional default)
+ "Return the SM quality score for entry at point, or DEFAULT."
(let ((quality (org-entry-get (point) "DRILL_LAST_QUALITY")))
(if quality
(string-to-number quality)
default)))
(defun org-drill-entry-failure-count ()
+ "Return the SM failure count for entry at point."
(let ((quality (org-entry-get (point) "DRILL_FAILURE_COUNT")))
(if quality
(string-to-number quality)
0)))
(defun org-drill-entry-average-quality (&optional default)
+ "Return the SM average quality for entry at point."
(let ((val (org-entry-get (point) "DRILL_AVERAGE_QUALITY")))
(if val
(string-to-number val)
(or default nil))))
(defun org-drill-entry-last-interval (&optional default)
+ "Return the SM last interval for entry at point."
(let ((val (org-entry-get (point) "DRILL_LAST_INTERVAL")))
(if val
(string-to-number val)
(or default 0))))
(defun org-drill-entry-repeats-since-fail (&optional default)
+ "Return the SM repeats since fail for entry at point."
(let ((val (org-entry-get (point) "DRILL_REPEATS_SINCE_FAIL")))
(if val
(string-to-number val)
(or default 0))))
(defun org-drill-entry-total-repeats (&optional default)
+ "Return the SM total number of repeats for the entry at point."
(let ((val (org-entry-get (point) "DRILL_TOTAL_REPEATS")))
(if val
(string-to-number val)
(or default 0))))
(defun org-drill-entry-ease (&optional default)
+ "Return the SM ease for the entry at point."
(let ((val (org-entry-get (point) "DRILL_EASE")))
(if val
(string-to-number val)
default)))
-;;; From http://www.supermemo.com/english/ol/sm5.htm
(defun org-drill-random-dispersal-factor ()
- "Returns a random number between 0.5 and 1.5."
+ "Returns a random number between 0.5 and 1.5.
+
+This returns a strange random number distribution. See
+http://www.supermemo.com/english/ol/sm5.htm for details."
(let ((a 0.047)
(b 0.092)
(p (- (cl-random 1.0) 0.5)))
- [nongnu] elpa/org-drill d2fe915d7a 236/251: Merge branch 'fix/latex-overlays' into 'master', (continued)
- [nongnu] elpa/org-drill d2fe915d7a 236/251: Merge branch 'fix/latex-overlays' into 'master', ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill de1e419ae3 215/251: All more README tests, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 4f8b910347 224/251: Update documentation, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 6e812e7fef 211/251: Fix typo in function name in README, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 0444db69f5 210/251: fix reversed member arguments, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill d1d7fde5e3 200/251: Regularize white space, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 2e37c8a91c 234/251: Merge branch 'fix/show-latex-fragments' into 'master', ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 30913a9adf 247/251: Merge branch 'branweb/fix-cram-mode' into 'master', ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 0f0ee9f188 241/251: Allow Creating New Session in Cram Mode, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill ace0cf0dcd 250/251: Update CI., ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 7b9b7f1323 209/251: Update documentation,
ELPA Syncer <=
- [nongnu] elpa/org-drill 546336d207 225/251: Update documentation., ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 602f5c4d96 243/251: Fix use of cl.el, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 94ae5d684d 244/251: update gitignore to exclude all org files in robots dir ending in -copy, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill c65430b71a 045/251: Oops! some some nasty discrepancies have now been fixed.(something went wrong, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 7a3bf3ef30 092/251: Update version in header to 2.4.10., ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill b02735bde7 094/251: New option 'org-drill-cloze-length-matches-hidden-text': If non-nil, when, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 6c14bd6c50 129/251: Update robot, Fix remaining CL dependencies, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 11abbd2747 124/251: Add robotized test, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 46d71b5218 141/251: Add lexical-binding, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 2b44b36284 197/251: Fix prompt, ELPA Syncer, 2022/01/17