[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-drill 9f9e5e7170 193/251: Renamespace all macros
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/org-drill 9f9e5e7170 193/251: Renamespace all macros |
Date: |
Mon, 17 Jan 2022 18:59:16 -0500 (EST) |
branch: elpa/org-drill
commit 9f9e5e71701c5506da03124cb9867be2f87b7128
Author: Phillip Lord <phillip.lord@russet.org.uk>
Commit: Phillip Lord <phillip.lord@russet.org.uk>
Renamespace all macros
---
org-drill.el | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/org-drill.el b/org-drill.el
index 4813f53621..f2ca5bb7a0 100644
--- a/org-drill.el
+++ b/org-drill.el
@@ -791,7 +791,7 @@ CMD is bound, or nil if it is not bound to a key."
(org-drill-unhide-clozed-text))))
-(defmacro with-hidden-cloze-hints (&rest body)
+(defmacro org-drill-with-hidden-cloze-hints (&rest body)
(declare (debug t))
`(progn
(org-drill-hide-cloze-hints)
@@ -801,7 +801,7 @@ CMD is bound, or nil if it is not bound to a key."
(org-drill-unhide-text))))
-(defmacro with-hidden-comments (&rest body)
+(defmacro org-drill-with-hidden-comments (&rest body)
`(progn
(if org-drill-hide-item-headings-p
(org-drill-hide-heading-at-point))
@@ -2091,8 +2091,8 @@ Note: does not actually alter the item."
(defun org-drill-present-simple-card (session)
- (with-hidden-comments
- (with-hidden-cloze-hints
+ (org-drill-with-hidden-comments
+ (org-drill-with-hidden-cloze-hints
(org-drill-with-hidden-cloze-text
(org-drill-hide-all-subheadings-except nil)
(org-drill--show-latex-fragments) ; overlay all LaTeX fragments with
images
@@ -2117,13 +2117,13 @@ Note: does not actually alter the item."
(ignore-errors
(org-display-inline-images t))
(org-cycle-hide-drawers 'all)
- (with-hidden-cloze-hints
+ (org-drill-with-hidden-cloze-hints
(funcall reschedule-fn session))))))
(defun org-drill-present-simple-card-with-typed-answer (session)
- (with-hidden-comments
- (with-hidden-cloze-hints
+ (org-drill-with-hidden-comments
+ (org-drill-with-hidden-cloze-hints
(org-drill-with-hidden-cloze-text
(org-drill-hide-all-subheadings-except nil)
(org-drill--show-latex-fragments) ; overlay all LaTeX fragments with
images
@@ -2140,8 +2140,8 @@ Note: does not actually alter the item."
(defun org-drill-present-two-sided-card (session)
- (with-hidden-comments
- (with-hidden-cloze-hints
+ (org-drill-with-hidden-comments
+ (org-drill-with-hidden-cloze-hints
(org-drill-with-hidden-cloze-text
(let ((drill-sections (org-drill-hide-all-subheadings-except nil)))
(when drill-sections
@@ -2159,8 +2159,8 @@ Note: does not actually alter the item."
(defun org-drill-present-multi-sided-card (session)
- (with-hidden-comments
- (with-hidden-cloze-hints
+ (org-drill-with-hidden-comments
+ (org-drill-with-hidden-cloze-hints
(org-drill-with-hidden-cloze-text
(let ((drill-sections (org-drill-hide-all-subheadings-except nil)))
(when drill-sections
@@ -2192,8 +2192,8 @@ If FORCE-SHOW-LAST is non-nil, never hide the last piece
of text.
If the number of text pieces in the item is less than
NUMBER-TO-HIDE, then all text pieces will be hidden (except the first or last
items if FORCE-SHOW-FIRST or FORCE-SHOW-LAST is non-nil)."
- (with-hidden-comments
- (with-hidden-cloze-hints
+ (org-drill-with-hidden-comments
+ (org-drill-with-hidden-cloze-hints
(let ((item-end nil)
(match-count 0)
(body-start (or (cdr (org-get-property-block))
@@ -2264,8 +2264,8 @@ items if FORCE-SHOW-FIRST or FORCE-SHOW-LAST is non-nil)."
"Hide the TO-HIDE'th piece of clozed text. 1 is the first piece. If
TO-HIDE is negative, count backwards, so -1 means the last item, -2
the second to last, etc."
- (with-hidden-comments
- (with-hidden-cloze-hints
+ (org-drill-with-hidden-comments
+ (org-drill-with-hidden-cloze-hints
(let ((item-end nil)
(match-count 0)
(body-start (or (cdr (org-get-property-block))
@@ -2434,7 +2434,7 @@ pieces rather than one."
"Present the string QUESTION as the only visible content of the card.
If ANSWER is supplied, set the session slot `drill-answer' to its value."
(if answer (setf (oref session drill-answer) answer))
- (with-hidden-comments
+ (org-drill-with-hidden-comments
(with-replaced-entry-text
(concat "\n" question)
(org-drill-hide-all-subheadings-except nil)
@@ -3569,8 +3569,8 @@ returns its return value."
(defun org-drill-present-spanish-verb (session)
(let ((prompt nil))
- (with-hidden-comments
- (with-hidden-cloze-hints
+ (org-drill-with-hidden-comments
+ (org-drill-with-hidden-cloze-hints
(org-drill-with-hidden-cloze-text
(cl-case (cl-random 6)
;; PWL 2018-06-22
- [nongnu] elpa/org-drill 94ae5d684d 244/251: update gitignore to exclude all org files in robots dir ending in -copy, (continued)
- [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
- [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 <=
- [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, 2022/01/17
- [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