diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-13 15:25:52 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-13 15:25:52 -0500 |
| commit | acff943af4b0d598151db249e82ce2b1666b3d85 (patch) | |
| tree | 29ee1b92cd14bc6d3a14467323d480f32d041fc2 /modules/restclient-config.el | |
| parent | a96bede4e2ae18bf3bbe84190345f453fe4eb6b0 (diff) | |
| download | dotemacs-acff943af4b0d598151db249e82ce2b1666b3d85.tar.gz dotemacs-acff943af4b0d598151db249e82ce2b1666b3d85.zip | |
feat(org-agenda): use project name as todo.org category
The %c column on agenda blocks rendered every project's todo.org as "todo:" -- org defaults the buffer category to the filename without extension, so every entry looked alike. An org-mode-hook now overrides org-category with the parent directory's basename (stripping a single leading dot, so ~/.emacs.d/todo.org reads as "emacs.d") whenever a todo.org file opens and its category is still the filename default. Explicit #+CATEGORY: keywords still win.
14 tests in test-org-agenda-config-category.el cover the helper's normal/boundary/error paths and the hook's override + explicit-category-preserved cases.
Diffstat (limited to 'modules/restclient-config.el')
0 files changed, 0 insertions, 0 deletions
