emacs: mu4e config.
This commit is contained in:
		
							parent
							
								
									488fb9a232
								
							
						
					
					
						commit
						0519a45da2
					
				
							
								
								
									
										25
									
								
								spacemacs
									
									
									
									
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										25
									
								
								spacemacs
									
									
									
									
									
								
							@ -160,6 +160,30 @@ before layers configuration."
 | 
				
			|||||||
  ;; User initialization goes here
 | 
					  ;; User initialization goes here
 | 
				
			||||||
  (setq twelf-root "/home/gebner/twelf/")
 | 
					  (setq twelf-root "/home/gebner/twelf/")
 | 
				
			||||||
  (load (concat twelf-root "emacs/twelf-init.el"))
 | 
					  (load (concat twelf-root "emacs/twelf-init.el"))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  (setq load-path (append load-path '("/var/run/current-system/sw/share/emacs/site-lisp/mu4e")))
 | 
				
			||||||
 | 
					  (require 'mu4e)
 | 
				
			||||||
 | 
					  (setq mu4e-mu-binary "/var/run/current-system/sw/bin/mu")
 | 
				
			||||||
 | 
					  (setq user-full-name "Gabriel Ebner"
 | 
				
			||||||
 | 
					        user-mail-address "gebner@gebner.org")
 | 
				
			||||||
 | 
					  ;; (setq message-send-mail-function 'message-send-mail-with-sendmail
 | 
				
			||||||
 | 
					        ;; sendmail-program "msmtp")
 | 
				
			||||||
 | 
					  (setq message-send-mail-function 'smtpmail-send-it
 | 
				
			||||||
 | 
					        mu4e-sent-messages-behavior 'sent
 | 
				
			||||||
 | 
					        smtpmail-smtp-server "mail.gebner.org"
 | 
				
			||||||
 | 
					        smtpmail-stream-type 'ssl
 | 
				
			||||||
 | 
					        smtpmail-smtp-service 465
 | 
				
			||||||
 | 
					        smtpmail-local-domain "gebner.org")
 | 
				
			||||||
 | 
					  (setq mu4e-get-mail-command "mbsync -a")
 | 
				
			||||||
 | 
					  (setq mu4e-attachment-dir "~/Downloads")
 | 
				
			||||||
 | 
					  (setq mu4e-drafts-folder "/drafts"
 | 
				
			||||||
 | 
					        mu4e-sent-folder   "/sent"
 | 
				
			||||||
 | 
					        mu4e-trash-folder  "/Trash")
 | 
				
			||||||
 | 
					  (setq mu4e-change-filenames-when-moving t)
 | 
				
			||||||
 | 
					  (setq mu4e-view-show-images t)
 | 
				
			||||||
 | 
					  (when (fboundp 'imagemagick-register-types)
 | 
				
			||||||
 | 
					      (imagemagick-register-types))
 | 
				
			||||||
 | 
					  (setq mu4e-html2text-command "elinks -dump")
 | 
				
			||||||
  )
 | 
					  )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(defun dotspacemacs/config ()
 | 
					(defun dotspacemacs/config ()
 | 
				
			||||||
@ -188,6 +212,7 @@ layers configuration."
 | 
				
			|||||||
 '(ahs-idle-interval 0.25)
 | 
					 '(ahs-idle-interval 0.25)
 | 
				
			||||||
 '(ahs-idle-timer 0 t)
 | 
					 '(ahs-idle-timer 0 t)
 | 
				
			||||||
 '(ahs-inhibit-face-list nil)
 | 
					 '(ahs-inhibit-face-list nil)
 | 
				
			||||||
 | 
					 '(paradox-github-token t)
 | 
				
			||||||
 '(preview-default-preamble
 | 
					 '(preview-default-preamble
 | 
				
			||||||
   (quote
 | 
					   (quote
 | 
				
			||||||
    ("\\RequirePackage["
 | 
					    ("\\RequirePackage["
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user