aboutsummaryrefslogtreecommitdiff
path: root/scripts/coverage-summary.py
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-30 22:12:23 -0500
committerCraig Jennings <c@cjennings.net>2026-05-30 22:12:23 -0500
commit4fae47ee8c268a4f530f60996741a7871d096b13 (patch)
tree368bbe482c5f0dbf6d8ea16455bec7b1ba52dd16 /scripts/coverage-summary.py
parentc7da717d0bbe7fd3dc976c9519d135b0ea75b00e (diff)
downloadorg-drill-4fae47ee8c268a4f530f60996741a7871d096b13.tar.gz
org-drill-4fae47ee8c268a4f530f60996741a7871d096b13.zip
fix: detect #+FILETAGS decks so org-drill-mode auto-enables
org-drill-buffer-has-cards-p only scanned for a per-heading :drill:/:leitner: tag, so a deck tagged through #+FILETAGS: had no match and org-drill-mode never auto-enabled. Those files opened without cloze highlighting. I extended the predicate to also scan #+FILETAGS: lines, handling both the space-separated and colon-delimited syntaxes, with [: \t] boundaries so a value like drilldown can't false-match drill. The inherited-top-level-tag case already worked, since the ancestor heading line carries the literal tag and the per-heading scan catches it. Tests cover filetag-only decks (space, colon, leitner), the inherited-top-level lock, the substring boundary, and auto-enable on a filetag-only buffer.
Diffstat (limited to 'scripts/coverage-summary.py')
0 files changed, 0 insertions, 0 deletions