Use setopt for Org settings
Also restructure settings minimally.
This commit is contained in:
parent
99f89be39c
commit
4d23f4a9a4
17
init.el
17
init.el
@ -737,7 +737,7 @@ split horizontally again, but this extra work should not matter much."
|
||||
org-entry-get)
|
||||
:commands (org-return)
|
||||
:init (progn
|
||||
(setq org-deadline-warning-days 14
|
||||
(setopt org-deadline-warning-days 14
|
||||
org-read-date-popup-calendar t
|
||||
org-insert-heading-respect-content t
|
||||
org-adapt-indentation nil
|
||||
@ -754,6 +754,9 @@ split horizontally again, but this extra work should not matter much."
|
||||
org-log-done 'note
|
||||
org-clone-delete-id t
|
||||
org-fold-catch-invisible-edits 'show-and-error
|
||||
org-fold-show-context-detail '((default . lineage)) ; reveal more context by
|
||||
; default, to avoid
|
||||
; incompletly revealed items
|
||||
org-M-RET-may-split-line '((default . nil))
|
||||
org-highlight-latex-and-related '(latex)
|
||||
org-use-sub-superscripts '{}
|
||||
@ -791,7 +794,7 @@ split horizontally again, but this extra work should not matter much."
|
||||
|
||||
;; Keywords and Tags
|
||||
|
||||
(setq org-todo-keywords
|
||||
(setopt org-todo-keywords
|
||||
'((sequence "TODO(t@)" "CONT(n!)" "REFINE(f!)" "|" "DONE(d@)" "CANC(c@)" "MRGD(m@)")
|
||||
(sequence "GOTO(g@)" "ATTN(a!)" "|" "DONE(d@)")
|
||||
(sequence "READ(r@)" "CONT(n!)" "|" "DONE(d@)")
|
||||
@ -855,7 +858,7 @@ split horizontally again, but this extra work should not matter much."
|
||||
|
||||
;; Refiling
|
||||
|
||||
(setq org-refile-targets '((org-agenda-files . (:maxlevel . 9))
|
||||
(setopt org-refile-targets '((org-agenda-files . (:maxlevel . 9))
|
||||
(nil . (:maxlevel . 9))
|
||||
(db/org-default-notes-file . (:maxlevel . 9)))
|
||||
org-refile-use-outline-path 'buffer-name
|
||||
@ -867,13 +870,9 @@ split horizontally again, but this extra work should not matter much."
|
||||
|
||||
;; Babel
|
||||
|
||||
(setq org-babel-load-languages '((shell . t)
|
||||
(setopt org-babel-load-languages '((shell . t)
|
||||
(emacs-lisp . t)
|
||||
(sql . t)))
|
||||
|
||||
;; Show more context when revealing locations, to avoid incompletly revealed items.
|
||||
|
||||
(setopt org-fold-show-context-detail '((default . lineage))))
|
||||
(sql . t))))
|
||||
|
||||
:config (progn
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user