1
0
Fork 0

Set org-list-description-max-indent

It's always bothered me that a description list in org-mode might be
indented quite a bit if the terms aren't long enough. With this change
they'll always indent the same way, using 5 spaces.
This commit is contained in:
Tom Willemse 2019-10-18 11:16:08 -07:00
parent bf16ac4d9c
commit 220ad644dd

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
;; Version: 2019.0916.204933
;; Version: 2019.1018.111142
;; Package-Requires: (oni-yasnippet org-plus-contrib org-bullets hydra org-wild-notifier)
;; This program is free software; you can redistribute it and/or modify
@ -140,6 +140,7 @@ After running it once remove it from `org-capture-after-finalize-hook'."
(setq org-default-notes-file
(oni-org-expand-to-home "documents/gtd/inbox.org"))
(setq org-src-fontify-natively t)
(setq org-return-follows-link t)
(setq org-fontify-whole-heading-line t)
@ -151,6 +152,12 @@ After running it once remove it from `org-capture-after-finalize-hook'."
(setq org-agenda-skip-function-global #'oni-org-skip-tasks)
(setq org-clock-in-switch-to-state #'oni-org-maybe-change-todo-state)
;;; Set the maximum indentation level for description lists to 5 (which is the
;;; seemingly hardcoded value of the indentation it gets when it goes over
;;; org-list-description-max-indent) so that I dont get dangling descriptions
;;; when my term is 19 characters long.
(setq org-list-description-max-indent 5)
(setq org-agenda-custom-commands
'(("c" "Today's (Current) tasks" tags "SCHEDULED=\"<today>\"")))