#
# System-wide configuration file for Mutt
#

set quote_regexp="^[ \t]*[a-zA-Z\.]*>"  # Default: "^([ \t]*[>|#:}])+"

set web_browser="mutt-urlhandler '%s'"

#
# Header weeding (conservative version): explicitly ignore any boring header
#

ignore Received Message-ID Status Content- Resent- Precedence References
ignore In-Reply-To Return-Path Return-Receipt-To Mailer X400
ignore Mime-Version Sender Originator
ignore X-Status X-Loop X-Mailing-List X-Listprocessor X-Face
ignore X-Received X-Mailer X-Envelope-To X-Sender X-Attribution

# Usenet headers can occur for Cc-ed messages; they can still be
# recognized by the newsgroups header.
ignore Path Lines NNTP-Posting-Host X-Newsreader X-Submitted-Via

#
# Key bindings
# 

bind editor	delete	delete-char

#
# Color / video attribute definitions. Not too flashy.
#

color	hdrdefault	green		black
color	header		brightyellow	black	"^from:"
mono	header		bold			"^from:"
color	header		brightyellow	black	"^subject:"
mono	header		bold			"^subject:"
color	quoted		green		black
color	signature	brightred	black
color	indicator	brightyellow	red
color	error		brightred	black
mono	error		bold
color	status		brightwhite	blue
color	tree		brightmagenta	black
color	tilde		brightmagenta	black
color	body		brightyellow	black	"(ftp|http|gopher|wais|file)://[^ ]+"
mono	body		bold			"(ftp|http|gopher|wais|file)://[^ ]+"
color	body		brightmagenta	black	"[-a-z_0-9.]+@[-a-z_0-9.]+"
mono	body		bold			"[-a-z_0-9.]+@[-a-z_0-9.]+"
color	body		brightyellow	black	"^Good signature"
mono	body		bold			"^Good signature"
color	body		brightwhite	red	"^Bad signature from.*"
mono	body		bold			"^Bad signature from.*"

#######################################################################
#
# The rest of this file consists of suggestions only. 
# 

#	set hostname=`cat /etc/mailname || /bin/dnsdomainname`
#		# What appears after the '@' in outgoing mail.
#	set hdr_format="%4C %Z %{%b %d} %-19.19L %s"
#	set status_format="---Mutt: %f [%M/%m msgs, %n new, %?t tagged, ?%?p postponed, ?%l bytes]---(%s)%|-"
#	set pgp_replypgp
#	set auto_tag
#
#	#
#	# The autoview features allows you to specify for which MIME types
#	# file mutt should start a viewer by itself.
#	#
#	auto_view text/html application/x-gunzip application/postscript 
#	auto_view image/gif application/x-tar-g application/mac-binhex40
#	
#	# 
#	# Header weeding (radical version): ignore all, except...
#	#
#	
#	ignore *
#	# and select what we do want to see
#	unignore From: To Subject CC BCC Date
#	
#	
#	#
#	# pager
#	#
#	# The builtin pager supports colour, which is nice. However, some of 
#	# its default behaviour can be confusing if one is used to the use of
#	# less(1) as external pager.
#	#
#	
#	bind pager	b	previous-page	# Instead of bounce
#	bind pager	G	bottom		# Previously unbound
#	
#	bind pager	j	next-line	# Instead of next-message
#	bind pager	k	previous-line	# Instead of previous-message
#	set pager_stop
#	
#	
#	#
#	# Other keybindings
#	#
#	
#	bind index	<	previous-page	# like strn's overview
#	bind index	>	next-page
