aboutsummaryrefslogtreecommitdiff
path: root/org-drill.org
Commit message (Collapse)AuthorAgeFilesLines
* feat: add statistics dashboard CSV export and docsCraig Jennings14 days1-0/+56
| | | | | | | | org-drill-statistics-export-csv, bound to e in the dashboard and now implemented, writes three files into a chosen directory honoring the active scope and range: sessions.csv (one row per recorded session), cards.csv (one row per drill card in scope with its scheduling properties and computed status), and daily.csv (per-day reviews, passes, fails, pass percent, and duration). Fields are quoted per RFC 4180 by a small csv-quote helper, since csv-mode isn't a dependency. This is the dashboard's last piece, step 3 of the spec. The row builders for the three views are pure and unit-tested with deterministic fixtures, and csv-quote covers the comma, quote, and newline cases. I documented the dashboard and the export in org-drill.org (a new section with the keymap, the CSV columns, and the settings table) and added a feature bullet to the README. I also removed the now-redundant declare-function forward reference for export-csv. It named this file as the source, so once the real defun landed the byte-compiler counted the function twice and warned.
* feat: add org-drill-treat-headline-as-card-p for empty-bodied cardsCraig Jennings14 days1-0/+4
| | | | | | | | 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.
* Add support for typing in buffer inputphillord2019-01-151-0/+12
|
* New global variable 'org-drill-match'. Now possible to specify a tags/property/eeeickythump2013-03-051-1/+1
| | | | | | | | | | | | | | todo match for a drill session - only entries satisfying that match will be considered. Top level functions now accept match string as an additional optional argument. DRILL_CARD_TYPE is now inherited, i.e. if a drill entry does not specify a card type then the type will be sought further up the tree. cl.el is required on load as well as compilation. Use cl-flet instead of "obsolete" flet. Fixed some documentation typos.
* Changed permissions on some files.eeeickythump2012-09-051-0/+0
|
* Entries in 'org-drill-card-type-alist' can now take a fourth argument, ↵eeeickythump2012-09-051-14/+20
| | | | | | | | | 'drill-empty-p' (boolean). If true, items of this type are not skipped if their bodies are empty. Bugfixes related to cram mode. Cram mode displays a coloured 'C' in the mode line. Sped up testing whether items have empty bodies. Updated documentation.
* - Improved progress bar while collecting due items. It is no longer able to ↵2.3.5eeeickythump2011-07-011-0/+14
| | | | | | | overflow to multiple lines. - Added documentation for 'org-drill-sm5-initial-interval'.
* Renamed documentation file and fixed a few typos.eeeickythump2011-05-211-0/+919