X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=emacs_el%2Fconfiguration%2Forg-mode-configuration.el;h=6b942a8fdf31dd104ca2377f500214884c409745;hb=0e30697e213aabd31948d7576934c54324162432;hp=356c99f3bb7adf927fad574ba22513dc16898427;hpb=9b0f0049bd11961b5de8210b50a6ee3d81943c77;p=lib.git diff --git a/emacs_el/configuration/org-mode-configuration.el b/emacs_el/configuration/org-mode-configuration.el index 356c99f..6b942a8 100644 --- a/emacs_el/configuration/org-mode-configuration.el +++ b/emacs_el/configuration/org-mode-configuration.el @@ -106,6 +106,7 @@ "~/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")) @@ -470,7 +471,12 @@ Maildir, or by Message-ID." (org-export-backend-name backend) nil) ,@body)) +(defun my/fix-inline-images () + (when org-inline-image-overlays + (org-redisplay-inline-images))) +(add-hook 'org-babel-after-execute-hook + 'my/fix-inline-images) ;; ;; org latex ;; ;; stolen from http://kieranhealy.org/esk/kjhealy.html @@ -556,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 @@ -835,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 @@ -855,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)