aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-13 15:25:52 -0500
committerCraig Jennings <c@cjennings.net>2026-05-13 15:25:52 -0500
commit128244f9c8ed80a4a2ff21bcb2660714e990b6c6 (patch)
tree98622df692085b6cf63fc0ad564d6f65cca79dda /init.el
parenta34c66e7fadef895e149c75e6805800177c6cb42 (diff)
downloaddotemacs-128244f9c8ed80a4a2ff21bcb2660714e990b6c6.tar.gz
dotemacs-128244f9c8ed80a4a2ff21bcb2660714e990b6c6.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 'init.el')
0 files changed, 0 insertions, 0 deletions