Re: mutt tip (was ... Re: Top posting vs Bottom posting)
On Fri, Mar 27, 2009 at 05:48:10AM EDT, Chris Bannister wrote:
> On Mon, Mar 23, 2009 at 06:08:35PM -0400, Chris Jones wrote:
> > What mailer are you referring to? I use mutt and it threads messages
> > reliably, flagging malformed mails that it adds to a thread when it
> You can see what mailer he is using if you put in your .muttrc:
I was asking one of the top-posting advocates to elaborate on "archaic
mail readers" .. written in the 1980s .. I believe he wrote..
I would assume he is not using one himself .. but then who knows..
> -----
> # What headers are displayed
> ignore *
> unignore From Date Subject To Cc User-agent X-Mailer
Something has to set User-agent and/or X-Mailer.. and a quick look at
the list - I keep my headers to a minimum and hit "h" whenever I want to
display them all - gives me over 50% posts that do not have either of
these set.
> # What order the headers are displayed
> unhdr_order *
> hdr_order X-Mailer User-agent From Date To Cc Subject
> ------
>
> and for added spice create a ~/configs/colours file.
> You will need to source the file in your .muttrc, i.e.:
Here's my effort:
# -*- muttrc -*-
#
# Color settings for mutt.
#
# Default color definitions
color normal color250 default
color hdrdefault color136 default
color quoted color244 default
color quoted1 color240 default
color quoted2 color236 default
color quoted3 color244 default
color quoted4 color240 default
color quoted5 color236 default
color signature color254 default
color indicator color231 color233
color error color88 default
color status black color245
color tree color240 default
color tilde black default
color attachment brightyellow default
color markers color240 default
color message color250 default
color search color231 color233
color bold color231 default
# Color definitions when on a mono screen
mono bold bold
mono underline underline
mono indicator reverse
mono error bold
# Colors for message headers
color header color231 default "^(From|Subject):"
color header color231 default ^To:
color header color231 default ^Cc:
mono header bold "^(From|Subject):"
# This is a mess. What happens when a message is flagged twice?
# reset index to medium grey
color index color242 default " "
# regular new messages
color index color145 default "~O | ~N"
# regular 'old' messages
#color index color145 default "~N"
# regular tagged messages
color index color184 default "~T"
# regular flagged messages
color index color185 default "~F"
# messages to myself
color index color221 default "~p"
# messages from myself
color index color221 default "~P"
# big messages - don't see much point for this one
#color index color52 default "~z 32765-"
# deleted messages
color index color160 default "~D"
# Highlights inside the body of a message.
# Attribution lines
color body color208 default "\\* [^<]+ <[^>]+> \\[[^]]+\\]:"
color body color208 default "(^|[^[:alnum:]])on [a-z0-9 ,]+( at [a-z0-9:,. +-]+)? wrote:"
# The TOFU
#color body color231 default "\[\-\-\-\=\|"
color body color231 default "TOFU"
# Highlights inside the body of a message.
# URLs
color body color231 default "(http|https|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
color body color231 default "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
mono body bold "(http|https|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
mono body bold "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
# email addresses
color body color231 default "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
mono body bold "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
# PGP messages
color body color84 default "^gpg: Good signature .*"
color body color250 default "^gpg: "
color body color88 default "^gpg: BAD signature from.*"
mono body bold "^gpg: Good signature"
mono body bold "^gpg: BAD signature from.*"
# Various smilies and the like
color body color220 default "<[Gg]>" # <g>
color body color220 default "<[Bb][Gg]>" # <bg>
color body color220 default " [;:]-*[})>{(<|]" # :-) etc...
# *bold*
color body color231 default "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
mono body bold "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
# _underline_
color body color231 default "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
mono body underline "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
# /italic/ (Sometimes gets directory names)
color body color231 default "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
mono body underline "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
# Border lines.
color body color252 default "( *[-+=#*~_]){6,}"
.. a work in progress if there ever was one.
:-)
Looks something like this:
http://www.geocities.com/fcky1000/fckz/mutt.png
Thanks,
CJ
Reply to: