Removed unused layer, fixed LaTeX exports, added Notmuch config
gpu layer and Dionysos configs were removed due to being unused. The Notmuch layer was added so I can test this email client, and the LaTeX options were reworked so PDF exports now do not produce errors and Japanese characters are supported.
This commit is contained in:
		
							parent
							
								
									dc71280513
								
							
						
					
					
						commit
						61e1815a69
					
				
							
								
								
									
										35
									
								
								.spacemacs
									
									
									
									
									
								
							
							
						
						
									
										35
									
								
								.spacemacs
									
									
									
									
									
								
							| @ -76,7 +76,6 @@ This function should only modify configuration layer settings." | |||||||
| 				 go-tab-width 2 | 				 go-tab-width 2 | ||||||
|          go-use-golangci-lint t) |          go-use-golangci-lint t) | ||||||
|      gnus |      gnus | ||||||
|      gpu |  | ||||||
|      (helm :variables |      (helm :variables | ||||||
|            helm-no-header t |            helm-no-header t | ||||||
|            helm-use-fuzzy 'source) |            helm-use-fuzzy 'source) | ||||||
| @ -114,6 +113,8 @@ This function should only modify configuration layer settings." | |||||||
|                                          "rust" |                                          "rust" | ||||||
|                                          ("elisp" "emacs-lisp"))) |                                          ("elisp" "emacs-lisp"))) | ||||||
|      nginx |      nginx | ||||||
|  |      (notmuch :variables | ||||||
|  |               notmuch-message-delete-tags '("+deleted" "-inbox" "-unread")) | ||||||
|      (org :variables |      (org :variables | ||||||
|           org-enable-reveal-js-support t |           org-enable-reveal-js-support t | ||||||
|           org-enable-github-support t |           org-enable-github-support t | ||||||
| @ -121,7 +122,11 @@ This function should only modify configuration layer settings." | |||||||
|           org-enable-sticky-header t |           org-enable-sticky-header t | ||||||
|           org-enable-epub-support t |           org-enable-epub-support t | ||||||
|           org-projectile-file "TODOs.org" |           org-projectile-file "TODOs.org" | ||||||
|           org-download-image-dir "~/Pictures/org" |           org-download-image-dir "~/Pictures/org/" | ||||||
|  |           org-enable-org-journal-support t | ||||||
|  |           org-journal-dir "~/org/journal/" | ||||||
|  |           org-journal-file-format "%Y-%m-%d" | ||||||
|  |           org-enable-epub-support t | ||||||
|           org-return-follows-link t) |           org-return-follows-link t) | ||||||
|      pass |      pass | ||||||
|      pdf |      pdf | ||||||
| @ -601,6 +606,7 @@ If you are unsure, try setting them in `dotspacemacs/user-config' first." | |||||||
|   (require 'package) |   (require 'package) | ||||||
|   (require 'ox-latex) |   (require 'ox-latex) | ||||||
|   (require 'ox-publish) |   (require 'ox-publish) | ||||||
|  |   (add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/") t) | ||||||
| 
 | 
 | ||||||
|   (add-hook 'flycheck-mode-hook #'flycheck-rust-setup) |   (add-hook 'flycheck-mode-hook #'flycheck-rust-setup) | ||||||
|   (flyspell-mode 0) |   (flyspell-mode 0) | ||||||
| @ -627,16 +633,10 @@ biefore packages are loaded." | |||||||
|   (spacemacs/set-leader-keys-for-major-mode 'dart-mode |   (spacemacs/set-leader-keys-for-major-mode 'dart-mode | ||||||
|     "o=" 'dart-server-format) |     "o=" 'dart-server-format) | ||||||
| 
 | 
 | ||||||
|  |   ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||||||
|  |                                         ;               Notmuch               ; | ||||||
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||||||
|                                         ;                Media                ; |   (add-hook 'notmuch-hello-mode-hook (lambda () (shell-command "offlineimap"))) | ||||||
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |  | ||||||
| 
 |  | ||||||
|   (setq dionysos-backend 'mpd |  | ||||||
|         dionysos-notify-p t |  | ||||||
|         dionysos-volume-cmd 'pamixer) |  | ||||||
|   (global-set-key (kbd "<s-next>") 'mpd-next) |  | ||||||
|   (global-set-key (kbd "<s-prior>") 'mpd-prev) |  | ||||||
|   (global-set-key (kbd "s-p") 'mpd-pause) |  | ||||||
| 
 | 
 | ||||||
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||||||
|                                         ;                 Misc                ; |                                         ;                 Misc                ; | ||||||
| @ -738,6 +738,7 @@ biefore packages are loaded." | |||||||
|   (global-set-key (kbd "<C-iso-lefttab>") 'evil-open-fold) |   (global-set-key (kbd "<C-iso-lefttab>") 'evil-open-fold) | ||||||
|   (spacemacs/declare-prefix "o" "custom") |   (spacemacs/declare-prefix "o" "custom") | ||||||
|   (spacemacs/declare-prefix "oa" "applications") |   (spacemacs/declare-prefix "oa" "applications") | ||||||
|  |   (spacemacs/declare-prefix "oB" "byte-compile .emacs.d") | ||||||
|   (spacemacs/declare-prefix "oc" "comments") |   (spacemacs/declare-prefix "oc" "comments") | ||||||
|   (spacemacs/declare-prefix "of" "files") |   (spacemacs/declare-prefix "of" "files") | ||||||
|   (spacemacs/declare-prefix "ofb" ".local/bin sources") |   (spacemacs/declare-prefix "ofb" ".local/bin sources") | ||||||
| @ -763,6 +764,7 @@ biefore packages are loaded." | |||||||
|     "oaC"  'calendar |     "oaC"  'calendar | ||||||
|     "oae"  'eww |     "oae"  'eww | ||||||
|     "oaw"  'wttrin |     "oaw"  'wttrin | ||||||
|  |     "oB"   (lambda () (byte-recompile-directory (expand-file-name "~/.emacs.d") 0)) | ||||||
|     "ob"   'fancy-battery-mode |     "ob"   'fancy-battery-mode | ||||||
|     "occ"  'outorg-copy-edits-and-exit |     "occ"  'outorg-copy-edits-and-exit | ||||||
|     "oce"  'outorg-edit-as-org |     "oce"  'outorg-edit-as-org | ||||||
| @ -945,10 +947,7 @@ So a typical ID could look like \"Org-4nd91V40HI\"." | |||||||
|      org-journal-file-format "%Y-%m-%d" |      org-journal-file-format "%Y-%m-%d" | ||||||
|      org-latex-listings 'minted |      org-latex-listings 'minted | ||||||
|      org-reveal-root "file:///home/phundrak/fromGIT/reveal.js" |      org-reveal-root "file:///home/phundrak/fromGIT/reveal.js" | ||||||
|      ;; org-latex-listings t |      org-latex-compiler "xelatex" | ||||||
|      ;; org-latex-packages-alist '(("" "minted" t) |  | ||||||
|      ;;                            ("" "graphicx" t)) |  | ||||||
|      ;; org-plantuml-jar-path "/opt/plantuml/plantuml.jar" |  | ||||||
|      org-latex-pdf-process |      org-latex-pdf-process | ||||||
|      '("xelatex -shell-escape -interaction nonstopmode -output-directory %o %f" |      '("xelatex -shell-escape -interaction nonstopmode -output-directory %o %f" | ||||||
|        "xelatex -shell-escape -interaction nonstopmode -output-directory %o %f") |        "xelatex -shell-escape -interaction nonstopmode -output-directory %o %f") | ||||||
| @ -958,7 +957,6 @@ So a typical ID could look like \"Org-4nd91V40HI\"." | |||||||
|      ;; subscripts and superscripts need {} to work |      ;; subscripts and superscripts need {} to work | ||||||
|      org-use-sub-superscripts (quote {}) |      org-use-sub-superscripts (quote {}) | ||||||
|      org-latex-default-packages-alist '((""         "graphicx"  t) |      org-latex-default-packages-alist '((""         "graphicx"  t) | ||||||
|                                         (""         "minted"    t) |  | ||||||
|                                         (""         "longtable" nil) |                                         (""         "longtable" nil) | ||||||
|                                         (""         "wrapfig"   nil) |                                         (""         "wrapfig"   nil) | ||||||
|                                         (""         "rotating"  nil) |                                         (""         "rotating"  nil) | ||||||
| @ -1006,6 +1004,11 @@ So a typical ID could look like \"Org-4nd91V40HI\"." | |||||||
|                      "langue-phundrak-fr-static" |                      "langue-phundrak-fr-static" | ||||||
|                      "langue-phundrak-fr-pdf")))) |                      "langue-phundrak-fr-pdf")))) | ||||||
| 
 | 
 | ||||||
|  |     (add-to-list 'org-latex-packages-alist '("" "minted")) | ||||||
|  |     (add-to-list 'org-latex-packages-alist '("" "fontspec")) | ||||||
|  |     (add-to-list 'org-latex-packages-alist '("" "fontspec")) | ||||||
|  |     (add-to-list 'org-latex-packages-alist '("" "xeCJK")) | ||||||
|  | 
 | ||||||
|     ;; Shortcuts ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |     ;; Shortcuts ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||||||
|     (with-eval-after-load 'org-agenda |     (with-eval-after-load 'org-agenda | ||||||
|       (require 'org-projectile) |       (require 'org-projectile) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user