## ========================================================================
## File: $HOME/.muttrc.color.body
## Purpose: Setup file for the Mail program "Mutt"
## Last update: mer oct 3 00:29:03 UTC 2001
## ========================================================================
## Author: Badoual Loïc loic {at} badoual.org
## Availability: This file is available as
## <URL:http://www.customlinux.org/configurations/mutt/>
## ========================================================================
## =============================================================
## COLOR for the BODY (viewed with *internal* pager)
## =============================================================
## From the manual to mutt-1.3:
## Objects that you can colorize:
## attachment, body (regexpr), bold, error, header, hdrdefault,
## index, indicator, markers, message, normal,
## quoted, quoted1, ..., quotedN,
## search, signature, status, tilde, tree, underline.
##
## Color names you can use for "background" and "foreground":
## white black green magenta blue cyan yellow red default colorx
##
## NOTE: Although I'd like to use "default" as the background color,
## it somehow does not work out with "xterm".
## So I changed it to "black" everywhere.
## ==================================================
## COLOR for the BODY - special text parts
## ==================================================
# Show attachments:
color attachment green black
# Quoted text - coloring only the first four levels:
color quoted cyan black # pager body
color quoted1 red black # pager body
color quoted2 cyan black # pager body
color quoted3 yellow black # pager body
# The Signature:
color signature red black # pager body
color tilde blue black # pager body
# Bold and unerlined text:
color bold green black # ..
color underline yellow black #
# How this works: Mutt recognizes sequences with embedded CTRL-H ('^H').
# If this matches one of the following kinds
# then you get to see the text as either "bold text" or "underlined text"
# depending on the capabilities of your terminal.
# bold: "cc" -> "bold 'c'"
# underline: "c_" -> "underlined 'c'"
# On color terminals you will see them with their own color.
## ==================================================
## COLOR for the BODY - special text parts
## ==================================================
color normal white black
color tilde blue black
## ==================================================
## COLOR for the BODY - Internet Addresses
## ==================================================
# URLs (General Internet addresses):
color body cyan black "(finger|ftp|http|news|telnet)://[^ >]*"
color body cyan black "<URL:[^ ]*>"
#
# HTTPS addresses:
color body white blue "https://[^ >]*"
# FTP addresses:
# color body cyan default "ftp://[^ ]*"
color body cyan black "ftp://[^ ]*"
# HTTP addresses:
color body green black "[[:alnum:]][-+.#_[:alnum:]]*@[-+.[:alnum:]]*[[:alnum:]]"
# Mailto links:
# Example: mailto:guckes@gmx.net?subject=mutt
color body brightred black "mailto: *[^ ]+\(\\?subject=[^ ]+\)?"
## ===========================================================
## COLOR for the BODY - Directories, Filenames, and Variables
## ===========================================================
# File names ("/path/file")
color body brightgreen black "\\~?\(/[-_.,a-zA-Z0-9{}]+\)+"
# Example: /usr/src/linux/include/{asm,linux}
# DOS/Windows file names
# c:\vim\vim60e\runtime\syntax\vim.vim
color body brightgreen black "[a-z]:[-_.a-zA-Z0-9\]+"
# Path names ("/path/")
color body brightred black "\(/[-_.a-zA-Z0-9]+\)+/"
# Variables ("$HOME")
color body brightmagenta black "\\$[a-zA-Z][-_a-zA-Z]+"
## ===========================================================
## COLOR for the BODY - Miscellaneous
## ===========================================================
# Attribution line:
color body red black "^[*] .*:$"
#
# Example:
# * Joe Doe <joe.doe@company.com> [000907 18:00]:
# > quoted text
# > quoted text
# > quoted text
#
# See also:
# The Attribution line FAQ:
# http://www.math.fu-berlin.de/~guckes/faq/attribution.html
# Acronyms, Abbreviations, and "SCREAMING IN CAPS"
# color body brightyellow black "[A-Z]+\([ ,]*[A-Z]+\)+"
# color body brightyellow black "[A-Z]{3,}"
# color body brightyellow black "\([A-Z]{3,} *\)+"
# color body brightyellow black "\([-A-Z']{2,}[ ,]*\)+"
# The spaces at start and end are used for use with "-USE_GNU_REGEX":
#
# WARNING! The following RegEx crashes mutt-1.2.x!
# color body brightyellow black " \([-A-Z']{2,}[ ,]*\)+ "
# color body brightyellow black " ([-A-Z]{2,}[ ,]*)+ "
#
# This works ok:
color body brightyellow black "[A-ZÄÖÜ][-A-ZÄÖÜ]+[A-ZÄÖÜ][ !?]"
#
# When you use "+USE_GNU_REGEX" then you can also make use
# of "start of word" ("\<") and "end of word" ("\>"):
# color body brightyellow black "\\<\([-A-Z']{2,}[ ,]*\)+\\>"
#
# "T H I S I S A C O O L T E X T - N O T !"
color body brightyellow black "([A-ZÄÖÜ] {1,3}){3,}"
# Alternatives ("either/or"):
# color body brightwhite black "\\w+/\\w+"
# color body brightwhite black "[-._a-zA-Z0-9]+/[-._a-zA-Z0-9]+"
# color body brightwhite black "([-._a-zA-Z0-9]+/)+[-._a-zA-Z0-9]+"
#
# Kraut Version - with umlauts:
color body brightwhite black "([-._a-zA-Zdv|DV\0-9]+/)+[-._a-zA-Zdv|DV\0-9]+"
# *Emphasized*, /emphasized/, and _emphasized_ words:
color body brightred black "[*/_]+ *[- &[:alnum:]]+ *[*/_]+"
# Smileys: :-) ;-) :-| :-/ :-(
color body yellow black "[;:]-[)/(|]"
# Grinning: "grin" ([g]) and "big grin" ([bg]):
color body blue red "<[Gg]>"
color body blue red "<[Bb][Gg]>"
# Border Lines of length three or more.
# (Several Newsletters use border lines..)
color body green black "[-_=~/\*]{3,}"
#
# Border lines with spaces in between charcaters:
# Allowing for arbitrary space runs in between,
# with a minimum length of four:
color body green black "\( *[-+=#*~_]\){4,}"
# Examples:
# "- - -" "#####" "~~~~~~~" "+-+-+-+-+-+" "* * * *"
# "+ - ~ + === * ~~~" etc
# Extensive use of exclamation and question marks:
# "!!!" "???"
color body red white "[!?]{3,}"
# Percentages ("Save xx.x %!")
color body brightgreen black "[.0-9]+ ?%"
# MONEY! Dollars! "$$$"
# color body green black "$\d\+.\d\+"
color body white red "\\$[0-9]+[.,0-9]*"
#
# Offers in "money per minute" - eg "pf/min"
color body black yellow "[0-9]+[,.][0-9]* *pf/min"
# FAX and TEL Numbers:
# "FAX: (1 123) 4567 890"
# "TEL: +1-123-456-78900"
# "Tel.: 123/456-789"
# "Cell: 123/456-789"
# color body green black "(fax|tel)\.?:? *[+]?[-+0-9/() ]+"
# color body green black "(cell|fax|Fax|FAX|tel|Tel|TEL)[.:]+ *\\+?[-+0-9/()]+"
# color body green black "(cell|fax|tel|)?[.:]+ *[+]*[-+0-9/()]+"
# color body green black "(cell|fax|tel|)?[.:+ ]+[-+0-9/()]+"
color body green black "\\+?[-+0-9/()]+"
#
# Phone Numbers:
# "(123) 4567890"
color body white red "\\([0-9]{3}\\) [-0-9]+"
# "1-234-4567890"
# "1-234 4567890 ext. 123"
color body brightyellow red "1-[0-9]{3}[- ][-0-9]+ +ext.? [0-9]+"
# Toll Free Numbers:
# "1-800-123-456-789"
# "(800) 123-456-789 x123"
# "(800) 123-456-789 ext 123"
color body white red "1-?800[-0-9]+"
color body white red "(1 ?)?\\(800\\) ?[-0-9]+( x[0-9]+)?"
color body white red "(1 ?)?\\(800\\) ?[-0-9]+( ext ?[0-9]+)?"
# ISBNs
# color body white red "[-0-9]{9,12}[0-9X]"
# Dates: "1967/04/06"
color body white red "\(19|20\)?[0-9][0-9]/[01]?[0-9]/[0123]?[0-9]"
# RTFM!
# " man word"
# color body white red '\\"man [^ ]+\\"'
color body white red "^ +man [^ ]+"
# Copyright (C) and
# Registered Trademark (r)
color body brightyellow black "[^ ]+ ?\\([cr]\\)"
# Lists
# * one - one
# * two - two
# * three - three
color body red black "^ *[-*] +"
# IP Host Adresses:
# 192.x.x.x
color body white blue "192.[0-9]{0,3}.[0-9]{0,3}.[0-9]{0,3}"
######################## end of file ######################################