I'm trying to use org-drill
with cards made up of one-line headings, which the documentation considers an "empty card" (that is, one without a body).
The recommended way to make them show up in drill sessions is to add an empty comment to the body, like a line with only #
. It works, but I'm trying to fix this in a way cleaner than mass-editing my org file.
I found the variable org-drill-card-type-alist
, whose default value is
'((nil org-drill-present-simple-card)
("simple" org-drill-present-simple-card)
("twosided" org-drill-present-two-sided-card nil t)
(...))
The t
at the end of the twosided
sexp means drill-empty-p
, which means:
When supplied, DRILL-EMPTY-P is a boolean value, default nil. When non-nil, cards of this type will be presented during tests even if their bodies are empty.
This seems to be exactly what I want, so I set the nil
(default) and simple
(for good measure) card types like this, using customize-set-variable
:
'((nil org-drill-present-simple-card nil t)
("simple" org-drill-present-simple-card nil t)
("twosided" org-drill-present-two-sided-card nil t)
(...))
I eval the sexp / restart org-mode / restart Emacs, and still M-x org-drill
ignores the empty cards.
Am I doing something wrong? Is this a bug? Are there any workarounds?