On Sun, 06 Sep 2009, Antonio Radici wrote: > On Sun, Sep 06, 2009 at 02:30:09PM +0200, Raphaël Hertzog wrote: > > I tend to mark as read many messages by selecting them all with > > T then ~N and then using ;WN. > > > > During that processe all tagged messages are rightfully changed to have a > > green background color (or whatever color you configured). However when I > > exit mutt and come back, the background color is kept even if the messages > > are no more tagged. > > > > Hi, > can you please send us the muttrc parts where you are defining the colors? > Additionally, are you able to reproduce this with a *minimal* muttrc that > contains only these parts? Is it reproducible without header cache?
It's not reproducible without header cache. As soon as I disable it, the colors are fine again on those messages. Please find attached the fake muttrc with my colors and the header_cache definition that I use. With that .muttrc, I have the problems described. I should note that this applies to all messages which are tagged and are not on the current view, I tag several hundreds of mails every time and they are thus not all listed/displayed in the current index view. Cheers, -- Raphaël Hertzog
set header_cache=~/.mutt_cache # -*- muttrc -*- # # Colour settings for mutt. # # For later spam colors spam "X-Spam-Status: Yes" "90+/SA" spam "X-CRM114-Status: SPAM" "90+/CRM" spam "X-CRM114-Status: UNSURE" "40+/CRM" set spam_separator=", " # Default colour definitions color hdrdefault black cyan color quoted red white color signature brightblack white color indicator brightwhite red color attachment black green color error red white color message blue white color search brightwhite magenta color status brightyellow blue #color tree red white color tree magenta white color normal black white color tilde green white color bold brightyellow white color markers red white # Colour definitions when on a mono screen mono bold bold mono underline underline mono indicator reverse # Colours for items in the reader color header brightwhite cyan "^(From|Subject):" mono header bold "^(From|Subject|X-Junked-Because|X-Virus-hagbard):" # Colours for items in the index color index brightblue white ~N color index brightgreen white "~N (~x rivendell\.ouaza\.com | ~h \"^In-[Rr]eply-[Tt]o: .*rivendell\.ouaza\.com\")" color index red white ~F color index black green ~T color index brightwhite black ~D color index red black ~N~H90 # Spam color index yellow white ~N~H40 # Unsure mono index bold ~N mono index bold ~F mono index bold ~T mono index bold ~D # Highlights inside the body of a message. # URLs color body brightblue white "(http|https|ftp|news|telnet|finger)://[^ \">\t\r\n]*" color body brightblue white "mailto:[-a-z_0-9...@[-a-z_0-9.]+" color body brightblue white "news:[^ \">\t\r\n]*" mono body bold "(http|https|ftp|news|telnet|finger)://[^ \">\t\r\n]*" mono body bold "mailto:[-a-z_0-9...@[-a-z_0-9.]+" mono body bold "news:[^ \">\t\r\n]*" # email addresses color body brightblue white "[-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]+" # Various smilies and the like color body brightgreen white "<[Gg]>" # <g> color body brightgreen white "<[Bb][Gg]>" # <bg> color body brightgreen white " [;:]-*[)>(<|]" # :-) etc... color body brightblue white "(^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$)" # *Bold* text. color body brightblue white "(^|[[:space:]])_[^[:space:]]+_([[:space:]]|$)" # _Underlined_ text. color body brightblue white "(^|[[:space:]])/[^[:space:]]+/([[:space:]]|$)" # /Italic/ text. ##Â OLD # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - # # Color definitions # #color normal white default #color hdrdefault red default #color quoted brightblue default #color signature red default #color indicator brightyellow red #color error brightred default #color status yellow blue #color tree magenta default # the thread tree in the index menu #color tilde magenta default #color message brightcyan default #color markers brightcyan default #color attachment brightmagenta default #color search default green # how to hilite search patterns in the pager #color header brightred default ^(From|Subject): #color body magenta default "(ftp|http)://[^ ]+" # point out URLs #color body magenta default [-a-z_0-9...@[-a-z_0-9.]+ # e-mail addresses #color underline brightgreen default # attributes when using a mono terminal #mono header underline ^(From|Subject): #mono quoted bold #-- couleurs personnelles #color normal black white #color hdrdefault black white #color quoted red white #color signature red white #color indicator brightyellow red #color error brightred black #color status brightyellow blue #color tree green white # the thread tree in the index menu #color tilde green white #color message brightred black #color markers brightcyan white #color attachment cyan white ##color search default green # how to hilite search patterns in the pager # #color header blue white ^(From|Subject): #color body green white "(ftp|http)://[^ ]+" # point out URLs #color body green white [-a-z_0-9...@[-a-z_0-9.]+ # e-mail addresses #color underline green white # ## attributes when using a mono terminal #mono header underline ^(From|Subject): #mono quoted bold

