more mu4e, some fonts, some misc spacemacs stuff

master
Dustin Swan 10 years ago
parent 97336db31d
commit 60820ed40d

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -40,7 +40,7 @@
;; Default font. `powerline-scale' allows to quickly tweak the mode-line
;; size to make separators look not too crappy.
dotspacemacs-default-font '("Source Code Pro"
:size 13
:size 11
:weight normal
:width normal
:powerline-scale 1.0)
@ -71,7 +71,7 @@
dotspacemacs-fullscreen-use-non-native nil
;; If non nil the frame is maximized when Emacs starts up (Emacs 24.4+ only).
;; Takes effect only if `dotspacemacs-fullscreen-at-startup' is nil.
dotspacemacs-maximized-at-startup nil
dotspacemacs-maximized-at-startup t
;; A value from the range (0..100), in increasing opacity, which describes the
;; transparency level of a frame when it's active or selected. Transparency can
;; be toggled through `toggle-transparency'.
@ -102,14 +102,14 @@
(defun dotspacemacs/init ()
"User initialization for Spacemacs. This function is called at the very
startup."
(setq-default dotspacemacs-default-font '("Source Code Pro"
:size 12
:weight normal
:width normal
:powerline-scale 1.0))
(setq-default git-enable-github-support t)
(defun custom-persp/mail ()
(interactive)
(custom-persp "Mail"
(mu4e)))
)
(defun dotspacemacs/config ()
@ -117,6 +117,7 @@
This function is called at the very end of Spacemacs initialization."
(rainbow-mode)
(setq powerline-default-separator 'nil)
(evil-leader/set-key "Lom" 'custom-persp/mail)
)
;; Custom variables

@ -44,12 +44,13 @@
;; mu4e-html2text-command "html2text -nobs"
;; mu4e-html2text-command "w3m -T text/html"
mu4e-html2text-command 'mu4e-shr2text
mu4e-view-prefer-html 't ;; sorryboutit
mu4e-view-prefer-html t ;; sorryboutit
mu4e-view-show-images t ;; doesn't work with shr2text
message-send-mail-function 'message-send-mail-with-sendmail
message-sendmail-extra-arguments '("--read-envelope-from")
message-sendmail-f-is-evil 't
message-sendmail-f-is-evil t
message-kill-buffer-on-exit t
sendmail-program "/usr/local/bin/msmtp"
;; just Gmail at first
@ -105,6 +106,11 @@
(add-to-list 'mu4e-view-actions '("ViewInBrowser" . mu4e-action-view-in-browser) t)
(add-hook 'mu4e-index-updated-hook
(lambda ()
(shell-command (concat "youve_got_mail "
(number-to-string mu4e-update-interval)))))
;; use imagemagick, if available
(when (fboundp 'imagemagick-register-types)
(imagemagick-register-types))))

@ -22,8 +22,14 @@ which require an initialization must be listed explicitly in the list.")
;; For each package, define a function mu4e/init-<package-mu4e>
;;
;; (defun mu4e/init-my-package ()
;; "Initialize my package"
;; (defun mu4e/init-mu4e-maildirs-extension ()
"Initialize my package"
;; (use-package mu4e-maildirs-extension
;; :config
;; (require 'mu4e-maildirs-extension)
;; (require 'mu4e-multi)
;; (mu4e-maildirs-extension)
;; )
;; )
;;
;; Often the body of an initialize function uses `use-package'

Loading…
Cancel
Save