diff options
author | Tom Willemse | 2016-09-18 00:03:31 +0200 |
---|---|---|
committer | Tom Willemse | 2016-09-18 00:03:31 +0200 |
commit | eb95d1e97b6a8a27a81124793ec584f0f9c766a7 (patch) | |
tree | c2e16c41355a1ba9a91cb1622f3119fd0402a3fa /emacs/.emacs.d | |
parent | 6be84a24f416910cba2695a822a9dc73bfe14302 (diff) | |
download | new-dotfiles-eb95d1e97b6a8a27a81124793ec584f0f9c766a7.tar.gz new-dotfiles-eb95d1e97b6a8a27a81124793ec584f0f9c766a7.zip |
Add gmail email account
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r-- | emacs/.emacs.d/init.org | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index afb4dee..00fca2b 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -729,6 +729,30 @@ To start off, first I need to enable lexical binding. '("-a" "picturefix")))))) #+END_SRC +*** gmail + + Add my other personal email as a secondary select method. + + #+BEGIN_SRC emacs-lisp + (with-eval-after-load 'gnus + (add-to-list 'gnus-secondary-select-methods + '(nnmaildir "gmail" + (directory "~/documents/mail/gmail/")))) + #+END_SRC + + When sending mail from the gmail account, use the gmail msmtp + accound and set the proper email address. + + #+BEGIN_SRC emacs-lisp + (with-eval-after-load 'gnus-msg + (add-to-list 'gnus-posting-styles + '("gmail:" + (name "Tom Willemse") + (address "ryuslash@gmail.com") + (eval (setq message-sendmail-extra-arguments + '("-a" "gmail")))))) + #+END_SRC + ** Linewise user-interface This is the library used by Circe and Slack to display messages. |