[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-drill c0ee1780de 222/251: Update documentation
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/org-drill c0ee1780de 222/251: Update documentation |
Date: |
Mon, 17 Jan 2022 18:59:20 -0500 (EST) |
branch: elpa/org-drill
commit c0ee1780de78bcda97e0220a76b9c599e22f0f77
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, 13 insertions(+)
diff --git a/org-drill.el b/org-drill.el
index 30a2583332..9c46a29485 100644
--- a/org-drill.el
+++ b/org-drill.el
@@ -1697,10 +1697,12 @@ Consider reformulating the item to make it easier to
remember.\n"
(define-key org-drill-response-mode-map (kbd "C-c C-t")
'org-drill-response-tags)
(defun org-drill-response-complete ()
+ "Complete org-drill response mode."
(kill-buffer (current-buffer))
(exit-recursive-edit))
(defun org-drill-response-rtn ()
+ "Exit response mode with return value."
(interactive)
(let ((session org-drill-current-session))
(setf (oref session typed-answer) (buffer-string))
@@ -1708,26 +1710,31 @@ Consider reformulating the item to make it easier to
remember.\n"
(org-drill-response-complete)))
(defun org-drill-response-quit ()
+ "Exit response mode with quit."
(interactive)
(oset org-drill-current-session exit-kind 'quit)
(org-drill-response-complete))
(defun org-drill-response-edit ()
+ "Exit response mode with edit."
(interactive)
(oset org-drill-current-session exit-kind 'edit)
(org-drill-response-complete))
(defun org-drill-response-skip ()
+ "Exit response mode with skip."
(interactive)
(oset org-drill-current-session exit-kind 'skip)
(org-drill-response-complete))
(defun org-drill-response-tags ()
+ "Exit response mode with tags."
(interactive)
(oset org-drill-current-session exit-kind 'tags)
(org-drill-response-complete))
(defun org-drill-response-get-buffer-create ()
+ "Create a response buffer."
(let ((local-current-input-method
current-input-method)
(cb (current-buffer)))
@@ -1739,6 +1746,7 @@ Consider reformulating the item to make it easier to
remember.\n"
(current-buffer))))
(defun org-drill-presentation-prompt-in-buffer (session &optional prompt)
+ "Display drill for SESSION with PROMPT."
(let* ((item-start-time (current-time))
(prompt
(or prompt
@@ -1802,6 +1810,11 @@ Consider reformulating the item to make it easier to
remember.\n"
(read-string full-prompt nil nil nil t))))
(defun org-drill-pos-in-regexp (pos regexp &optional nlines)
+ "Return non-nil if POS is within REGEXP.
+
+Normally only the current line is checked but NLINES can be checked instead.
+
+If non-nil, returns (BEG . END) where beginning and end of the match are."
(save-excursion
(goto-char pos)
(org-in-regexp regexp nlines)))
- [nongnu] elpa/org-drill b02735bde7 094/251: New option 'org-drill-cloze-length-matches-hidden-text': If non-nil, when, (continued)
- [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
- [nongnu] elpa/org-drill 1429c675e8 191/251: Fix compatability call again!, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 9eb8d72776 163/251: Update README, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 9f9e5e7170 193/251: Renamespace all macros, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 508f2dde21 202/251: Use persist, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 04923e6c38 214/251: Update gitignore for generated file, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill c0ee1780de 222/251: Update documentation,
ELPA Syncer <=
- [nongnu] elpa/org-drill 11dd2d4e23 235/251: Merge branch 'master' into 'fix/latex-overlays', ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 6ad53cdf21 217/251: Update documentation, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 6938a466e0 208/251: Update documentation, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill b6a4b4f103 238/251: Merge branch 'master' into 'master', ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 749e012e65 216/251: Merge branch 'fix/drill-matching' into 'master', ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 96d7c199a0 221/251: Merge branch 'patch-1' into 'master', ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 35c1ce3499 248/251: Merge branch 'branweb/org-mode-version' into 'master', ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 7dece4a5e4 229/251: Fix org-get-tags compatability, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 0e0f7bcddd 242/251: Bump org-mode version to 9.3, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill e55415221e 249/251: Fix autoloads, ELPA Syncer, 2022/01/17