X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=emacs_el%2Fconfiguration%2Forg-mode-configuration.el;h=bb3ff9c0ea26fef57ae014ca44bba30854b8d237;hb=18edd93e98d2ba86f261b1100b0eaa00be53532b;hp=67c41193d9661c0572e97e640396c222adb023f0;hpb=075c35d82d752c74a9f4fcc661a9807343466474;p=lib.git diff --git a/emacs_el/configuration/org-mode-configuration.el b/emacs_el/configuration/org-mode-configuration.el index 67c4119..bb3ff9c 100644 --- a/emacs_el/configuration/org-mode-configuration.el +++ b/emacs_el/configuration/org-mode-configuration.el @@ -103,7 +103,7 @@ "~/projects/fh/fh.org"))) (setq org-global-properties '(("Effort_ALL 0 0:10 0:30 1:00 2:00 3:00 4:00 5:00 6:00 7:00"))) -(setq org-columns-default-format "%40ITEM(Task) %TAGS %PRIORITY %TODO %13SCHEDULED %13DEADLINE %6Effort{:} %CLOCKSUM") +(setq org-columns-default-format "%40ITEM(Task) %6Effort{:} %CLOCKSUM %PRIORITY %TODO %13SCHEDULED %13DEADLINE %TAGS") (setq org-default-notes-file "~/projects/notes/notes.org") (setq org-capture-templates ;; mail-specific note template, identified by "m" @@ -416,14 +416,17 @@ Maildir, or by Message-ID." ;; org mode ical export (setq org-icalendar-timezone "America/Los_Angeles") (setq org-icalendar-use-scheduled '(todo-start event-if-todo)) -(setq org-icalendar-store-UID t) +;; we already add the id manually +;; (setq org-icalendar-store-UID t) ;; org babel support (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t ) (R . t) - (latex . t))) + (latex . t) + (ditaa . t) + )) ;; org-babel-by-backend (defmacro org-babel-by-backend (&rest body) `(case (if (boundp 'backend) @@ -465,6 +468,18 @@ Maildir, or by Message-ID." ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) +(add-to-list 'org-latex-classes + '("beamer" + "\\documentclass[ignorenonframetext]{beamer} +[NO-DEFAULT-PACKAGES] +[PACKAGES] +[EXTRA]" + ("\\section{%s}" . "\\section*{%s}") + ("\\subsection{%s}" . "\\subsection*{%s}") + ("\\subsubsection{%s}" . "\\subsubsection*{%s}") + ("\\paragraph{%s}" . "\\paragraph*{%s}") + ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) + (add-to-list 'org-latex-classes '("membook" "\\documentclass[11pt,oneside]{memoir}\n" @@ -526,6 +541,9 @@ Maildir, or by Message-ID." (setq ad-return-value contents) ad-do-it)) +;; keep latex logfiles + +(setq org-latex-remove-logfiles nil) ;; helper functions (defun bh/is-project-p ()