• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cjennings / org-drill / 26711868004
94%

Build:
DEFAULT BRANCH: main
Ran 31 May 2026 11:55AM UTC
Jobs 1
Files 1
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 May 2026 11:53AM UTC coverage: 95.179% (+0.05%) from 95.126%
26711868004

push

github

cjennings
feat: add org-drill-treat-headline-as-card-p for empty-bodied cards

A drill entry with an empty body is skipped unless its card type opts into empty bodies via the DRILL-EMPTY-P slot of org-drill-card-type-alist. That left no global way to drill headline-only items, or hierarchical-notes decks where the heading is the question and the answer lives in child entries (upstream #30, #41).

I added org-drill-treat-headline-as-card-p, default nil so existing decks are unchanged. When it's on, the empty-skip gate in org-drill--entry-empty-and-not-empty-friendly-p short-circuits, so every empty-bodied entry is drilled with its heading as the question regardless of card type. I added the safe-local-variable booleanp declaration alongside the other booleans and documented the switch in org-drill.org.

Tests pin the predicate and the classify-status outcome both on and off, and confirm the per-card-type DRILL-EMPTY-P path stays independent of the new switch.

2 of 2 new or added lines in 1 file covered. (100.0%)

1856 of 1950 relevant lines covered (95.18%)

27.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26711868004.1 31 May 2026 11:55AM UTC 1
95.18
GitHub Action Run
Source Files on build 26711868004
  • Tree
  • List 1
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26711868004
  • bafa281b on github
  • Prev Build on main (#26710880345)
  • Next Build on main (#26713211389)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc