aboutsummaryrefslogtreecommitdiff
path: root/todo.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-12 10:49:39 -0500
committerCraig Jennings <c@cjennings.net>2026-06-12 10:49:39 -0500
commit2032c13811a9d5f39301085ca70f476ca6813529 (patch)
tree5ed64f2faffba1d49ddc3cc0f12f4774635385b0 /todo.org
parent27453b4faa9dcd6a672dabd06b2a1fb300fedeef (diff)
downloaddotemacs-2032c13811a9d5f39301085ca70f476ca6813529.tar.gz
dotemacs-2032c13811a9d5f39301085ca70f476ca6813529.zip
fix(org-drill): route drill-refile targets through the validated helper
The prior fix listed drill files with a raw directory-files call, bypassing cj/--drill-files-or-error, the shared validated entry point the other drill commands use. That skipped the missing/unreadable-dir user-error, fell through silently on an empty dir, and included leading-dot .org files the module otherwise excludes. Route through cj/--drill-files-or-error + expand-file-name, keeping the let binding so the session-wide org-refile-targets still survives. The test is rewritten into three: validated-helper targets, no global clobber, and a user-error on a missing drill dir.
Diffstat (limited to 'todo.org')
-rw-r--r--todo.org2
1 files changed, 2 insertions, 0 deletions
diff --git a/todo.org b/todo.org
index 7516a8c0a..bf9710944 100644
--- a/todo.org
+++ b/todo.org
@@ -818,6 +818,8 @@ From the 2026-06 config audit, =modules/calendar-sync.el=:
CLOSED: [2026-06-12 Fri]
Fixed in =modules/org-drill-config.el=: =cj/drill-refile= now =let=-binds =org-refile-targets= (the session-wide value survives) and supplies =(directory-files drill-dir t "\\.org$")= as the file list instead of the bound =drill-dir= symbol (org reads a bound symbol as a directory string, which yielded nothing). Rewrote the stale test (it asserted the buggy =(assoc 'drill-dir ...)=) into two: targets are a real .org file list, and the global is not clobbered. Both red before, green after. Live-reloaded into the daemon.
+Follow-up 2026-06-12 (Codex review): the first fix reinvented file-listing with a raw =directory-files= call, bypassing the shared validated entry point =cj/--drill-files-or-error= — no missing/unreadable-dir =user-error=, silent fall-through on an empty dir, and it included leading-dot =.org= files the rest of the module excludes. Re-routed through =cj/--drill-files-or-error= + =expand-file-name=; the test was rewritten into three (validated-helper targets, no global clobber, =user-error= on a missing dir).
+
** TODO [#B] ERC: double mention notifications + tautological server list :bug:quick:solo:
From the 2026-06 config audit, =modules/erc-config.el=:
- =:281= — =erc-modules= includes the built-in =notifications= module AND :config adds =cj/erc-notify-on-mention= to the same hook — every mention fires two desktop notifications. Pick one path (keep the custom one, slated for messenger unification).