[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-drill 3cf59ccba6 226/251: Update documentation
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/org-drill 3cf59ccba6 226/251: Update documentation |
Date: |
Mon, 17 Jan 2022 18:59:21 -0500 (EST) |
branch: elpa/org-drill
commit 3cf59ccba6baa249b8e5c06fcbf0dbbe1bf1aeff
Author: Phillip Lord <phillip.lord@russet.org.uk>
Commit: Phillip Lord <phillip.lord@russet.org.uk>
Update documentation
---
org-drill.el | 89 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 45 insertions(+), 44 deletions(-)
diff --git a/org-drill.el b/org-drill.el
index 3ddee7bfb8..319077ca30 100644
--- a/org-drill.el
+++ b/org-drill.el
@@ -86,22 +86,25 @@ Nil means unlimited."
(defcustom org-drill-item-count-includes-failed-items-p
nil
- "If non-nil, when you fail an item it still counts towards the
-count of items reviewed for the current session. If nil (default),
-only successful items count towards this total."
+ "If non-nil, count failed items in overall count.
+
+If nil (default), only successful items count towards this
+total."
:group 'org-drill
:type 'boolean)
(defcustom org-drill-failure-quality
2
- "If the quality of recall for an item is this number or lower,
+ "Lower bound for an recall to be marked as failure.
+
+If the quality of recall for an item is this number or lower,
it is regarded as an unambiguous failure, and the repetition
interval for the card is reset to 0 days. If the quality is higher
than this number, it is regarded as successfully recalled, but the
time interval to the next repetition will be lowered if the quality
was near to a fail.
-By default this is 2, for SuperMemo-like behaviour. For
+By default this is 2, for SuperMemo-like behaviour. For
Mnemosyne-like behaviour, set it to 1. Other values are not
really sensible."
:group 'org-drill
@@ -109,8 +112,10 @@ really sensible."
(defcustom org-drill-forgetting-index
10
- "What percentage of items do you consider it is 'acceptable' to
-forget each drill session? The default is 10%. A warning message
+ "The maximum percentage of items that can be forgotten before a warning.
+
+What percentage of items do you consider it is 'acceptable' to
+forget each drill session? The default is 10%. A warning message
is displayed at the end of the session if the percentage forgotten
climbs above this number."
:group 'org-drill
@@ -118,7 +123,9 @@ climbs above this number."
(defcustom org-drill-leech-failure-threshold
15
- "If an item is forgotten more than this many times, it is tagged
+ "Threshold before a item is defined as a leech.
+
+If an item is forgotten more than this many times, it is tagged
as a 'leech' item."
:group 'org-drill
:type '(choice integer (const nil)))
@@ -152,44 +159,42 @@ Possible values:
(defcustom org-drill-use-visible-cloze-face-p
nil
- "Use a special face to highlight cloze-deleted text in org mode
-buffers?"
+ "Highlight cloze-deleted text."
:group 'org-drill
:type 'boolean)
(defcustom org-drill-hide-item-headings-p
nil
- "Conceal the contents of the main heading of each item during drill
-sessions? You may want to enable this behaviour if item headings or tags
+ "If non-nil, conceal headings during a drill session.
+
+You may want to enable this behaviour if item headings or tags
contain information that could 'give away' the answer."
:group 'org-drill
:type 'boolean)
(defcustom org-drill-new-count-color
"royal blue"
- "Foreground colour used to display the count of remaining new items
-during a drill session."
+ "Foreground colour for remaining new items."
:group 'org-drill
:type 'color)
(defcustom org-drill-mature-count-color
"green"
- "Foreground colour used to display the count of remaining mature items
-during a drill session. Mature items are due for review, but are not new."
+ "Foreground colour for remaining mature items.
+
+Mature items are due for review, but are not new."
:group 'org-drill
:type 'color)
(defcustom org-drill-failed-count-color
"red"
- "Foreground colour used to display the count of remaining failed items
-during a drill session."
+ "Foreground colour for remaining failed items."
:group 'org-drill
:type 'color)
(defcustom org-drill-done-count-color
"sienna"
- "Foreground colour used to display the count of reviewed items
-during a drill session."
+ "Foreground colour for reviewed items."
:group 'org-drill
:type 'color)
@@ -223,12 +228,10 @@ during a drill session."
(add-hook 'org-font-lock-set-keywords-hook 'org-drill-add-cloze-fontification)
(defvar org-drill-hint-separator "||"
- "String which, if it occurs within a cloze expression, signifies that the
-rest of the expression after the string is a `hint', to be displayed instead of
-the hidden cloze during a test.")
+ "Delimiter in cloze expression for hints.")
(defun org-drill--compute-cloze-regexp ()
- "Returns a regexp that detects clozes."
+ "Return a regexp that detects clozes."
(concat "\\("
(regexp-quote org-drill-left-cloze-delimiter)
"[[:cntrl:][:graph:][:space:]]+?\\)\\(\\|"
@@ -238,7 +241,7 @@ the hidden cloze during a test.")
"\\)"))
(defun org-drill--compute-cloze-keywords ()
- "Returns a fontification spec that detects cloze keywords."
+ "Return a fontification spec that detects cloze keywords."
(list (list (org-drill--compute-cloze-regexp)
(cl-copy-list '(1 'org-drill-visible-cloze-face nil))
(cl-copy-list '(2 'org-drill-visible-cloze-hint-face t))
@@ -259,18 +262,15 @@ This is a buffer-local variable.")
;; Variables defining what keys can be pressed during drill sessions to quit
the
;; session, edit the item, etc.
(defvar org-drill--quit-key ?q
- "If this character is pressed during a drill session, quit the session.")
+ "Character to quit the session.")
(defvar org-drill--edit-key ?e
- "If this character is pressed during a drill session, suspend the session
-with the cursor at the current item..")
+ "Character to suspend the session.")
(defvar org-drill--help-key ??
- "If this character is pressed during a drill session, show help.")
+ "Character to show help.")
(defvar org-drill--skip-key ?s
- "If this character is pressed during a drill session, skip to the next
-item.")
+ "Character to skip to the next item.")
(defvar org-drill--tags-key ?t
- "If this character is pressed during a drill session, edit the tags for
-the current item.")
+ "Character to edit the tags.")
(defcustom org-drill-card-type-alist
'((nil org-drill-present-simple-card)
@@ -296,8 +296,9 @@ the current item.")
org-drill-show-answer-noun-declension)
("spanish_verb" org-drill-present-spanish-verb)
("translate_number" org-drill-present-translate-number))
- "Alist associating card types with presentation functions. Each
-entry in the alist takes the form:
+ "Alist associating card types with presentation functions.
+
+Each entry in the alist takes the form:
;;; (CARDTYPE QUESTION-FN [ANSWER-FN DRILL-EMPTY-P])
@@ -308,10 +309,10 @@ value.
When supplied, ANSWER-FN is a function that takes one argument --
that argument is a function of no arguments, which when called,
prompts the user to rate their recall and performs rescheduling
-of the drill item. ANSWER-FN is called with the point on the
+of the drill item. ANSWER-FN is called with the point on the
active item's heading, just prior to displaying the item's
-'answer'. It can therefore be used to modify the appearance of
-the answer. ANSWER-FN must call its argument before returning.
+'answer'. It can therefore be used to modify the appearance of
+the answer. ANSWER-FN must call its argument before returning.
When supplied, DRILL-EMPTY-P is a boolean value, default nil.
When non-nil, cards of this type will be presented during tests
@@ -331,8 +332,8 @@ When a card with the relevant TAG is tested,
QUESTION-PRESENTER
will be called when the card is displayed to the user,
ANSWER-PRESENTER will be called with point in the entry when the
answer is displayed to the user and CLEANER will be called when
-the answer is accepted. In all cases, point will be in the card
-in question when the function is called. All values may be nil in
+the answer is accepted. In all cases, point will be in the card
+in question when the function is called. All values may be nil in
which case no function will be called."
:group 'org-drill
:type '(alist :key-type (choice string (const nil))
@@ -340,8 +341,9 @@ which case no function will be called."
(defcustom org-drill-scope
'file
- "The scope in which to search for drill items when conducting a
-drill session. This can be any of:
+ "The scope to search for drill items in a session.
+
+This can be any of:
file The current buffer, respecting the restriction if any.
This is the default.
@@ -354,8 +356,7 @@ agenda-with-archives All agenda files with any archive
files associated
directory All files with the extension '.org' in the same
directory as the current file (includes the current
file if it is an .org file.)
- (FILE1 FILE2 ...) If this is a list, all files in the list will be scanned.
-"
+ (FILE1 FILE2 ...) If this is a list, all files in the list will be scanned."
;; Note -- meanings differ slightly from the argument to org-map-entries:
;; 'file' means current file/buffer, respecting any restriction
;; 'file-no-restriction' means current file/buffer, ignoring restrictions
- [nongnu] elpa/org-drill d2591c4676 116/251: Dependency clean ups, (continued)
- [nongnu] elpa/org-drill d2591c4676 116/251: Dependency clean ups, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 72c774b55d 149/251: Rename free-marker into namespace, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 68d1e33e03 135/251: Replace overdue-entries, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 5bc955b066 140/251: Remove overdue-data dynamic scoping, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill a45d80654e 144/251: Tweak Robot testing, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 0239ffd27a 160/251: Remove unused definitions, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill ac7ca1346f 185/251: Complete clean of byte compile messages, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill f72d8adda3 180/251: Extend README, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill e7460b6262 198/251: Regularize use of scope, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill b0a376b3ed 203/251: Ignore created elpa directory, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 3cf59ccba6 226/251: Update documentation,
ELPA Syncer <=
- [nongnu] elpa/org-drill ecf4bae5ce 237/251: Fix typo "Eaqch" to "Each", ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 64d878afe3 212/251: Update README's installation instructions, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill fca357cad8 220/251: Add blank line between authors in README, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill f5b7472de1 204/251: Remove unused variable, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 4307a3a387 233/251: Show latex overlays in simple card's answer, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 2d7ea5d00b 245/251: add helper fn to check cards without killing emacs, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill fee727e76e 023/251: Added tag 2.0 for changeset 16cafa21aef0, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 8b72dfbded 024/251: - Can now resume drill sessions after exiting with (e)dit or (q)uit commands!, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 2d039d0429 027/251: Added tag 2.1.1 for changeset 60b0a80ce97a, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill c27d9035ef 030/251: - Added new example card types, more useful than 'spanish_verb':, ELPA Syncer, 2022/01/17