Update notmuch config.

This commit is contained in:
Gabriel Ebner 2013-04-29 18:40:37 +02:00
parent f23720e7d4
commit 441baeda38
2 changed files with 10 additions and 14 deletions

@ -5,9 +5,7 @@
(if (fboundp 'slime-setup) (slime-setup))
(setq user-full-name "Gabriel Ebner"
user-mail-address "gebner@2b7e.org"
mail-host-address "mail.2b7e.org")
user-mail-address "gebner@2b7e.org")
(autoload 'run-haskell "inf-haskell"
"Start an inferior haskell buffer." t)

@ -1,9 +1,7 @@
(custom-set-variables
'(mm-text-html-renderer 'w3m)
'(send-mail-function 'sendmail-send-it)
'(sendmail-program "sendmail")
'(message-kill-buffer-on-exit t)
'(notmuch-search-oldest-first nil))
(setq mm-text-html-renderer 'w3m
send-mail-function 'sendmail-send-it
message-kill-buffer-on-exit t
notmuch-search-oldest-first nil)
; swap r and R
(define-key notmuch-show-mode-map "r" 'notmuch-show-reply)
@ -11,12 +9,12 @@
(define-key notmuch-search-mode-map "r" 'notmuch-search-reply-to-thread)
(define-key notmuch-search-mode-map "R" 'notmuch-search-reply-to-thread-sender)
(custom-set-variables '(notmuch-fcc-dirs nil))
(setq notmuch-fcc-dirs nil)
(add-hook 'message-header-setup-hook 'notmuch-bcc-header-setup)
(defun notmuch-bcc-header-setup ()
(message-add-header "Bcc: gebner@gebner.org"))
(custom-set-variables
'(mail-specify-envelope-from t)
'(message-sendmail-envelope-from 'header)
'(mail-envelope-from 'header))
(setq mail-specify-envelope-from t
mail-envelope-from 'header
message-sendmail-f-is-evil nil
message-sendmail-envelope-from 'header)