]> git.donarmstrong.com Git - lib.git/blobdiff - emacs_el/configuration/org-mode-configuration.el
use-package magit
[lib.git] / emacs_el / configuration / org-mode-configuration.el
index eb850a27b3b167ef7988d43632de4b46920b0447..835e23123409cd18b11c072cd2ba1081e4ddd3ce 100644 (file)
              "~/projects/org-notes/uddin.org"
           "~/projects/org-notes/reviews.org"
           "~/projects/org-notes/hpcbio.org"
+          "~/org-mode/from-mobile.org"
              "~/projects/org-notes/fh.org")))
 
 (set-register ?n (cons 'file "~/projects/org-notes/notes.org"))
@@ -408,7 +409,7 @@ Maildir, or by Message-ID."
   "Open a paper pdf by bibtex key"
   (interactive "bibtex key: ")
   (shell-command
-   (format "%s -p evince %s"
+   (format "%s -p evince_annot %s"
        (substitute-in-file-name "$HOME/bin/bibtex_to_paper") bibtexkey)))
 (org-add-link-type "papers-pdf" 'open-research-paper-pdf)
 
@@ -474,10 +475,8 @@ Maildir, or by Message-ID."
   (when org-inline-image-overlays
     (org-redisplay-inline-images)))
 
-(after-loading
- 'org
- (add-hook 'org-babel-after-execute-hook
-           'my/fix-inline-images))
+(add-hook 'org-babel-after-execute-hook
+           'my/fix-inline-images)
 
 ;; ;; org latex
 ;; ;; stolen from http://kieranhealy.org/esk/kjhealy.html
@@ -563,6 +562,9 @@ Maildir, or by Message-ID."
         ("" "longtable" nil)
         ("" "float" )))
 
+;; make equations larger
+(setq org-format-latex-options (plist-put org-format-latex-options :scale 2.0))
+
 (defun org-create-formula--latex-header ()
   "Return LaTeX header appropriate for previewing a LaTeX snippet."
   (let ((info (org-combine-plists (org-export--get-global-options
@@ -842,8 +844,8 @@ Skip project and sub-project tasks, habits, and loose non-project tasks."
 ;; Resume clocking task on clock-in if the clock is open
 (setq org-clock-in-resume t)
 ;; Change tasks to NEXT when clocking in
-;; (setq org-clock-in-switch-to-state 'bh/clock-in-to-next)
-(setq org-clock-in-switch-to-state "NEXT")
+(setq org-clock-in-switch-to-state 'bh/clock-in-to-next)
+;; (setq org-clock-in-switch-to-state "NEXT")
 ;; Separate drawers for clocking and logs
 (setq org-drawers (quote ("PROPERTIES" "LOGBOOK")))
 ;; Save clock data and state changes and notes in the LOGBOOK drawer
@@ -862,6 +864,8 @@ Skip project and sub-project tasks, habits, and loose non-project tasks."
 ;; Include current clocking task in clock reports
 (setq org-clock-report-include-clocking-task t)
 
+;; the cache seems to be broken
+(setq org-element-use-cache nil)
 
 (defvar bh/keep-clock-running nil)