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:
parent
bf16ac4d9c
commit
220ad644dd
1 changed files with 8 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 2019.0916.204933
|
;; Version: 2019.1018.111142
|
||||||
;; Package-Requires: (oni-yasnippet org-plus-contrib org-bullets hydra org-wild-notifier)
|
;; 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
|
;; 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
|
(setq org-default-notes-file
|
||||||
(oni-org-expand-to-home "documents/gtd/inbox.org"))
|
(oni-org-expand-to-home "documents/gtd/inbox.org"))
|
||||||
|
|
||||||
(setq org-src-fontify-natively t)
|
(setq org-src-fontify-natively t)
|
||||||
(setq org-return-follows-link t)
|
(setq org-return-follows-link t)
|
||||||
(setq org-fontify-whole-heading-line 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-agenda-skip-function-global #'oni-org-skip-tasks)
|
||||||
(setq org-clock-in-switch-to-state #'oni-org-maybe-change-todo-state)
|
(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 don’t get dangling descriptions
|
||||||
|
;;; when my term is 19 characters long.
|
||||||
|
(setq org-list-description-max-indent 5)
|
||||||
|
|
||||||
(setq org-agenda-custom-commands
|
(setq org-agenda-custom-commands
|
||||||
'(("c" "Today's (Current) tasks" tags "SCHEDULED=\"<today>\"")))
|
'(("c" "Today's (Current) tasks" tags "SCHEDULED=\"<today>\"")))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue