aboutsummaryrefslogtreecommitdiff
path: root/modules/prog-training.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-10-26 00:16:54 -0500
committerCraig Jennings <c@cjennings.net>2025-10-26 00:16:54 -0500
commitcc871a4ac671864eaa090e84b5425751b0de2980 (patch)
treeccba1690f7e069f624ced3345ca2b215af6a4b34 /modules/prog-training.el
parentf3dfd713f187a24f9fd46fce46dac2aaa89b416f (diff)
downloaddotemacs-cc871a4ac671864eaa090e84b5425751b0de2980.tar.gz
dotemacs-cc871a4ac671864eaa090e84b5425751b0de2980.zip
fix:org-roam: copy completed tasks to dailies on state transitions
Fixed and enhanced the org-roam hook that copies completed tasks to daily notes: - Fixed hook not triggering immediately after Emacs launch by moving it outside the lazy-loaded use-package org-roam :config block and into with-eval-after-load 'org - Changed hook to trigger for ANY org-done-keyword (DONE, CANCELLED, etc.) instead of just "DONE" - Updated hook to only trigger on non-done → done transitions using org-last-state, preventing duplicate copies when changing between done states (e.g., DONE → CANCELLED) - Added docstrings to org-roam helper functions to fix checkdoc linter warnings - Created comprehensive ERT test suite with 10 tests covering: * Hook registration before org-roam loads (lazy-loading fix) * Transitions to done states (nil→DONE, TODO→DONE, IN-PROGRESS→DONE, WAITING→CANCELLED) * Non-triggering cases (done→done, transitions to non-done states)
Diffstat (limited to 'modules/prog-training.el')
0 files changed, 0 insertions, 0 deletions