aboutsummaryrefslogtreecommitdiff
path: root/tests/test-org-drill-leitner-rebox-missing-box.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-31 11:18:49 -0500
committerCraig Jennings <c@cjennings.net>2026-05-31 11:18:49 -0500
commite201ba696ed27e407d934321a5f4c5874ea4fee5 (patch)
tree19f2c14bf8ea125d79c4518c3af9ad714a841b5f /tests/test-org-drill-leitner-rebox-missing-box.el
parent37df84a462378636f6528970e95187c3a86f8f3e (diff)
downloadorg-drill-main.tar.gz
org-drill-main.zip
feat: optionally show the card's outline path in the drill promptHEADmain
A new defcustom org-drill-show-outline-path-during-drill (default off) prepends the card's ancestor path to the mini-buffer prompt, for example [Spanish > Greetings], so during a drill you can see where the current card sits in the deck. With it off the prompt is byte-for-byte unchanged. I ported this from m.galimski's fork (commit c6d0c850) and gated it behind the defcustom rather than leaving it always on. The path comes from org-get-outline-path through a small org-drill--outline-path-string helper. Tests cover the helper (nested and top-level), the prompt with the switch on and off, and the default value.
Diffstat (limited to 'tests/test-org-drill-leitner-rebox-missing-box.el')
0 files changed, 0 insertions, 0 deletions