Move :config to :custom for org package
This commit is contained in:
parent
4fad03e5cb
commit
e02d346ff5
1 changed files with 57 additions and 58 deletions
|
@ -142,73 +142,72 @@
|
|||
(use-package org
|
||||
:init
|
||||
(org-babel-lob-ingest "~/.emacs.d/library-of-babel.org")
|
||||
:custom
|
||||
(org-adapt-indentation t)
|
||||
(org-agenda-dim-blocked-tasks nil)
|
||||
(org-agenda-inhibit-startup nil)
|
||||
(org-agenda-span 14)
|
||||
(org-agenda-start-on-weekday nil)
|
||||
(org-agenda-include-diary t)
|
||||
(org-babel-shell-names (quote
|
||||
("sh" "bash" "csh" "ash" "dash" "ksh" "mksh" "posh")))
|
||||
(org-capture-templates (quote
|
||||
(("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 %?")
|
||||
("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-clock-out-remove-zero-time-clocks t)
|
||||
(org-clock-persist t)
|
||||
(org-clock-rounding-minutes 30)
|
||||
(org-confirm-babel-evaluate nil)
|
||||
(org-duration-format (quote h:mm))
|
||||
(org-export-with-sub-superscripts nil)
|
||||
(org-export-dispatch-use-expert-ui nil)
|
||||
(org-export-backends (quote
|
||||
(ascii beamer html icalendar latex md odt)))
|
||||
(org-global-properties (quote
|
||||
(("EFFORT_ALL" . "1:00 2:00 3:00 5:00 8:00 13:00"))))
|
||||
(org-html-doctype "html5")
|
||||
(org-html-html5-fancy t)
|
||||
(org-html-htmlize-output-type nil)
|
||||
(org-latex-pdf-process (quote
|
||||
("latexmk -xelatex -shell-escape -quiet -f %f")))
|
||||
(org-latex-compiler "xelatex")
|
||||
(org-latex-listings t)
|
||||
(org-log-done (quote time))
|
||||
(org-refile-targets '((nil :maxlevel . 3)))
|
||||
(org-startup-folded t)
|
||||
(org-startup-truncated nil)
|
||||
(org-src-fontify-natively t)
|
||||
(org-src-tab-acts-natively t)
|
||||
(org-src-window-setup 'other-window)
|
||||
(org-src-lang-modes (quote
|
||||
(("bash" . sh)
|
||||
("elisp" . emacs-lisp)
|
||||
("beamer" . latex)
|
||||
("calc" . fundamental)
|
||||
("dot" . fundamental)
|
||||
("screen" . shell-script)
|
||||
("shell" . sh)
|
||||
("C" . c)
|
||||
("sqlite" . sql)
|
||||
("scheme" . racket)
|
||||
("plantuml" . plantuml))))
|
||||
(org-time-stamp-rounding-minutes '(15 15))
|
||||
(org-todo-keywords (quote
|
||||
((sequence "OPEN" "TODO" "DOING" "|" "DONE"))))
|
||||
(org-use-property-inheritance nil)
|
||||
:config
|
||||
(setq org-src-fontify-natively t
|
||||
org-src-tab-acts-natively t)
|
||||
|
||||
(setq org-agenda-dim-blocked-tasks nil
|
||||
org-agenda-inhibit-startup nil
|
||||
org-agenda-span 14
|
||||
org-agenda-start-on-weekday nil
|
||||
org-agenda-include-diary t
|
||||
org-refile-targets '((nil :maxlevel . 3))
|
||||
org-export-dispatch-use-expert-ui nil)
|
||||
|
||||
(setq org-clock-out-remove-zero-time-clocks t
|
||||
org-clock-persist t
|
||||
org-clock-rounding-minutes 30
|
||||
org-time-stamp-rounding-minutes '(15 15))
|
||||
|
||||
(setq org-html-doctype "html5"
|
||||
org-html-html5-fancy t
|
||||
org-html-htmlize-output-type nil)
|
||||
|
||||
(setq org-latex-pdf-process (quote ("latexmk -xelatex -shell-escape -quiet -f %f"))
|
||||
org-latex-compiler "xelatex"
|
||||
org-latex-listings t)
|
||||
|
||||
(setq org-babel-shell-names (quote ("sh" "bash" "csh" "ash" "dash" "ksh" "mksh" "posh"))
|
||||
org-adapt-indentation t
|
||||
org-confirm-babel-evaluate nil
|
||||
org-log-done (quote time)
|
||||
org-startup-folded t
|
||||
org-startup-truncated nil
|
||||
org-global-properties (quote (("EFFORT_ALL" . "1:00 2:00 3:00 5:00 8:00 13:00")))
|
||||
org-todo-keywords (quote ((sequence "OPEN" "TODO" "DOING" "|" "DONE")))
|
||||
org-export-backends (quote (ascii beamer html icalendar latex md odt confluence))
|
||||
org-duration-format (quote h:mm)
|
||||
org-src-window-setup 'other-window
|
||||
org-src-lang-modes (quote
|
||||
(("bash" . sh)
|
||||
("elisp" . emacs-lisp)
|
||||
("beamer" . latex)
|
||||
("calc" . fundamental)
|
||||
("dot" . fundamental)
|
||||
("screen" . shell-script)
|
||||
("shell" . sh)
|
||||
("C" . c)
|
||||
("sqlite" . sql)
|
||||
("scheme" . racket)
|
||||
("plantuml" . plantuml)))
|
||||
org-use-property-inheritance nil
|
||||
org-export-with-sub-superscripts nil
|
||||
org-capture-templates (quote
|
||||
(("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 %?")
|
||||
("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-load-languages (quote
|
||||
(
|
||||
(emacs-lisp . t)
|
||||
((emacs-lisp . t)
|
||||
(js . t)
|
||||
(lisp . t)
|
||||
(python . t)
|
||||
(sqlite . t)
|
||||
(shell . t)
|
||||
(plantuml . t)
|
||||
(http . t)
|
||||
))))
|
||||
(http . t)))))
|
||||
|
||||
(use-package helpful
|
||||
:commands (helpful-callable helpful-variable helpful-command helpful-key)
|
||||
|
|
Loading…
Add table
Reference in a new issue