Jelajahi Sumber

Improve Madmutt config

Emmanuel Bouthenot 17 tahun lalu
induk
melakukan
28af03c6c7
2 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 2 1
      .emacs
  2. 1 1
      .madmutt/my-headers

+ 2 - 1
.emacs

@@ -201,10 +201,11 @@
 (add-to-list 'auto-mode-alist '("\\.mutt\\(.*\\)$" . muttrc-mode))
 (add-to-list 'auto-mode-alist '("\\.mutt/conf/\\(.*\\)$" . muttrc-mode))
 (add-to-list 'auto-mode-alist '("\\.muttng/conf/\\(.*\\)$" . muttrc-mode))
+(add-to-list 'auto-mode-alist '("\\.madmutt\\(.*\\)$" . muttrc-mode))
 ;; automtically wrap lines when composing mail
 (add-to-list 'auto-mode-alist '(".mutt/tmp/mutt-" . post-mode))
 (add-to-list 'auto-mode-alist '(".muttng/tmp/muttng-" . post-mode))
-
+(add-to-list 'auto-mode-alist '(".madmutt/tmp/madmutt-" . post-mode))
 ;;-------------------------------------------------------------------
 ;; CMake stuff
 (add-to-list 'auto-mode-alist '("\\.cmake$" . cmake-mode))

+ 1 - 1
.madmutt/my-headers

@@ -9,7 +9,7 @@
 # Mail headers settings for Madmutt.
 #
 
-my_hdr User-Agent: `madmutt -v | head -1`
+my_hdr User-Agent: Madmutt/devel-git (`uname -o`)
 my_hdr X-Operating-System: Debian GNU/`uname -s` `cat /etc/debian_version` (`uname -r | cut -d'.' -f1-3`)
 my_hdr X-GnuPG-KeyID: 414EC36E
 my_hdr X-GPG-Fingerprint: 04DE 2F33 3CEF EF4F 46BF D6EA A475 EA19 414E C36E