Emacs: org settings

master
Pierre Neidhardt 2014-09-22 17:03:29 +02:00
parent 213620183f
commit bfa95a5820
1 changed files with 6 additions and 0 deletions

View File

@ -1,9 +1,14 @@
;; Org mode config.
;; Move annoying babel folder. This move does not seem to work properly.
(setq org-babel-temporary-directory (concat emacs-cache-folder "babel"))
;; Disable line splitting on M-RET
(setq org-M-RET-may-split-line '((default)))
(setq org-deadline-warning-days 7)
(setq org-agenda-default-appointment-duration 60)
(setq org-agenda-columns-add-appointments-to-effort-sum t)
(setq org-agenda-files '("~/todo.org"))
(setq org-enforce-todo-dependencies t)
;; Set PDF association in Org-mode (was Evince by default).
@ -17,6 +22,7 @@
(add-hook
'org-mode-hook
(lambda ()
(local-set-key (kbd "C-c C-a") 'org-agenda)
(auto-fill-mode -1)))
(provide 'mode-org)