Move :config to :custom for org package

This commit is contained in:
Marcus Kammer 2021-06-07 18:49:35 +02:00
parent 4fad03e5cb
commit e02d346ff5

View file

@ -142,43 +142,46 @@
(use-package org (use-package org
:init :init
(org-babel-lob-ingest "~/.emacs.d/library-of-babel.org") (org-babel-lob-ingest "~/.emacs.d/library-of-babel.org")
:config :custom
(setq org-src-fontify-natively t (org-adapt-indentation t)
org-src-tab-acts-natively t) (org-agenda-dim-blocked-tasks nil)
(org-agenda-inhibit-startup nil)
(setq org-agenda-dim-blocked-tasks nil (org-agenda-span 14)
org-agenda-inhibit-startup nil (org-agenda-start-on-weekday nil)
org-agenda-span 14 (org-agenda-include-diary t)
org-agenda-start-on-weekday nil (org-babel-shell-names (quote
org-agenda-include-diary t ("sh" "bash" "csh" "ash" "dash" "ksh" "mksh" "posh")))
org-refile-targets '((nil :maxlevel . 3)) (org-capture-templates (quote
org-export-dispatch-use-expert-ui nil) (("t" "Task" entry (file+headline "tasks.org" "Tasks") "* OPEN %?\n\s %u\n\s %a")
("j" "Journal" entry (file+headline "journal.org" "Journal") "* %<%Y-%m-%d %H:%M:%S %p %Z>\n\s %?")
(setq org-clock-out-remove-zero-time-clocks t ("a" "Appointment today" entry (file+headline "appointments.org" "Appointments") "* %?\n\s %T\n")
org-clock-persist t ("A" "Appointment" entry (file+headline "appointments.org" "Appointments") "* %?\n\s %u\n\s"))))
org-clock-rounding-minutes 30 (org-clock-out-remove-zero-time-clocks t)
org-time-stamp-rounding-minutes '(15 15)) (org-clock-persist t)
(org-clock-rounding-minutes 30)
(setq org-html-doctype "html5" (org-confirm-babel-evaluate nil)
org-html-html5-fancy t (org-duration-format (quote h:mm))
org-html-htmlize-output-type nil) (org-export-with-sub-superscripts nil)
(org-export-dispatch-use-expert-ui nil)
(setq org-latex-pdf-process (quote ("latexmk -xelatex -shell-escape -quiet -f %f")) (org-export-backends (quote
org-latex-compiler "xelatex" (ascii beamer html icalendar latex md odt)))
org-latex-listings t) (org-global-properties (quote
(("EFFORT_ALL" . "1:00 2:00 3:00 5:00 8:00 13:00"))))
(setq org-babel-shell-names (quote ("sh" "bash" "csh" "ash" "dash" "ksh" "mksh" "posh")) (org-html-doctype "html5")
org-adapt-indentation t (org-html-html5-fancy t)
org-confirm-babel-evaluate nil (org-html-htmlize-output-type nil)
org-log-done (quote time) (org-latex-pdf-process (quote
org-startup-folded t ("latexmk -xelatex -shell-escape -quiet -f %f")))
org-startup-truncated nil (org-latex-compiler "xelatex")
org-global-properties (quote (("EFFORT_ALL" . "1:00 2:00 3:00 5:00 8:00 13:00"))) (org-latex-listings t)
org-todo-keywords (quote ((sequence "OPEN" "TODO" "DOING" "|" "DONE"))) (org-log-done (quote time))
org-export-backends (quote (ascii beamer html icalendar latex md odt confluence)) (org-refile-targets '((nil :maxlevel . 3)))
org-duration-format (quote h:mm) (org-startup-folded t)
org-src-window-setup 'other-window (org-startup-truncated nil)
org-src-lang-modes (quote (org-src-fontify-natively t)
(org-src-tab-acts-natively t)
(org-src-window-setup 'other-window)
(org-src-lang-modes (quote
(("bash" . sh) (("bash" . sh)
("elisp" . emacs-lisp) ("elisp" . emacs-lisp)
("beamer" . latex) ("beamer" . latex)
@ -189,26 +192,22 @@
("C" . c) ("C" . c)
("sqlite" . sql) ("sqlite" . sql)
("scheme" . racket) ("scheme" . racket)
("plantuml" . plantuml))) ("plantuml" . plantuml))))
org-use-property-inheritance nil (org-time-stamp-rounding-minutes '(15 15))
org-export-with-sub-superscripts nil (org-todo-keywords (quote
org-capture-templates (quote ((sequence "OPEN" "TODO" "DOING" "|" "DONE"))))
(("t" "Task" entry (file+headline "tasks.org" "Tasks") "* OPEN %?\n\s %u\n\s %a") (org-use-property-inheritance nil)
("j" "Journal" entry (file+headline "journal.org" "Journal") "* %<%Y-%m-%d %H:%M:%S %p %Z>\n\s %?") :config
("a" "Appointment today" entry (file+headline "appointments.org" "Appointments") "* %?\n\s %T\n")
("A" "Appointment" entry (file+headline "appointments.org" "Appointments") "* %?\n\s %u\n\s"))))
(org-babel-do-load-languages (org-babel-do-load-languages
'org-babel-load-languages (quote 'org-babel-load-languages (quote
( ((emacs-lisp . t)
(emacs-lisp . t)
(js . t) (js . t)
(lisp . t) (lisp . t)
(python . t) (python . t)
(sqlite . t) (sqlite . t)
(shell . t) (shell . t)
(plantuml . t) (plantuml . t)
(http . t) (http . t)))))
))))
(use-package helpful (use-package helpful
:commands (helpful-callable helpful-variable helpful-command helpful-key) :commands (helpful-callable helpful-variable helpful-command helpful-key)