]> git.donarmstrong.com Git - lib.git/blobdiff - emacs_el/configuration/don-configuration.org
ignore errors when starting the chrome server
[lib.git] / emacs_el / configuration / don-configuration.org
index 3af43ff679db09f372cb096c3cb84359193aa32b..f3468a8c2ae9cd0c42f70d3108c188a644f0b4ae 100644 (file)
@@ -265,6 +265,7 @@ value, scrolling continues until there is no more output.
     :ensure t
     :bind (("C-c j ," . goto-last-change)
            ("C-c j ." . goto-last-change-reverse))
+    )
 #+END_SRC
 *** Jumping to bookmarks (visible bookmarks, bm)
 #+BEGIN_SRC emacs-lisp
@@ -413,7 +414,7 @@ value, scrolling continues until there is no more output.
 #+BEGIN_SRC emacs-lisp
 
   ;;; stolen from https://github.com/malb/emacs.d/blob/master/malb.org
-  (defun malb/helm-swoop-pr2e-fill ()
+  (defun malb/helm-swoop-pre-fill ()
     (thing-at-point 'symbol))
   (setq malb/helm-swoop-ignore-major-mode '(dired-mode
         paradox-menu-mode doc-view-mode pdf-view-mode
@@ -732,7 +733,8 @@ From http://julien.danjou.info/projects/emacs-packages#rainbow-mode, this colori
 ** GhostText/Atomic Chrome
 #+BEGIN_SRC emacs-lisp
   (use-package atomic-chrome
-    :config (atomic-chrome-start-server)
+    :config
+    (ignore-errors (atomic-chrome-start-server))
     (setq atomic-chrome-buffer-open-style 'full)
     )
 #+END_SRC
@@ -749,6 +751,16 @@ From http://julien.danjou.info/projects/emacs-packages#rainbow-mode, this colori
            ("C-S-c C-S-c" . mc/edit-lines))
     )
 #+END_SRC
+** Web Mode
+#+BEGIN_SRC emacs-lisp
+  (use-package web-mode
+    :config
+    (add-to-list 'auto-mode-alist '("\\.tmpl\\'" . web-mode))
+    (setq web-mode-enable-engine-detection t)
+    (setq web-mode-engines-alist
+          '(("template-toolkit" . "\\.tmpl\\'")))
+    )
+#+END_SRC
 * Org Mode
 ** Use-package and load things
 #+BEGIN_SRC emacs-lisp
@@ -898,7 +910,7 @@ From http://julien.danjou.info/projects/emacs-packages#rainbow-mode, this colori
   (setq org-columns-default-format "%40ITEM(Task) %6Effort{:} %CLOCKSUM %PRIORITY %TODO %13SCHEDULED %13DEADLINE %TAGS")
 
   (setq org-default-notes-file "~/projects/org-notes/notes.org")
-  (setq org-id-link-to-org-use-id t)
+  (setq org-id-link-to-org-use-id 'use-existing)
 #+END_SRC
 ** Capture Templates
 #+BEGIN_SRC emacs-lisp
@@ -1163,11 +1175,11 @@ From http://julien.danjou.info/projects/emacs-packages#rainbow-mode, this colori
   (org-add-link-type "mutt" 'open-mail-in-mutt)
 
   (defun my-org-mode-setup ()
-    (load-library "reftex")
+    (load-library "reftex")
     (and (buffer-file-name)
          (file-exists-p (buffer-file-name))
          (progn
-           (reftex-parse-all)
+           (reftex-parse-all)
            (reftex-set-cite-format
             '((?b . "[[bib:%l][%l-bib]]")
               (?n . "[[notes:%l][%l-notes]]")
@@ -1245,7 +1257,7 @@ From http://julien.danjou.info/projects/emacs-packages#rainbow-mode, this colori
   (setq org-icalendar-timezone "America/Los_Angeles")
   (setq org-icalendar-use-scheduled '(todo-start event-if-todo))
   ;; we already add the id manually
-  ;; (setq org-icalendar-store-UID t)
+  (setq org-icalendar-store-UID t)
 
 #+END_SRC
 ** General Org Babel Configuration