Commit ac88d71a4e22

Vincent Demeester <vincent@sbr.pm>
2020-03-10 11:26:28
orgmode: small changes
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent c72fffa
Changed files (2)
config/setup-org.el
@@ -71,7 +71,9 @@
         org-blank-before-new-entry '((heading . t)
                                      (plain-list-item . nil))
         org-insert-heading-respect-content t
-        org-yank-adjusted-subtrees t)
+        org-yank-adjusted-subtrees t
+        org-image-actual-width nil
+        org-startup-with-inline-images nil)
   (setcar (nthcdr 4 org-emphasis-regexp-components) 10)
   :bind (("C-c o l" . org-store-link)
          ("C-c o r r" . org-refile))
@@ -429,13 +431,9 @@ Switch projects and subprojects from STARTED back to TODO"
      ;;(ledger . t)
      (latex . t)
      (python . t)
-     ;;(rust . t)
      (shell . t)
-     ;;(typescript . t)
      ))
 
-  (setq org-latex-listings t)
-
   (setq org-list-demote-modify-bullet
         '(("+" . "-") ("-" . "+")))
 
emacs.org
@@ -783,7 +783,8 @@
     mark as done if children are not in complete state (=DONE=, =CANCELLED=, …).
   + I want to add a new blank line whenever I create a new entry *but* I don't want that
     extra new blank line when adding a new list item. =org-blank-before-new-entry= allow
-    to customize that behavior.
+    to customize that behaviour.
+  + I don't want to load inline image at startup ; it slows down for nothing.
 
 /The =ensure org-plus-contrib= is there to make sure I am loading the =org= module from my
 nix configuration and not the built-in =org= module (that might lag in terms of version)/
@@ -845,7 +846,9 @@
         org-blank-before-new-entry '((heading . t)
                                      (plain-list-item . nil))
         org-insert-heading-respect-content t
-        org-yank-adjusted-subtrees t)
+        org-yank-adjusted-subtrees t
+        org-image-actual-width nil
+        org-startup-with-inline-images nil)
   (setcar (nthcdr 4 org-emphasis-regexp-components) 10)
   :bind (("C-c o l" . org-store-link)
          ("C-c o r r" . org-refile))
@@ -3541,13 +3544,9 @@
      ;;(ledger . t)
      (latex . t)
      (python . t)
-     ;;(rust . t)
      (shell . t)
-     ;;(typescript . t)
      ))
 
-  (setq org-latex-listings t)
-
   (setq org-list-demote-modify-bullet
         '(("+" . "-") ("-" . "+")))