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.