bind index <Esc>\` previous-unread
bind pager <Esc>\` previous-unread
unset strict_threads
-set editor="vim -c 'set noai' -c 'set ts=8'"
+# tw=78 is for gq and RFC 2822 section 2.1.1.
+set editor="vim -c 'set noai' -c 'set ts=8' -c 'set tw=78'"
set send_charset="us-ascii:iso-2022-jp:utf-8"
set charset="utf-8"
set autoedit
macro index M ":my_hdr X-Priority: 1\n:my_hdr Importance: high\n:set dsn_return=hdrs\n:set dsn_notify=failure,delay,success\n^a" "DSN and Priority-1 classed compose of a new mail message"
macro index m ":unmy_hdr X-Priority Importance\n:unset dsn_return dsn_notify\n^a" "Standard compose of a new mail message"
# quote 'macro' argument to prevent: macro: too many arguments
+# `spamassassin {--report|--revoke}' calls `sa-learn {--spam|--ham}' automatically.
folder-hook "" "macro index S \":unset wait_key\n|spamassassin --report\n:set wait_key\ns=spamo-mutt\n\""
folder-hook "=spam" "macro index S \":unset wait_key\n|spamassassin --report\n:set wait_key\nWN\ct~T\n\""
folder-hook "" "macro pager S \":unset wait_key\n|spamassassin --report\n:set wait_key\ns=spamo-mutt\n\""
# GPG
#####
-source /home/lace/.muttrc-gpg.rc
+source ~/.muttrc-gpg.rc
unset pgp_show_unusable
set pgp_replyencrypt
set pgp_replysignencrypted
color underline brightgreen black
mono header underline ^(From|Subject):
mono quoted bold
+macro index V ":color index black white .*\n:color header black white ^(From|Subject|To|Cc|Bcc|Message-ID):\n:color hdrdefault black white\n:color quoted cyan white\n:color signature brightred white\n:color indicator brightyellow red\n:color error brightred white\n:color status brightyellow blue\n:color tree brightmagenta white # the thread tree in the index menu\n:color tilde brightmagenta white\n:color message brightcyan white\n:color normal black white\n:color attachment brightmagenta white\n:color search black green # how to hilite search patterns in the pager\n:color body brightyellow white '(ftp|http)://[^ ]+' # point out URLs\n:color body black white [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses\n:color underline brightgreen white\n\cl"