Compare commits

...

2 Commits

Author SHA1 Message Date
814a10621f
Update Org TODO state also when capturing
Why did I exclude this anyway?
2026-01-01 11:03:51 +01:00
1cd21dfea2
Keep empty clock lines
This is to signify that a task has been worked on, even when only very briefly.
2026-01-01 10:52:42 +01:00

43
init.el
View File

@ -1140,32 +1140,27 @@ accordingly."
(use-package org-clock (use-package org-clock
:commands (org-clock-save) :commands (org-clock-save)
:init (progn :init (progn
(setq org-clock-history-length 35 (setopt org-clock-history-length 35
org-clock-in-resume t org-clock-in-resume t
org-clock-into-drawer t org-clock-into-drawer t
org-clock-idle-time nil org-clock-idle-time nil
org-clock-out-remove-zero-time-clocks t org-clock-out-remove-zero-time-clocks nil
org-clock-out-when-done '("DONE" "CANC" "MRGD" "WAIT" "HOLD") org-clock-out-when-done '("DONE" "CANC" "MRGD" "WAIT" "HOLD")
org-clock-auto-clock-resolution 'when-no-clock-is-running org-clock-auto-clock-resolution 'when-no-clock-is-running
org-clock-mode-line-total 'auto org-clock-mode-line-total 'auto
org-clock-clocked-in-display 'both org-clock-clocked-in-display 'both
org-clock-report-include-clocking-task t org-clock-report-include-clocking-task t
org-clock-in-switch-to-state #'(lambda (_) org-clock-in-switch-to-state #'(lambda (_)
(when (not
(and (boundp 'org-capture-mode)
org-capture-mode))
(cond (cond
((member (org-get-todo-state) ((member (org-get-todo-state) (list "TODO" "READ"))
(list "TODO" "READ"))
"CONT") "CONT")
((member (org-get-todo-state) ((member (org-get-todo-state) (list "GOTO"))
(list "GOTO")) "ATTN")))
"ATTN")))) org-clock-persist t
org-clock-persist t org-clock-persist-file (expand-file-name "org-clock-save.el" emacs-d-userdata)
org-clock-persist-file (expand-file-name "org-clock-save.el" emacs-d-userdata) org-clock-persist-query-resume nil
org-clock-persist-query-resume nil org-clock-ask-before-exiting nil
org-clock-ask-before-exiting nil org-time-stamp-rounding-minutes '(1 1))
org-time-stamp-rounding-minutes '(1 1))
;; On Windows, we don't have dbus to show notifications; default to ;; On Windows, we don't have dbus to show notifications; default to
;; `message' instead ;; `message' instead