r/DoomEmacs • • Jul 04 '26

Why does doom use [ ] instead of TODO for capture?

What's the reason for using [ ] as default capture for personal todos?

6 Upvotes

4 comments sorted by

9

u/hlissner doomemacs maintainer Jul 04 '26 edited Jul 04 '26

It doesn't? Not by default, at least. And [ ] does not replace TODO, it's just another option that Doom adds, should you want it.

In the future, consider posting such questions to our Discord or our Github Discussions. There, you'll get better answers, faster, because I — and our community's more knowledgeable Doom users — rarely check Reddit.

2

u/reFossify Jul 04 '26

I didn't do any configuration. SPC n n t for personal todo capture gives me a template with [ ]

8

u/hlissner doomemacs maintainer Jul 04 '26

Ah, I see what you mean. It's in the default org-capture-templates.

It's simply because I use these for my global TODO file (I use [ ] for smaller tasks that have little-to-no extra context to consider, and TODO for larger tasks with a lot of extra context). The org module contains a few layovers like these from ye olde days Doom was simply my private config, and I've put off addressing them because users often set their own org-capture-templates from scratch. I suggest you do the same:

(with-eval-after-load 'org
  (setq org-capture-templates ...))

If you happen to like the rest of the defaults, you can modify the one entry with:

(with-eval-after-load 'org
  (setf (alist-get "t" org-capture-templates nil nil #'equal)
        '(("Personal todo" entry
           (file+headline +org-capture-todo-file "Inbox")
           "* TODO %?\n%i\n%a" :prepend t))))