More emacs, spacemacs, and mu4e stuff

master
Dustin Swan 10 years ago
parent ec03e76843
commit a5041f006d

@ -12,7 +12,7 @@
dotspacemacs-configuration-layer-path '() dotspacemacs-configuration-layer-path '()
;; List of configuration layers to load. If it is the symbol `all' instead ;; List of configuration layers to load. If it is the symbol `all' instead
;; of a list then all discovered layers will be installed. ;; of a list then all discovered layers will be installed.
dotspacemacs-configuration-layers '(perforce git c-c++ haskell html javascript php markdown extra-langs company-mode (colors :variables colors-enable-rainbow-identifiers t) restclient evil-snipe) dotspacemacs-configuration-layers '(perforce git c-c++ haskell html javascript php markdown extra-langs company-mode (colors :variables colors-enable-rainbow-identifiers t) restclient evil-snipe mu4e)
;; A list of packages and/or extensions that will not be install and loaded. ;; A list of packages and/or extensions that will not be install and loaded.
dotspacemacs-excluded-packages '(evil-escape) dotspacemacs-excluded-packages '(evil-escape)
;; If non-nil spacemacs will delete any orphan packages, i.e. packages that ;; If non-nil spacemacs will delete any orphan packages, i.e. packages that

@ -0,0 +1,20 @@
(eval-after-load 'mu4e
'(progn
(setq
mu4e-maildir "~/Mail" ;; top-level Maildir
mu4e-sent-folder "/Gmail/[Gmail].Sent Mail" ;; folder for sent messages
mu4e-drafts-folder "/Gmail/[Gmail].Drafts" ;; unfinished messages
mu4e-trash-folder "/Gmail/[Gmail].Trash" ;; trashed messages
mu4e-refile-folder "/Gmail/[Gmail].Archive" ;; saved messages
mu4e-get-mail-command "offlineimap -q"
mu4e-update-interval 120
)
(setq mu4e-attachment-dir "~/Downloads")
;; enable inline images
(setq mu4e-view-show-images t)
;; use imagemagick, if available
(when (fboundp 'imagemagick-register-types)
(imagemagick-register-types))))

@ -0,0 +1,36 @@
;;; extensions.el --- mu4e Layer extensions File for Spacemacs
;;
;; Copyright (c) 2012-2014 Sylvain Benner
;; Copyright (c) 2014-2015 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(defvar mu4e-pre-extensions
'(
;; pre extension mu4es go here
)
"List of all extensions to load before the packages.")
(defvar mu4e-post-extensions
'(
;; post extension mu4es go here
mu4e
)
"List of all extensions to load after the packages.")
;; For each extension, define a function mu4e/init-<extension-mu4e>
;;
(defun mu4e/init-mu4e ()
"Initialize my extension"
(add-to-list 'load-path "/usr/local/share/emacs/site-lisp/mu4e")
(require 'mu4e)
)
;;
;; Often the body of an initialize function uses `use-package'
;; For more info on `use-package', see readme:
;; https://github.com/jwiegley/use-package

@ -0,0 +1,31 @@
;;; packages.el --- mu4e Layer packages File for Spacemacs
;;
;; Copyright (c) 2012-2014 Sylvain Benner
;; Copyright (c) 2014-2015 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(defvar mu4e-packages
'(
;; package mu4es go here
)
"List of all packages to install and/or initialize. Built-in packages
which require an initialization must be listed explicitly in the list.")
(defvar mu4e-excluded-packages '()
"List of packages to exclude.")
;; For each package, define a function mu4e/init-<package-mu4e>
;;
;; (defun mu4e/init-my-package ()
;; "Initialize my package"
;; )
;;
;; Often the body of an initialize function uses `use-package'
;; For more info on `use-package', see readme:
;; https://github.com/jwiegley/use-package

@ -14,7 +14,6 @@ rm -rf ~/.config/khal; mkdir -p ~/.config/khal; ln -s ~/dotfiles/khal.conf ~/.co
rm -rf ~/.vdirsyncer; mkdir ~/.vdirsyncer; ln -s ~/dotfiles/vdirsyncer/config ~/.vdirsyncer/config rm -rf ~/.vdirsyncer; mkdir ~/.vdirsyncer; ln -s ~/dotfiles/vdirsyncer/config ~/.vdirsyncer/config
rm ~/.zshrc; ln -s ~/dotfiles/zshrc ~/.zshrc rm ~/.zshrc; ln -s ~/dotfiles/zshrc ~/.zshrc
rm ~/.jrnl_config; ln -s ~/dotfiles/jrnl_config ~/.jrnl_config rm ~/.jrnl_config; ln -s ~/dotfiles/jrnl_config ~/.jrnl_config
rm ~/.emacs.d; ln -s ~/dotfiles/emacs.d ~/.emacs.d
rm ~/.gnupg/gpg-agent.conf; ln -s ~/dotfiles/gpg-agent.conf ~/.gnupg/gpg-agent.conf rm ~/.gnupg/gpg-agent.conf; ln -s ~/dotfiles/gpg-agent.conf ~/.gnupg/gpg-agent.conf
# Mail stuff # Mail stuff

Loading…
Cancel
Save