org-checklist.el
has been moved to https://git.sr.ht/~bzg/org-contrib before Org 9.5. So if you are using the latest, you have to get it from there. The code works as is. If you've been loading org-mode/contrib/lisp/
, you can change it pointing to org-contrib/lisp/
and it should all work as it used to.
(use-package org
:load-path ( "~/src/org-mode/lisp"
"~/src/org-contrib/lisp/")
If you just want to reset your checkboxes, you can copy a portion of it and put it in your init.el:
(defun my-org-reset-checkbox-state-maybe ()
"Reset all checkboxes in an entry if the `RESET_CHECK_BOXES' property is set"
(interactive "*")
(if (org-entry-get (point) "RESET_CHECK_BOXES")
(org-reset-checkbox-state-subtree)))
(defun my-org-reset-checkbox-when-done ()
(when (member org-state org-done-keywords) ;; org-state dynamically bound in org.el/org-todo
(my-org-reset-checkbox-state-maybe)))
(add-hook 'org-after-todo-state-change-hook 'my-org-reset-checkbox-when-done)
The original code is GPLv3+.