diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-25 19:11:00 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-25 19:11:00 -0500 |
| commit | 1fe3d769d811f55f97f896f58c4998a47445540e (patch) | |
| tree | 6c91be26d0feadce8d09ea88beba563b5e5714df /themes | |
| parent | 12b23c36530ec110223a78e56a0ef043d8c30679 (diff) | |
| download | dotemacs-1fe3d769d811f55f97f896f58c4998a47445540e.tar.gz dotemacs-1fe3d769d811f55f97f896f58c4998a47445540e.zip | |
feat(user-constants): make required-path init failures actionable
cj/verify-or-create-dir and cj/verify-or-create-file caught every creation failure and only messaged it, so a broken environment for a path the config actually needs stayed quiet until some later module failed in a more confusing way. I gave both an optional required flag and routed failures through a shared cj/--report-path-failure: a required failure raises a prominent display-warning, an optional one is still just logged so it never blocks startup.
The initializer now groups its paths by that distinction. Required: the backbone directories (sync, org, roam) and the calendar stubs (gcal/pcal/dcal), since org-agenda-list hangs prompting for those when they're missing. Optional: the secondary dirs and the content files, each populated by its own workflow. I went with a warning rather than a user-error for required failures so a directory hiccup surfaces loudly without aborting init.
Added error-path tests: an optional failure logs and never warns, and a required dir or file failure raises a user-constants warning.
Diffstat (limited to 'themes')
0 files changed, 0 insertions, 0 deletions
