summaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
Diffstat (limited to '.emacs')
-rw-r--r--.emacs19
1 files changed, 16 insertions, 3 deletions
diff --git a/.emacs b/.emacs
index 532b70b..fbf4b84 100644
--- a/.emacs
+++ b/.emacs
@@ -1,5 +1,8 @@
(set-face-attribute 'default nil :height 80)
+(setq custom-file "~/.emacs.d/custom.el")
+(load custom-file 'noerror)
+
(defun load-identica-mode ()
(when (require 'netrc nil t)
(autoload 'identica-mode "identica-mode" nil t)
@@ -10,6 +13,19 @@
)
)
+(setq send-mail-function 'smtpmail-send-it) ; if you use `mail'
+(setq message-send-mail-function 'smtpmail-send-it) ; if you use message/Gnus
+(setq smtpmail-default-smtp-server "plus.smtp.mail.yahoo.com") ; set before loading library
+(setq smtpmail-local-domain "lukeshu.ath.cx")
+(setq smtpmail-sendto-domain "lukeshu.ath.cx")
+(setq smtpmail-debug-info t) ; only to debug problems
+(setq smtpmail-smtp-service 465)
+(setq smtpmail-auth-credentials ; or use ~/.authinfo
+ '(("plus.smtp.mail.yahoo.com" 465 "lukeshu@sbcglobal.net" "oct30yahoo")))
+(setq smtpmail-starttls-credentials
+ '(("plus.smtp.mail.yahoo.com" 465 nil nil)))
+(load-library "smtpmail")
+
(setq package-archives '(("ELPA" . "http://tromey.com/elpa/")
("marmalade" . "http://marmalade-repo.org/packages/")
("gnu" . "http://elpa.gnu.org/packages/")))
@@ -112,6 +128,3 @@
(setq browse-url-generic-program (executable-find "v-www-browser")
browse-url-browser-function 'browse-url-generic)
-
-(setq custom-file "~/.emacs.d/custom.el")
-(load custom-file 'noerror)