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
commit49d26758b35636e79c2887801fb0113f7da4b575 (patch)
tree5f6911f956b8792c7fea5e23320dd5be52f47d34 /init.el
parent740c34296e9ab16f57be06a2b92eb5f3e7079cbc (diff)
downloaddotemacs-49d26758b35636e79c2887801fb0113f7da4b575.tar.gz
dotemacs-49d26758b35636e79c2887801fb0113f7da4b575.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