diff -ruN mutt-1.5.9.orig/Muttrc.head.in mutt-1.5.9/Muttrc.head.in --- mutt-1.5.9.orig/Muttrc.head.in 2002-01-24 13:10:47.000000000 +0100 +++ mutt-1.5.9/Muttrc.head.in 2005-04-10 13:54:02.000000000 +0200 @@ -6,6 +6,41 @@ # ignore "from " received content- mime-version status x-status message-id ignore sender references return-path lines +ignore date delivered-to precedence errors-to in-reply-to user-agent +ignore x-loop x-sender x-mailer x-msmail-priority x-mimeole x-ms- x-priority +ignore x-accept-language x-authentication-warning thread- priority importance +ignore x-original-to domainkey-signature + +# emacs-like bindings +bind editor "\e" kill-word +bind editor "\e" kill-word + +# map delete-char to a sane value +bind editor delete-char + +# some people actually like these settings +#set pager_stop +#bind pager previous-line +#bind pager next-line + +# restore the behaviour of mutt versions up to 1.5.7 +set menu_move_off + +# don't add the hostname to the From header +unset use_domain +# don't generate a From header +unset use_from + +# Specifies how to sort messages in the index menu. +set sort=threads + +# Exim does not remove Bcc headers +unset write_bcc +# Postfix and qmail use Delivered-To for detecting loops +unset bounce_delivered + +# weed out binary-only announcements to -devel-changes +#macro index \CW T!~s\(.*source.*\)\nWn^T~A\n "Weed out binary-only announcements" # imitate the old search-body function macro index \eb '/~b ' 'search in message bodies' @@ -15,9 +50,17 @@ macro pager \cb |urlview\n 'call urlview to extract URLs out of a message' # Show documentation when pressing F1 -macro generic "!less @docdir@/manual.txt\n" "Show Mutt documentation" -macro index "!less @docdir@/manual.txt\n" "Show Mutt documentation" -macro pager "!less @docdir@/manual.txt\n" "Show Mutt documentation" +macro generic "!zcat @docdir@/mutt/manual.txt.gz | sensible-pager\n" "Show Mutt documentation" +macro index "!zcat @docdir@/mutt/manual.txt.gz | sensible-pager\n" "Show Mutt documentation" +macro pager "!zcat @docdir@/mutt/manual.txt.gz | sensible-pager\n" "Show Mutt documentation" + +# Use folders which match on \\.gz$ or \\.bz2$ as [gb]zipped folders: +open-hook \\.gz$ "gzip -cd %f > %t" +close-hook \\.gz$ "gzip -c %t > %f" +append-hook \\.gz$ "gzip -c %t >> %f" +open-hook \\.bz2$ "bzip2 -cd %f > %t" +close-hook \\.bz2$ "bzip2 -c %t > %f" +append-hook \\.bz2$ "bzip2 -c %t >> %f" # If Mutt is unable to determine your site's domain name correctly, you can # set the default here. @@ -28,7 +71,22 @@ # # set use_8bitmime -## -## More settings -## +# colors +color normal white black +color attachment brightyellow black +color hdrdefault cyan black +color indicator black cyan +color markers brightred black +color quoted green black +color signature cyan black +color status brightgreen blue +color tilde blue black +color tree red black +#color header brightgreen black ^From: +#color header brightcyan black ^To: +#color header brightcyan black ^Reply-To: +#color header brightcyan black ^Cc: +#color header brightblue black ^Subject: +#color body brightred black [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ +#color body brightblue black (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+