View previous topic :: View next topic |
Author |
Message |
_Max_ Apprentice
Joined: 03 Mar 2003 Posts: 264 Location: London, UK
|
Posted: Thu Aug 28, 2003 8:50 pm Post subject: mutt color index question |
|
|
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
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 |
|
|
ozonator Guru
Joined: 11 Jun 2003 Posts: 591 Location: Ontario, Canada
|
Posted: Wed Oct 15, 2003 4:05 am Post subject: |
|
|
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 |
|
|
|
|
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
|
|