Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mutt color index question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
_Max_
Apprentice
Apprentice


Joined: 03 Mar 2003
Posts: 264
Location: London, UK

PostPosted: Thu Aug 28, 2003 8:50 pm    Post subject: mutt color index question Reply with quote

Hi,

I would like to set up mutt to show messages from people that request read-notifications in red on white in my index. After looking at the documentation, I thought the following in my .muttrc might do the trick:

Code:

color index red white ~h "Disposition-Notification-To"


("Disposition-Notification-To" seems to be the bit in the header signifying that they are requesting a read-notification)

What I saw in the documentation was
Code:

color index FOREGROUND BACKGROUND PATTERN

and as a pattern that matches EXPR in the header
Code:

~h EXPR


But somehow my interpretation of this seems to be wrong (I did try removing the quotes around my EXPR). Any ideas?

Thanks!
Back to top
View user's profile Send private message
ozonator
Guru
Guru


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Wed Oct 15, 2003 4:05 am    Post subject: Reply with quote

Try putting the ~h inside the quotes, with the pattern, i.e.,

Code:
color index red white "~h Disposition-Notification-To"


Mutt treats those ~ things as part of a pattern (a "pattern operator", actually). Besides, putting it inside the quotes gives 'color' the correct number of arguments. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum