More emacs, spacemacs, and mu4e stuff
parent
ec03e76843
commit
a5041f006d
@ -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
|
Loading…
Reference in New Issue