diff options
author | fpi | 2020-09-27 12:12:11 +0200 |
---|---|---|
committer | fpi | 2022-03-17 14:44:37 +0100 |
commit | fe089ffb7e260f0a0f19b7f1da3d5277c5a0dafb (patch) | |
tree | e9e14117cf56db961c30bb6913a72cd667f0b916 | |
parent | Add agenda view to show all non-project tasks (diff) |
Collect org clocking settings under one headline
-rw-r--r-- | emacs-init.org | 41 |
1 files changed, 25 insertions, 16 deletions
diff --git a/emacs-init.org b/emacs-init.org index 767ef7e..d72b954 100644 --- a/emacs-init.org +++ b/emacs-init.org @@ -3319,7 +3319,6 @@ I use a org version with some custom patches. Rather than using something like = (org-ellipsis " ") (org-outline-path-complete-in-steps nil) (org-log-into-drawer "NOTES") - (org-clock-into-drawer "LOGBOOK") (org-tags-column 0) (org-tags-exclude-from-inheritance '( <<org-custom-no-inheritance-tags>> @@ -3400,14 +3399,9 @@ I use a org version with some custom patches. Rather than using something like = (use-package org-id :custom (org-id-link-to-org-use-id 'create-if-interactive-and-no-custom-id) <<org-id-custom>>) -(use-package org-clock - :custom - (org-clock-out-remove-zero-time-clocks t) - (org-clock-persist 'history) - (org-clock-history-length 30) - :init - (org-clock-persistence-insinuate) - ) +#+end_src + +#+begin_src emacs-lisp (use-package org-src :custom (org-src-window-setup 'other-window) @@ -3491,6 +3485,28 @@ Use imagemagick and standalone class for latex preview. (use-package org-num :delight) #+end_src +*** Timekeeping & Clocking +- Remove clocks with zero time. +- Save a clocking history of the list 50 clocked items. +- Clock into the =LOGBOOK= drawer (as opposed to log entries going into ~org-log-into-drawer~) +#+begin_src emacs-lisp +(use-package org-clock + :custom + (org-clock-out-remove-zero-time-clocks t) + (org-clock-persist 'history) + (org-clock-history-length 50) + (org-clock-into-drawer "LOGBOOK") + :init + (org-clock-persistence-insinuate) + ) +#+end_src +**** Durations +#+begin_src emacs-lisp +(use-package org-duration + :after org + :custom + (org-duration-format '(("h" . t) ("min" . t) (special . h:mm)))) +#+end_src *** Task organization Much of my current task workflow is largely inspired by [[http://doc.rix.si/cce/cce-org.html][Ryan Rix's]] and [[http://doc.norang.ca/org-mode.html][Bernt Hansen's]] configs. @@ -4171,13 +4187,6 @@ This function is handy to use in header arguments to create names based on the c (post (or post ""))) (format "%s%s%s" pre (nth 4 (org-heading-components)) post))) #+end_src -*** Durations -#+begin_src emacs-lisp -(use-package org-duration - :after org - :custom - (org-duration-format '(("h" . t) ("min" . t) (special . h:mm)))) -#+end_src *** ox-reveal #+BEGIN_SRC emacs-lisp (use-package ox-reveal |