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 | c3514440eb3de3101576baa5c3c592c0d908f70b (patch) | |
| tree | 6534504d1a90a9c014a09c446f2f384677e80e10 /modules/diff-config.el | |
| parent | e076815895ed452e021ae4c1986eca1f0e67aa41 (diff) | |
| download | dotemacs-c3514440eb3de3101576baa5c3c592c0d908f70b.tar.gz dotemacs-c3514440eb3de3101576baa5c3c592c0d908f70b.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/diff-config.el')
0 files changed, 0 insertions, 0 deletions
