.emacs.d

My Emacs configuration files.
Log | Files | Refs | README

commit 4196e57a8d8c743480e1344c1d51fef2e84d75d1
parent 48e8417e4825658669c9dec34f86eba3ce35ec74
Author: Hugo Soucy <hugo.soucy@toumoro.com>
Date:   Fri, 20 Mar 2020 13:56:59 -0400

Merge branch 'master' of github.com:hs0ucy/.emacs.d

Diffstat:
Mpartials/email.el | 66+++++++++++++++++++++++++++++++++---------------------------------
Mpartials/lisp.el | 4+++-
2 files changed, 36 insertions(+), 34 deletions(-)

diff --git a/partials/email.el b/partials/email.el @@ -5,39 +5,39 @@ (setq user-mail-address "hugo@soucy.cc") ) -;; (use-package mu4e -;; ;; Mail client for Emacs. -;; :ensure t -;; :config -;; (if (not (eq system-type 'darwin)) -;; ;; Using Maildir if not on Mac OS X -;; (setq mu4e-maildir (expand-file-name "~/Maildir")) -;; ;; else use .Mail -;; (setq mu4e-maildir (expand-file-name "~/.Mail"))) +(use-package mu4e + ;; Mail client for Emacs. + :ensure t + :config + (if (not (eq system-type 'darwin)) + ;; Using Maildir if not on Mac OS X + (setq mu4e-maildir (expand-file-name "~/Maildir")) + ;; else use .Mail + (setq mu4e-maildir (expand-file-name "~/.Mail"))) -;; (setq mu4e-sent-folder "/Sent") -;; (setq mu4e-drafts-folder "/Drafts") -;; (setq mu4e-trash-folder "/Trash") + (setq mu4e-sent-folder "/Sent") + (setq mu4e-drafts-folder "/Drafts") + (setq mu4e-trash-folder "/Trash") -;; (if (not (eq system-type 'darwin)) -;; ;; command used to get mail -;; ;; use this to sync with mbsync -;; (setq mu4e-get-mail-command "mbsync hscc") -;; ;; else offlineimap -;; (setq mu4e-get-mail-command "offlineimap hscc") -;; ) -;; ;; use this for testing -;; ;; (setq mu4e-get-mail-command "true") + (if (not (eq system-type 'darwin)) + ;; command used to get mail + ;; use this to sync with mbsync + (setq mu4e-get-mail-command "mbsync hscc") + ;; else offlineimap + (setq mu4e-get-mail-command "offlineimap hscc") + ) + ;; use this for testing + ;; (setq mu4e-get-mail-command "true") -;; ;; rename files when moving -;; ;; NEEDED FOR MBSYNC -;; (setq mu4e-change-filenames-when-moving t) -;; ;; Send mail -;; ;; tell message-mode how to send mail -;; (setq message-send-mail-function 'smtpmail-send-it) -;; ;; if our mail server lives at smtp.example.org; if you have a local -;; ;; mail-server, simply use 'localhost' here. -;; (setq smtpmail-smtp-server "mail.gandi.net") -;; (setq smtpmail-smtp-user "hugo@soucy.cc") -;; (setq smtpmail-debug-info t) -;; ) + ;; rename files when moving + ;; NEEDED FOR MBSYNC + (setq mu4e-change-filenames-when-moving t) + ;; Send mail + ;; tell message-mode how to send mail + (setq message-send-mail-function 'smtpmail-send-it) + ;; if our mail server lives at smtp.example.org; if you have a local + ;; mail-server, simply use 'localhost' here. + (setq smtpmail-smtp-server "mail.gandi.net") + (setq smtpmail-smtp-user "hugo@soucy.cc") + (setq smtpmail-debug-info t) + ) diff --git a/partials/lisp.el b/partials/lisp.el @@ -15,4 +15,6 @@ (use-package racket-mode ;; Major mode for Racket language. :ensure t - :pin melpa) + :pin melpa + :config + (setq racket-program "/usr/local/bin/racket"))